New from the O'Reilly Network's PHP division this morning, there's an article that anyone using FastTemplate should check into. Not using Fast Template? Even better - this piece might be able to save you loads of time.
I don't know about you, but all these documents about dividing web programming into logic, presentation, and content always irritate me. Most of them miss an important point: often at least three people develop a web page--the programmer (i.e, the PHP or Perl guru), the web designer who provides the presentation (the HTML designer), and the content developer (perhaps a marketing person). [...] This article will demonstrate how to divide logic from presentation and presentation from content. In the end, a web page will consist of three files: one PHP file with all page logic, one HTML file containing the presentation, and one or more language files that will hold the texts for the page.
He starts of detailing why he chose FastTemplate and what features it has he needs. He then defines a simple framework and fills it with data from a local database using a splash of PHP code to extract the information. All in all, it seems like a pretty nice system to use if you're just needing something quick and easy. If you want to check out FastTemplate, see their website here.




