concept phptal in category php
appears as: PHPTAL

This is an excerpt from Manning's book PHP in Action: Objects, Design, Agility.
PHPTAL is supremely friendly from a web designer’s point of view. WYSIWYG HTML editing tools generally ignore unknown attributes, and PHPTAL lets you insert dummy content that will make the template look like the real web page when viewed in a WYSIWYG HTML editor—or in a web browser for that matter. Figure 13.4 shows what a PHPTAL template for the user list looks like when opened as a file in a web browser.
This is possible because of PHPTAL’s ability to insert example content that disappears when the real application is run. Let’s look at the PHPTAL template (see listing 13.5).