Category Archives: Smarty

Smarty PHP Template Engine

smarty_preview




Introduction Smarty is a template engine that allows developers to easily separate their HTML and CSS from their PHP. It also provides added functionality such as date formatting and cycling through values. It’s caching capabilities are extremely flexible and useful in increasing performance and lowering bandwidth usage. From personal experience Smarty can decrease development time up to 40% by greatly reducing the amount of code you must write. It also makes it easier to organize your files and maintain a […]

Smarty Template Tutorial

smarty




Smarty is a web template system written in PHP. Smarty is primarily promoted as a tool for separation of concerns. Smarty is intended to simplify compartmentalization, allowing the presentation of a web page to change separately from the back-end. Ideally, this eases the costs and efforts associated with software maintenance. Smarty generates web content by the placement of special Smarty tags within a document. These tags are processed and substituted with other code. Tags are directives for Smarty that are […]