AndrewJ1313 Posted July 8, 2009 Share Posted July 8, 2009 This is just a general question regarding Smarty. I've never used it but another designer/programmer introduced me to it and said that it is a good tool for developing php/MySQL pages. I was just wondering what everyone here thought of it, if it is worth learning or if it is pointless. Any opinions are appreciated. Thanks, Andrew Quote Link to comment https://forums.phpfreaks.com/topic/165199-question-about-smarty/ Share on other sites More sharing options...
rhodesa Posted July 8, 2009 Share Posted July 8, 2009 I love it. I use it all the time. Some Content Management Systems are starting to pick it up, but I wish more would. For something simple, it's definitely overkill. But for a descent size site, it helps in a huge way by separating the PHP from the HTML. That way a PHP developer can work on the PHP side while an HTML coder can do the HTML side, and neither person needs to know the other language. Quote Link to comment https://forums.phpfreaks.com/topic/165199-question-about-smarty/#findComment-871124 Share on other sites More sharing options...
stelthius Posted July 8, 2009 Share Posted July 8, 2009 I love it. I use it all the time. Some Content Management Systems are starting to pick it up, but I wish more would. For something simple, it's definitely overkill. But for a descent size site, it helps in a huge way by separating the PHP from the HTML. That way a PHP developer can work on the PHP side while an HTML coder can do the HTML side, and neither person needs to know the other language. I think he just coverd everything, nothing more that can be added, its a smart move by all means for the bigger sites!. Quote Link to comment https://forums.phpfreaks.com/topic/165199-question-about-smarty/#findComment-871221 Share on other sites More sharing options...
AndrewJ1313 Posted July 13, 2009 Author Share Posted July 13, 2009 Thanks for the feedback. I recently purchased a book from Apress about setting up an E-commerce site with PHP and the author uses Smarty. I ran into some issues over the weekend as the book was published when Smarty was available through PHP.net and the setup instructions provided by the author do not seem to be accurate anymore. I'm a little frustrated with this, but think/hope I can work through it. Quote Link to comment https://forums.phpfreaks.com/topic/165199-question-about-smarty/#findComment-874539 Share on other sites More sharing options...
rhodesa Posted July 13, 2009 Share Posted July 13, 2009 The setup is pretty straight forward...here are the updated instructions: http://www.smarty.net/manual/en/installing.smarty.basic.php I followed these the first time I attempted to install it and had a working template up in under 10 minutes Quote Link to comment https://forums.phpfreaks.com/topic/165199-question-about-smarty/#findComment-874577 Share on other sites More sharing options...
JonnoTheDev Posted July 13, 2009 Share Posted July 13, 2009 Smarty is great. I think HTML embedded in a php document looks nasty and is a nightmare for designers to work with. You won't have the issues where designers may knock a semi-colon out of place and cause syntax errors. Quote Link to comment https://forums.phpfreaks.com/topic/165199-question-about-smarty/#findComment-874581 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.