You may not be familiar with what Smarty is. But Smarty is really an old familiar friend we know from PHP. It is a web template system written in PHP.
Smarty separates PHP code (often represented as business logic) from HTML (often represented as presentation logic).
Smarty is known as a "Template Engine". However, a more accurate description would be that it acts as a "Template/Presentation Framework."
It provides the programmer and template designer with a wealth of tools to automate tasks commonly dealt with at the presentation layer of an application.
It must be emphasized as to what it does as a Framework to template because Smarty is not a simple tag-replacing template engine.
It is possible to use Smarty for such a simple purpose, ...