Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Smarty 3 Almost Here!

 
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3
View previous topic :: View next topic  
Author Message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7366
Location: Lincoln Nebraska, USA

PostPosted: Thu Sep 24, 2009 4:09 pm    Post subject: Smarty 3 Almost Here! Reply with quote

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
View user's profile Send private message Visit poster's website
douglassdavis
Smarty Junkie


Joined: 21 Jan 2008
Posts: 541

PostPosted: Thu Sep 24, 2009 8:31 pm    Post subject: Reply with quote

woohoo! Razz
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7366
Location: Lincoln Nebraska, USA

PostPosted: Thu Sep 24, 2009 9:29 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Karel S.
Smarty Rookie


Joined: 03 Aug 2009
Posts: 26
Location: The Netherlands

PostPosted: Fri Sep 25, 2009 7:09 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3 All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP