whitewashing.de

Complete Django Template Engine Implementation for PHP5 - Downloadable Now

04. August 2008

I prepared a downloadable version of my Django Template Language Engine Clone for PHP5 and the Zend Framework (although it can easily be used Standalone). It also implements two helpers that aid in rapid ajax/Dojox deployment. You can easily specify template blocks that should be rendered by Javascript via DojoX DTL, which are then marked, compiled and shown by the client using JSON data from the server. I included a demo to show this feature.

You can grab the Tarball and there is also a README with some information. I would appreciate if anbody would test the lib and gave some feedback.

I will soon start to push this component in the ZF proposal process. I still have to finish the class structure before I can move to the Ready for Review stage. The library will max end up in Zend Extras. Therefore I will have to say again: This View Renderer shall be no replacement for the current Zend View. It is only an alternative which allows for some neat functionality and stricter View / Controller logic seperation.

UPDATE: I finished a little page for what I call the Calypso DTL. See it here: Calypso Site. I have put up a little tutorial how to get the Template Engine running with Zend Framework and as a standalone component.

:: Category: PHP, Comments (4)

Tags for this Article

Comments (4)

Hallo Benjamin,

erstmal Glückwunsch zur Integration der Django Template Language in das Zend Framework!

Beim Schreiben eines Einführungsartikels für die deutschsprachige DojoToolkit-Community habe ich mir die Frage gestellt, wie genau festgelegt wird, welcher Template-Code serverseitig interpretiert wird und welcher mit Hilfe von DojoX DTL auf Seiten des Clients interpretiert werden soll?

Marcus
http://www.dojotoolkit-forum.de User: marcus - Date: 1970/01/01 01:00
Details on how to use the Ajax / DTL Client Side Stack are now in the Tutorial of the DTL page. User: beberlei - Date: 2008/08/08 11:57
See http://phpimpact.wordpress.com/2008/08/28/calypso-a-django-template-language-clone-for-php/#comments for a reference. User: beberlei - Date: 2008/08/29 18:13
Any chance that you can release a version without Zend requirements? I spent a half hour trying to separate it but it's going to take a while longer.

-Mike User: mike - Date: 2009/07/29 19:13

Post A Comment

 
 
 
 
::Back To The Top