Savant 3.0.1
Savant is a lightweight but powerful PHP template system which is compliant for PEAR. Unlike other PHP template systems, Savant uses PHP itself as its template language, so you also don't need to learn a new markup system.
Even though Savant is not itself a compiling system, you can write your own compiler and plug it into Savant, this means you can use any template markup system you like.
Savant Template System has an object-oriented system of template plugins and output filters, so it sports almost all of the power of Smarty with almost none of the overhead.
Why Use Savant for Templates?
- You don't need to learn a new language or markup to create a template. The template language is PHP, and the template file is a regular PHP file.
- You don't have to worry about separate directories (or permissions on those directories) for compiled template sources, because Savant is not a compiling engine (the template scripts are already written in PHP).
- Even though Savant is not itself a compiling system, you can write your own compiler and plug it into Savant; this means you can use any template markup system you like.
- The Savant source code is easy to read, understand, and extend, because it is exceptionally well-commented.
- The object-oriented plugin, filter, error, and compiler classes for Savant are easy to use, understand, and extend.
- Because your template script is a regular PHP script, you can sprinkle it with comments and use phpDocumentor to document it.
More popular Template engine
- smarty 3.1.13 (4 months 1 day ago)
- PHPLayouts 0.9.2 (2 years, 5 months 15 days ago)
- Savant 3.0.1 (2 years, 2 months 12 days ago)
- vLIB 4.2.1 (2 years, 5 months 15 days ago)
- QuickSkin 5.0 (2 years, 5 months 15 days ago)
Listing Files

Savant.php- 41.4 KB
- 06/26/2004 12:00:00

test.tpl.php- 491 Bytes
- 09/25/2003 12:00:00

filters.tpl.php- 576 Bytes
- 11/12/2003 12:00:00

plugins.tpl.php- 2.1 KB
- 09/25/2003 12:00:00

4_plugins.php- 936 Bytes
- 05/16/2004 12:00:00

2_display.php- 1.2 KB
- 06/26/2004 12:00:00

3_fetch.php- 1.2 KB
- 05/16/2004 12:00:00

6_paths.php- 1.1 KB
- 05/16/2004 12:00:00

5_filters.php- 603 Bytes
- 05/16/2004 12:00:00

Savant_Filter_fester.php- 1.2 KB
- 10/03/2003 12:00:00

1_assign.php- 2.6 KB
- 05/16/2004 12:00:00

Savant_Plugin_cycle.php- 293 Bytes
- 09/25/2003 12:00:00

Savant_Plugin_fester.php- 615 Bytes
- 10/03/2003 12:00:00

