6 posts tagged “smarty”
Smarty is a template engine for PHP.
2003
Smarty Links
I’m using Smarty in a project at Uni at the moment, mainly as a tool to allow team members to modify different parts of the codebase without stepping on each other’s toes. I’ve seen some good arguments against templating solutions such as Smarty, based around the point that PHP is already a templating engine so the extra layer of abstraction just isn’t necessary. Never-the-less, I’ve been finding that Smarty dramatically improves my productivity even when I’m working on my own. Here are the links I’ve provided for my team members to help get them up to scratch on how it can be used:
2002
Smarty 2.30
Smarty 2.3.0 is out, and includes a useful new debugging function and support for assigning template variables by reference. I get a mention in the CHANGELOG for a small bug fix I submitted. Open source at work.
Wiki fun
Yesterday I set up a Wiki for Smarty as well. I like Wikis. The WikiEngine used for Smarty and MACCAWS is called TaviWiki, and is implemented in PHP with a MySQL back end. I had previously deployed PhikiWiki for a couple of university projects, which is good in that it is the only PHP Wiki I know of that works from the file system, but bad in that it has no support for version tracking (essential if your Wiki is accessible to the public).
Smarty at OSCON
Smarty at OSCON: Andrei Zmievski and Sterling Hughes will be presenting a tutorial titled “Template Architectures with Smarty” at the O’Reilly Open Source Convention in San Diego, July 22-26, 2002
. Further details are available here. Smarty is a powerful template engine for PHP which combines a highly versatile templating language with excellent performance gained through template compilation.
Andrei interview
Interview with Andrei Zmievski on SitePoint. Andrei is the guy behind PHP-GTK, the project that enables developers to write client side GUI applications using PHP. He is also one of the two lead developers on Smarty, the world’s greatest PHP templating engine. Oh, and he’s contributed various bits to PHP itself, including Perl compatible regular expressions and WDDX support. All that and he still has time for an interest in the history of western culture ;) The interview makes great reading for anyone interested in PHP, and also provides a link to a web server written in PHP.