Smarty 3.0 is almost here..!
There could be some or lot of us in PHP World who might have not heard about Smarty..! Yes, Smarty is the PHP Template Engine since ages. Why Ages......? some of you might ask.. but it is there since long... really long, even before we started hearing about these PHP Frameworks.
I have been using Smarty in some of my projects and as part of my daily usage component I have been following up on the Smarty Website. If you are like me you might have noticed that it has been more than one year (8 beta and 3 rc releases) that Smarty 3.0 is almost there and still there is no final release.
May be it's indication or beginning of the announcement of death of Only Template Engine PHP Frameworks or something else. Somehow community does not seems to be active or founders or whatever. Now a days many MVC frameworks are choice of developers and they either have in-built template-engine or no-template-engine or plug-in-support for template engines.
No matter what Smarty 3.0 claims to be loaded with following features:
- PHP5 OO design
- Object Chaining
- Exception Error Handling
- Assigned Data Objects
- Multiple Template Objects
- Static Object Access
- Pure PHP Template Option
- Powerful Parser/Lexer
- Tons of Template Syntax Enhancements
- Improved Data Scoping Features
- Variable Filters (ie. auto-html-escape)
- In-template Functions (easy recursion)
- Template Inheritance
- PHP Streams Support (per template/variable/include)
- Improved Cache handling (per template/variable/function)
- and much more..!
Though as per my knowledge I have analyzed that Smarty 3.0 don't bring much speed over Smarty 2.x series, but as we can see there are many other benefits/features worth upgrading to newer release.
You can try downloading it from here.
Please share your experience with Smarty or your favorite template engine with us here by posting them on comments section.