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

 
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: 7285
Location: Lincoln Nebraska, USA

PostPosted: Fri Nov 12, 2010 2:15 am    Post subject: Smarty 3.0 Released! Reply with quote

The official Smarty 3.0 has been released! Please join the developer mailing list and see the Smarty 3 section of the forums forums for questions, comments, feedback, etc.

Documentation is available for 3.0 in the documentation section of the website.

We also have a brand new website running on Smarty 3. There is a lot of new content here, be sure to check it out!

NOTE: There are some important API changes between the RC4 and 3.0 releases. We felt it was better to make these now instead of after a 3.0 release, and then immediately deprecate some 3.1 APIs. See the README that comes with the distribution for details.

http://www.smarty.net/
Back to top
View user's profile Send private message Visit poster's website
mohrt
Administrator


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

PostPosted: Fri Nov 12, 2010 2:27 am    Post subject: Reply with quote

A few more notes:

The SVN is now the /trunk/ instead of /branches/Smarty3Dev/, be sure to get a new checkout from there. Smarty 2 is now in /branches/Smarty2Dev/

The API changes from RC4-3.0:

Code:
$smarty->register->*
$smarty->unregister->*
$smarty->utility->*
$samrty->cache->*

Have all been changed to local method calls such as:

$smarty->clearAllCache()
$smarty->registerFoo()
$smarty->unregisterFoo()
$smarty->testInstall()
etc.

Registration of function, block, compiler, and modifier plugins have been
consolidated under two API calls:

$smarty->registerPlugin(...)
$smarty->unregisterPlugin(...)

Registration of pre, post, output and variable filters have been
consolidated under two API calls:

$smarty->registerFilter(...)
$smarty->unregisterFilter(...)


See the README and online documentation for details.
Back to top
View user's profile Send private message Visit poster's website
Mastershrimp
Smarty Regular


Joined: 21 Dec 2009
Posts: 53

PostPosted: Fri Nov 12, 2010 10:41 am    Post subject: Reply with quote

Is it possible that there is an error in smarty_internal_compile_continue.php?

Eclipse reports "syntax error, unfinished class declaration smarty_internal_compile_continue.php line 64". After having a quick look at the file i'd say that one of the "{" in line 29 need to be removed
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 4669
Location: Hamburg / Germany

PostPosted: Fri Nov 12, 2010 12:02 pm    Post subject: Reply with quote

Yes the typo in compile_continue went through for same reasion
Back to top
View user's profile Send private message
ZakMc
Smarty Pro


Joined: 04 Oct 2004
Posts: 182

PostPosted: Fri Nov 12, 2010 12:44 pm    Post subject: Reply with quote

[move to own thread]

Last edited by ZakMc on Fri Nov 12, 2010 1:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
TitanKing
Smarty n00b


Joined: 14 Aug 2009
Posts: 2

PostPosted: Fri Nov 12, 2010 1:16 pm    Post subject: Reply with quote

What a great job you guys have been doing. Well done, can I buy you each a beer?

Just to let you all know, the new PHPDevShell V3.0.0 includes Smarty as an official plugin. Meaning it manages your smarty pages like a CMS. This really bring extraordinary power to Smarty Very Happy

PS, its very hard to post in the forums seeing I always get a Invalid Session.
Back to top
View user's profile Send private message
ZakMc
Smarty Pro


Joined: 04 Oct 2004
Posts: 182

PostPosted: Fri Nov 12, 2010 1:17 pm    Post subject: Reply with quote

[move to own thread]
Back to top
View user's profile Send private message
IceFrog
Smarty Rookie


Joined: 16 Dec 2008
Posts: 13

PostPosted: Sat Nov 13, 2010 10:46 am    Post subject: Reply with quote

Thanks for stable release! Great work!
_________________
Hello all coders from Russia Smile
Back to top
View user's profile Send private message
Mastershrimp
Smarty Regular


Joined: 21 Dec 2009
Posts: 53

PostPosted: Sun Nov 14, 2010 6:47 pm    Post subject: Reply with quote

U.Tews wrote:
Yes the typo in compile_continue went through for same reasion


But as far as I can see it is not fixed in the current version?
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 4669
Location: Hamburg / Germany

PostPosted: Sun Nov 14, 2010 6:52 pm    Post subject: Reply with quote

It's in the current version 3.0.4
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