Reviews‎ > ‎

Why use Smarty vs MVC vs PHP

The gadget spec URL could not be found
The gadget spec URL could not be found
Smarty is a PHP template engine, like Pseudoscript.

Why template systems like Smarty are unnecessary

The main argument is that Smarty is just a cleaner but equivalent syntax to plain PHP.

PHP supports caching with APCeaccelerator or commercial solutions like Zend optimizer, and you can also have caching directly with a php class.

To separate your PHP from HTML, use an MVC (model view controller) framework, like Zend Framework, Symfony, Cake PHP, CodeIgniter or just google it.

Comments