|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Thu Sep 24, 2009 4:09 pm Post subject: Smarty 3 Almost Here! |
|
|
Yes, yes I know. The Smarty 3 beta is taking much longer than expected, but we wanted to be sure we had everything right. Our preliminary performance tests are already showing us very promising speed improvements over Smarty 2 (2-5x on average), and we're not done! To recap, Smarty 3 is a 100% rewrite from the ground up, and it is PHP 5 only. We will be getting a feature list up with the Beta, but let me give a quick summary:
Code: | * 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! |
There are many folks using the Alpha in production, and with this feedback we feel the Beta is going to be very stable to begin with. Feel free to grab the Alpha and give it a test! We want feedback!
You can checkout Smarty 3 Alpha with SVN:
svn checkout http://smarty-php.googlecode.com/svn/branches/Smarty3Alpha/
See also the dev mailing list:
http://groups.google.com/group/smarty-developers |
|
Back to top |
|
douglassdavis Smarty Junkie
Joined: 21 Jan 2008 Posts: 541
|
Posted: Thu Sep 24, 2009 8:31 pm Post subject: |
|
|
woohoo! |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Thu Sep 24, 2009 9:29 pm Post subject: |
|
|
One other note: {php}{/php} tags are deprecated. That is, they are GONE in Smarty 3. If you really want them, you'll have to make your own block function. In hind site I wish it never existed, but now is our chance to remove support for it entirely. |
|
Back to top |
|
Karel S. Smarty Rookie
Joined: 03 Aug 2009 Posts: 26 Location: The Netherlands
|
Posted: Fri Sep 25, 2009 7:09 am Post subject: |
|
|
Never needed the {php} tags. But I tested it with a previous 3.0 build (a month age I think) and it worked. Were they removed in one of the latest builds? |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|