Friday, March 27, 2009

Smarty


Smarty is a web template system written in PHP. Smarty is primarily promoted as a tool for separation of concerns, which is a common design strategy for certain kinds of applications.

Smarty supports several high-level template programming features, including:

  * Control flow statements, foreach
  * if, elseif, else statements
  * variable modifiers - For example {$variable|nl2br}
  * functions - For example {html_select_date start_year='-5' end_year='+5'}
  * output filters
  * possiblity to create own modifiers / functions / output filters
  * advanced caching of pages


No comments:

About Me

My photo
Georgetowm, Penang, Malaysia

My Blog List