I’m working on a more robust ArcWeb application in PHP and I’m using Smarty to help with the presentation layer.
Smarty is a template engine for PHP that allows for the separation of business logic and presentation logic. Of course, some PHP purists will tell you that PHP has that ability built in, but I’ve found (after using PHP both with and without Smarty for several years) that Smarty really makes the job easier. I’ve used other template systems, but like Smarty the best.
Smarty uses HTML tags along with its own internal tags to help format data. Control structures like loops and if statements are included in the engine, and you can extend it with custom built functions.
If you’re doing any “real” work in PHP, take a look at Smarty - it really is pretty cool.









0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment