Quantcast
Channel: PHPDeveloper.org
Viewing all articles
Browse latest Browse all 6

Zend Developer Zone: Creating Modular Template-Based Interfaces with Savant

$
0
0

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.


Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images