#templating

24 bookmarks tagged with #templating · RSS Feed · ← All Tags

Django tip: Caching and two-phased template rendering | Holovaty.com

http://www.holovaty.com/writing/django-two-phased-rendering
"It's a clever solution because you end up defining what doesn't get cached instead of what does get cached. It's a sideways way of looking at the problem -- sort of like how Django's template inheritance system defines which parts of the page change instead of defining server-side includes of the common bits."

mjt

http://mjtemplate.org
"Mjt is an HTML templating engine that runs entirely in a web browser. It was built for the Freebase service, but it can be used for many other web services. It is distributed as open source."

Template Engines

http://massassi.com/php/articles/template_engines
"In short, the point of template engines should be to separate your business logic from your presentation logic, not separate your PHP code from your HTML code."

about:cmlenz - Logic in Templates

http://www.cmlenz.net/blog/2007/06/logic-in-templa.html
"In my humble opinion, this kind of “dumbed-down” templating results in only one thing: more lines of code in the application modules, lines of code that are really only about presentation, and should be in the templates."