Have you ever thought why you need to use "if", "else", etc in an HTML template with a template engine written in PHP even when PHP can do it? In fact, there is no technical reason supporing it. Here, we provide you a pure data-driven template solution so that no control flow structures are ever allowed in HTML templates.
Document Template Engine version 2 (DTEv2) is a template engine written in PHP. It is completely data-driven. So HTML template files and their corresponding PHP source codes are totally separated. In addition, when you edit template files in Dreamweaver the template pieces does not confuse Dreamweaver.
Please don't hesitate to try DTEv2.
Be the first to post a review of DTEv2 (PHP template engine)!