|13.1||Separating presentation and domain logic||296|
|13.2||Which template engine?||299|
|13.4||Keeping logic out of templates||313|
|13.5||Templates and security||322|
Web presentation, in its simplest form, is a plain HTML document. PHP helps us insert dynamic content into the HTML document simply. But as the program code grows more complex, the combination poses new challenges. Increasingly, program code and HTML markup appear as Siamese twins: They’re together all the time, but they might be better off spending some time apart. They might prefer to meet and work together when it’s actually needed instead of being inseparably attached to each other. Adding ...