Thursday, March 27, 2003


I'm all for the separation of content from presentation. For example, a MARC record can be presented to different users in many different ways, but the data remains separate from that decision. Therefore, we can share records without concern about the system used. That was one of the great faults of HTML, it mixed presentation tags < italic > with content tags < cite >. That is why Smarty appeals to me without much investigation. Those more in the PHP loop can better understand the details.
Smarty is a template engine for PHP. More specifically, it facilitates a manageable way to separate application logic and content from its presentation. This is best described in a situation where the application programmer and the template designer play different roles, or in most cases are not the same person.

No comments: