Working 'Smarter' with Templates - Places Where Smarty Shines
(Page 5 of 6 )
CMS Systems
The very nature of a CMS system screams “Templatize me!”. I'm sure that nearly all CMS systems use some form of templates, but Smarty really out-performs most methods that I have seen used.
When Used with Pear (PHP Extension and Application Repository)
Pear allows developers to leverage the power of a huge mass of the php development community when building their site. Many PEAR modules are built with Smarty in mind. As a side note; a site I built recently had to be ported from PostGreSQL to mySQL. This change could have been quite ugly, but since I had used PEAR for all of my database abstraction, the entire conversion took less than an hour.
When Developing in a Distributed Environment
Smarty does such a great job of separating the code from the design (application from presentation) that little dialog needs to take place between the code developer and the HTML design/production team.
Next: Common Mistakes with Smarty >>
More Search Optimization Articles
More By Bill Sterzenbach