pombreda / tipfy

Automatically exported from code.google.com/p/tipfy
Other
0 stars 0 forks source link

Documentation: templates #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Documentation for templates is needed.

* basic usage 
* strategies to set common variables
* strategies to set global variables
* i18n?

See:
http://groups.google.com/group/tipfy/browse_thread/thread/e99c1d74d1d4eb63

Original issue reported on code.google.com by rodrigo.moraes on 1 Jul 2010 at 12:44

GoogleCodeExporter commented 9 years ago
More topics:

* request.context
* render_template vs render_response
* tipfy.ext.jinja2.Jinja2Mixin.render_response vs 
tipfy.ext.jinja2.render_response

Original comment by rodrigo.moraes on 1 Jul 2010 at 1:05

GoogleCodeExporter commented 9 years ago

Original comment by rodrigo.moraes on 8 Jul 2010 at 2:03

GoogleCodeExporter commented 9 years ago
I think it would be a good idea to have a "backgrounder page" on templating..

eg Introduce tempalting as a concept
* show tempalting engines built in.. (were using jenshi)
* show differences in markup and techniques between make/jonja/genshi
* is django in this ?

* >> basic usage:
** .....

and this is where I think we need an example "project" to build,, something 
simple like a todolist or FAQ...

So thats a suggestion as a kinda tutorial come examples for the wiki..

Original comment by pedromor...@gmail.com on 22 Jul 2010 at 11:55

GoogleCodeExporter commented 9 years ago
Idea
http://www.tipfy.org/wiki/templating/

Original comment by pedromor...@gmail.com on 23 Jul 2010 at 12:54

GoogleCodeExporter commented 9 years ago
Also started on a guide..

http://www.tipfy.org/wiki/guide/templates/

Original comment by pedromor...@gmail.com on 23 Jul 2010 at 5:04

GoogleCodeExporter commented 9 years ago

Original comment by pedromor...@gmail.com on 23 Jul 2010 at 11:38