dreamwest Posted July 21, 2010 Share Posted July 21, 2010 Just wanted everyone to know the awesome smarty 3 is now available No more {literal} tags around javascript AND selective {nocache} tags to enable dynamic content even on cached pages I must say its very groovy baby! http://www.smarty.net/download.php http://www.smarty.net/do_download.php?download_file=Smarty-3.0rc3.zip Quote Link to comment https://forums.phpfreaks.com/topic/208362-smarty-3-is-here/ Share on other sites More sharing options...
trq Posted July 21, 2010 Share Posted July 21, 2010 Template engines suck. Quote Link to comment https://forums.phpfreaks.com/topic/208362-smarty-3-is-here/#findComment-1088904 Share on other sites More sharing options...
zq29 Posted July 21, 2010 Share Posted July 21, 2010 Template engines suck. Compelling argument, thorpe Quote Link to comment https://forums.phpfreaks.com/topic/208362-smarty-3-is-here/#findComment-1089087 Share on other sites More sharing options...
trq Posted July 21, 2010 Share Posted July 21, 2010 That's about as much time as I have for them. Quote Link to comment https://forums.phpfreaks.com/topic/208362-smarty-3-is-here/#findComment-1089099 Share on other sites More sharing options...
xylex Posted July 21, 2010 Share Posted July 21, 2010 To quote Rasmus, "PHP is a template engine, so why would you build one for it?" Quote Link to comment https://forums.phpfreaks.com/topic/208362-smarty-3-is-here/#findComment-1089213 Share on other sites More sharing options...
Daniel0 Posted July 21, 2010 Share Posted July 21, 2010 To quote Rasmus, "PHP is a template engine, so why would you build one for it?" "C is a programming language, so why would you write a new one using C?" Source: Nobody, I made it up. It happens to be a non sequitur like the quote from Rasmus though. Quote Link to comment https://forums.phpfreaks.com/topic/208362-smarty-3-is-here/#findComment-1089274 Share on other sites More sharing options...
dreamwest Posted July 23, 2010 Author Share Posted July 23, 2010 Template engines suck. Just think about all the fun your missing out on by learning another language. AND Calling functions with a simple deliminator {$smarty|function}......it sends chills down my spine Quote Link to comment https://forums.phpfreaks.com/topic/208362-smarty-3-is-here/#findComment-1090027 Share on other sites More sharing options...
JonnoTheDev Posted July 23, 2010 Share Posted July 23, 2010 Just think about all the fun your missing out on by learning another language. I would hardly call it a language. This debate has gone on and on in numerous posts. I still stick to my guns. Template engines add overhead and are not for everyone. However, Smarty makes my life so much easier working with a team of web designers. Through the Smarty debug mode they can easily see what template a particular page is using and style it up accordingly. If the HTML is embedded in php files & functions they will break the code 9 out of 10 times as they are not programmers. Also when passing a project over for CSS work and the likes of rewritten urls are used then it is difficult for a designer to know what php file to edit and find its location. Smarty has massively reduced the time I have to spend with designers when handing base code over for CSS work. If you work in design & development then a template engine is unneccesary. If you are a developer like myself and work with various designers then they are a benefit. Quote Link to comment https://forums.phpfreaks.com/topic/208362-smarty-3-is-here/#findComment-1090097 Share on other sites More sharing options...
Daniel0 Posted July 23, 2010 Share Posted July 23, 2010 Just think about all the fun your missing out on by learning another language. I would hardly call it a language. It qualifies quite fine as a domain-specific language (DSL) to me. Quote Link to comment https://forums.phpfreaks.com/topic/208362-smarty-3-is-here/#findComment-1090099 Share on other sites More sharing options...
trq Posted July 23, 2010 Share Posted July 23, 2010 Just think about all the fun your missing out on by learning another language. I'm not though. Just spending my time learning more useful ones. Quote Link to comment https://forums.phpfreaks.com/topic/208362-smarty-3-is-here/#findComment-1090103 Share on other sites More sharing options...
JonnoTheDev Posted July 23, 2010 Share Posted July 23, 2010 It qualifies quite fine as a domain-specific language (DSL) to me. Even if it does, it only takes 5 minutes to learn. I see it more like learning HTML. Quote Link to comment https://forums.phpfreaks.com/topic/208362-smarty-3-is-here/#findComment-1090105 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.