News Feed
Sections




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

Zend Developer Zone:
Building Template-Driven Web Applications with Dwoo (part 1)
July 21, 2010 @ 10:10:39

On the Zend Developer Zone today there's a new tutorial from Vikram Vaswani (the first part of a series) about using the Dwoo template engine to work with the look and feel of your site.

When discussing the best practices of PHP application development, there's one that appears on almost every list: separating the business logic of a Web application from its user interface. This separation lets interface designers work on a site's appearance without disrupting the code of the application developers implementing business-level features and workflows. [...] However, if your project is small enough that you don't need a framework (or if you just don't like them), you can still achieve the same benefits by using a standalone template engine.

He introduces the framework by showing the installation process (via the PEAR installer) and some basic templates with simple replacement string placeholders. He also includes the code to give you an idea of the PHP side of things. With the basics down, he gets into more advanced things like looping, conditionals and including multiple templates inside to make modular templating even easier.

0 comments voice your opinion now!
dwoo template framework tutorial introduction


blog comments powered by Disqus

Similar Posts

Developer's Lane: Top 20 CakePHP Interview Questions and Answers

WebReferece.com: Managing Your Email Campaigns with phpList

Paul Jones: Aura: More Decoupled Than Symfony 2 and Zend Framework 2

Ian Selby's Blog: Create a REST API with PHP

Refulz Blog: Traits in PHP 5.4 - Why we need Traits


Community Events

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


conference series performance opinion release extension api application podcast example symfony2 introduction voicesoftheelephpant library community framework laravel interview version php7

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