News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Creating Modular Template-Based Interfaces with Savant
September 10, 2009 @ 07:50:34

On the Zend Developer Zone there's a new tutorial from Vikram Vaswani looking at creating templates for your website with the Savant templating engine.

Now, there's no shortage of template engines out there. You've probably already heard of Smarty, Template_IT, Flexy and Xipe...and that's just the beginning of the list. If you're looking for something a little different, though, consider Savant, the subject of this article. Although Savant isn't as well-known as some of the other options available, it's still a lightweight, OOP-compliant template engine that offers some unique features and is well worth a look.

He works through the templating of a sample site (using .tpl files) to create simple layouts and add in some more advanced features like assigning variables, using objects, looping and partial templates. He also shows how to use the filtering functions to manipulate the template output directly.

0 comments voice your opinion now!
modular template tutorial savant


blog comments powered by Disqus

Similar Posts

NetTuts.com: Understanding and Working with Relationships Between Data in WordPress

NetTuts.com: How to Use Selenium 2 With PHPUnit

Developer.com: PHP 5 OOP - Delegation and Custom Exceptions

NETTUTS.com: Create a PHP5 Framework - Part 2

SitePoint PHP Blog: Paginating Real-Time Data with Cursor Based Pagination


Community Events

Don't see your event here?
Let us know!


php7 release security example extension library version introduction opinion series api laravel5 framework language laravel community interview voicesoftheelephpant podcast list

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework