Browse Articles
Ajax (4),
APC (1),
CAPTCHA (1),
CSS (3),
Debugging (1),
File Upload (1),
Google (3),
Google Maps (2),
JavaScript (10),
JSON (2),
MVC (1),
MySQL (6),
onbeforeunload (1),
OOP (1),
PHP (27),
PhpDoc (1),
PostgreSQL (6),
Prototype (9),
Reflection (1),
RFC 1867 (1),
Robots (1),
Scriptaculous (1),
SEO (1),
Sessions (1),
SimpleXML (1),
Smarty (5),
SOAP (1),
SPL (1),
Templates (2),
W3C (1),
XHTML (1),
Zend Framework (1),
Zend_Search_Lucene (1)
Buy My Book
By Quentin Zervaas
Want to assert yourself as a cutting–edge PHP web developer? Take a practical approach...
|
This article takes a look at separating application logic from template logic. We will use the Smarty Template Engine as the basis for the article and its examples.
Many people think of the Smarty Template Engine as a system for separating presentation from application logic. This is indeed true, but many people also only consider Smarty for outputting their web site HTML/XHTML. This brief article goes over other situations where Smarty may be useful in your PHP application.
|
|