PDA

View Full Version : Using Smarty For Templates?


AllKnightAccess
11-07-2005, 02:19 AM
Any plans to use Smarty instead for templates?

http://smarty.php.net

Charter
11-07-2005, 01:48 PM
The PhpDig templates are parsed using a basic variable replacement routine, and I don't have any specific plans to change this. Smarty might be too evolved for the simple templating needs of PhpDig, but I'd be glad to hear your thoughts.

AllKnightAccess
11-07-2005, 11:14 PM
Smarty can offer a wealth of resources to PhpDig, since the templates use plugins. Through the plugins, webmasters can perhaps further customize PhpDig to their needs, without having to hack the core code. In addition, it can allow for a simpler method of extending the functionality of PhpDig. Many existing plugins can be used interchangably within various scripts. Developers can submit plugins, that can easily used by inserting tags in a template. From there, the plugin can interact with PhpDig server side, client side, or both.

If using Smarty is something you would consider, I will be happy to help you, since I am already familiar with it.