Smarty 3 je u alpha, navodno donosi dosta unapređenja, osim što je čist PHP5 kažu da je i brzina poboljšana 2-2,5 puta:
Citat:
- PHP5 OO design
- SPEED
- 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)
- Smart javascript/css handling (no more {literal} tags)
- Improved Cache handling (per template/variable/function)
- Many other things too numerous!
|
Ja sam probao tu alfu, skinuo sam i postavio, medjutim pocela je da mi prijavljuje puno gresaka, tako da je očigledno da prelaz sa Smarty 2 na Smarty 3 neće biti jednostavan, naročito ako ste "proširivali" smarty svojim funkcijama.