News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

AxisVista Blog:
PHP5 DOM Based Template Engine
July 26, 2007 @ 10:22:00

On the AxisVista blog, there's a new tutorial looking at the creation of a PHP5 DOM-based templating engine that makes it easier for designers to work with a site and not have to know PHP to do so.

At the office today, I had a talk with our designers, so they want a "designer-friendly" template engine. Sounds easy, but it isn't. That is why I decided to write this very short post to help others having such "easy" problems.

First he lays out the requirements for the project, then heads off to Google to see if there's anything similar. He found PRADO but it still lacked some of what he needed. So, deciding on developing his own Templating system, he creates a system that supports:

  • Caching
  • WYSIWYG & Dynamic Tag Handlers
  • States
  • PHP Tags

The code (and results) are included in the post, both in code blocks and for download.

1 comment voice your opinion now!
template engine php5 dom xml designer template engine php5 dom xml designer


blog comments powered by Disqus

Similar Posts

Dotvoid.com: PHP 5.2 ajaxified

Brian DeShong's Blog: Small news that's big to me: my PHP Testfest submissions made it into 5_3!

Elizabeth Smith's Blog: Edin's Treasure Trove - or how to actually get PHP 5.2 compiling on Windows

PHPBuilder.com: The ABC's of PHP II - What do I need to make it work?

AnyExample.com: Making XML/XSLT driven site using PHP


Community Events





Don't see your event here?
Let us know!


library opinion package zendserver symfony unittest bugfix framework community series update api interview podcast deployment laravel introduction release language install

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework