Before studying smarty I would look into a programming concept called MVC.
Basically it is a seperation between model, view and controller. Model = database,view = templates, controller = controls logic.
Its pretty simple to implement and has many pros with few cons and helps you learn more advanced php techniques.
Main Topics
Browse All Topics





by: baevPosted on 2007-11-15 at 03:39:59ID: 20288224
Smarty is too large and actually it requires studying one more programming language. se.php ,
The main pros are listed on the Smarty's site:
http://smarty.php.net/whyu
declaring that: "One of Smartys primary design goals is to facilitate the separation of application code from presentation."
But the fact is that the same goal can be reached without Smarty as the PHP itself can be used as templating language.