public marks

PUBLIC MARKS with tags python & template

2010

For Some Value of "Magic": Templating Systems

by marco
Even with a pure MVC architecture Jinja2's argument-passing enhancements would be an improvement - as Armin says, making the couplings explicit would be a Pythonic thing to do.

2009

Python Template languages (Part 1 — Django)

by marco
As for logic in [Django] templates, well, I do tend to agree with Jacob — I'd rather add a bit of salt now and again than have to worry about too much already being baked in :)

2008

Diva Project – Trac

by greut (via)

Diva is a a lightweight web framework for Python that is built on top of WSGI and integrated with the Genshi template engine. It also uses Babel for internationalization and WebOb for a more convenient abstraction on top of raw HTTP/WSGI.

Yet another Pythonic web framework.

2007

GenshiTutorial - Genshi - Trac

by greut

This tutorial is intended to give an introduction on how to use Genshi in your web application, and present common patterns and best practices.

very interesting template language.

Introducing templatemaker | Holovaty.com

by pvergain
I've just released templatemaker, which is something I've been hacking on and off (mostly off) the past couple of months. It's a Python library for extracting data from similarly formatted text strings. What the heck does that mean? Well, say you want to get the raw data from a bunch of Web pages that use the same template -- like restaurant reviews on Yelp.com, for instance. You can give templatemaker an arbitrary number of HTML files, and it will create the "template" that was used to create those files. ("Template," in this case, means a string with a number of "holes" in it, where the holes represent the parts of the page that change.) Once you've got the template, you can then give it any HTML file that uses that same template, and it will give you the raw data: "The value for hole 1 is 'July 6, 2007', the value for hole 2 is 'blue'," etc.

Kid

by jdrsantos
Kid is a simple template language for XML based vocabularies written in Python. It was spawned as a result of a kinky love triangle between XSLT, TAL, and PHP. We believe many of the best features of these languages live on in Kid with much of the limitat

Genshi - Trac

by jdrsantos
Genshi is a Python library that provides an integrated set of components for parsing, generating, and processing HTML, XML or other textual content for output generation on the web. The major feature is a template language, which is heavily inspired by Ki

Templess - Trac

by pvergain (via)
Templess is an XML templating library for Python, that is very compact and simple, fast, and has a strict seperation of logic and design. It is different from other templating languages because instead of 'asking' for data from the template, you 'tell' the template what content there is to render, and the template just provides placeholders. Instead of calling into your code from the template, all data for the template is prepared in the code before it is handed over to the templating engine to render. This makes Templess very suitable for programmers, since everything is done from the Python code layer rather than using some domain-specific language from the XML.

welcome to Mako!

by pvergain & 1 other
Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance. Mako's syntax and API borrows from the best ideas of many others, including Django templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded Python (i.e. Python Server Page) language, which refines the familiar ideas of componentized layout and inheritance to produce one of the most straightforward and flexible models available, while also maintaining close ties to Python calling and scoping semantics.

2006

Django | Documentation | Template guide

by fredbird (via)
Django's template language is designed to strike a balance between power and ease. It's designed to feel comfortable to those used to working with HTML. If you have any exposure to other text-based template languages, such as Smarty or CheetahTemplate, you should feel right at home with Django's templates. Templates A template is simply a text file. It can generate any text-based format (HTML, XML, CSV, etc.). A template contains variables, which get replaced with values when the template is evaluated, and tags, which control the logic of the template.

Le langage de template Django : Pour les auteurs de templates - Biologeek : Ubuntu, bio-informatique et geekeries libres d'un bio-informaticien au quotidien.

by fredbird & 1 other
Le langage de template Django a été conçu dans l'idée d'être un bon compromis entre puissance et facilité. Il est facilement accessible aux personnes ayant l'habitude de travailler avec du HTML. Si vous avez déjà utilisé un autre langage de template, comme Smarty ou CheetahTemplate, vous n'aurez aucune difficulté à adopter les templates Django.

Python Templates

by benoit & 3 others
Gabarits en python, étape par étape

Kid

by dcancel & 4 others
Kid is a simple template language for XML based vocabularies written in Python

Cheetah - The Python-Powered Template Engine

by dcancel & 1 other
Cheetah is an open source template engine and code generation tool

2005

Myghty - High Performance Python Templating Framework

by beret
Myghty is a Python based web and templating framework

PUBLIC TAGS related to tag python

1999 +   2006 +   ajax +   c# +   code +   database +   db +   django +   fireeagle +   framework +   geo +   java +   javascript +   json +   language +   library +   module +   opensource +   performance +   progamming +   programming +   rest +   rpc +   rss +   ruby +   serialization +   snippets +   unittest +   upload +   webservice +   www.json.org +   xmlrpc +   yahoo +  

Active users

marco
last mark : 07/12/2010 20:06

krachot
last mark : 02/12/2008 21:26

greut
last mark : 29/08/2008 07:12

kemar
last mark : 11/04/2008 09:35

skitoo
last mark : 21/11/2007 07:56

pvergain
last mark : 13/07/2007 21:15

jdrsantos
last mark : 10/04/2007 08:09

kuruzman
last mark : 10/11/2006 15:26

fredbird
last mark : 13/09/2006 20:07

benoit
last mark : 15/06/2006 06:41

dcancel
last mark : 09/03/2006 22:59

salvatore
last mark : 03/01/2006 00:08

beret
last mark : 10/10/2005 02:10