A Django template language clone for PHP
Calypso is a full clone of the Django Template Language that helps developers separates the presentational and logic concerns of the application. It offers template inheritance, pluggable tags and filters, and can be easily integrated into the Zend Framework
A Calypso template contains variables, which get replaced with values when the template is evaluated, and tags, which control the logic of the template. The most powerful part of Calypso’s template engine is template inheritance. Template inheritance allows you to build a base skeleton template that contains all the common elements of your site and defines blocks that child templates can override.
Website: http://www.beberlei.de/calypso/
I have seen a lot of type of template systems (for Ruby, JSP, ASP, Python,… plain PHP) but the the most of the are no very pretty as syntax. The most beautiful template is Smarty and Dwoo (very hard to remember name). And they are good because you write less code for opening and closing blocks just ‘{‘ not <?php or <%
Radoslav Stankov
August 28, 2008 at 8:41 pm
I use Django in my dayjob but until recently was a fulltime PHP coder so I’m quite happy to have a clone of Django’s Template System for PHP since I’ve used it enough as to know first hand it has value to offer for your project.
I’m choosing an MVC Framework for a project in PHP these days and I was really considering going with Symfony but now Zend Framework + Calypso + Doctrine is looking like a much more Django-like setup.
Antonio Ognio
September 7, 2008 at 5:33 am