Calypso DTL - A Django Template Language Clone for PHP

The Django Template Language is a popular template language from the Python framework Django. It offers Template Inheritance, pluggable tags and filters and tries to strictly seperate the presentational and logic concerns of the application. Calypso DTL is a full clone of the Django template language even coming with the same BSD license, which renders this library completly free for private or business use. A Zend Framework integration allows the usage in your ZF projects. The architecture has been cloned almost one to one to cope with future developments of the DTL. The syntax is designer-friendly, easy to learn but very powerful.

Calypso DTL Features

  • Template Inheritence (See Example)
  • DTL is smarty-like and easy to learn in general.
  • Supports the strict separation of Presentational and Logical domains.
  • Flexible plugin architecture: Implement your own tags and filters. Easy integration into core.
  • Over 90% of Djangos original tags and filters have been ported. High compability.
  • Ajax'able: Use the ability to mark certain template blocks as Clientside for rendering with DojoX DTL and JSON Data.
  • Zend Framework Integration (See current proposal status)

News

Calypso DTL 0.2 released

I got some feedback and bug reports on the first DTL version and have managed to fix some bugs and optimize the performance of the Calypso DTL clone. Please feel free to try!

Links