Smarty is a web template system written in PHP.
Smarty is primarily promoted as a tool for separation of concerns.
[2] Smarty is intended to simplify compartmentalization, allowing the front-end of a web page to change separately from its back-end.
Ideally, this lowers costs and minimizes the efforts associated with software maintenance.
These directives can be variables, denoted by a dollar sign ($), functions, logical or loop statements.