2009-09-16: Serpent 1.2.4 is now available.
- global: several fixes
- global: autoescape feature was removed because of problems when mixing compilers
- compiler serpent: added "repeat()" function
- compiler serpent: added "eval()" function
- compiler serpent: removed the two tildes need for extended blocks
Serpent is a lightweight templating engine for PHP. It was designed to seamlessly integrate into existing MVC frameworks.
It uses PHP itself as its template language, so you do not need to learn a new markup language. On the other side you get many improvements compared to pure PHP.
What it has: (Overview in Detail & Documentation)
- short syntax for php tags (shorter than PHPs own short tags wich are also possible)
- no additional markup language
- dot syntax for arrays (like Smarty)
- shortcuts for your own functions
- template inheritance
- definable resources and compilers
- compiling engine for best performance
- E_STRICT compatible
- additional compiler for the Creole Wiki Markup Language
What it does not have: (Why it is missing those features)
- template security
- caching system
- overhead