News Feed
Sections




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

SitePoint PHP Blog:
Markup Separation with Template IT
April 13, 2007 @ 09:42:00

In a new post to the SitePoint PHP Blog today, Ian Muir shows you how to keep thing separated using the HTML Template IT extension. It helps prevent application functionality and logic from seeping its way into your output.

One of the more challenging things I've run into while doing PHP development is effectively separating presentation from program logic. In many projects, I felt I was doing a great job until I had to do a markup change and jump through a lot hurdles to make it happen. In my recent projects, I've starting using the HTML Template IT extension in PEAR, and its made things a lot easier.

By way of example, he gives code blocks - one showing an example template and the other how to populate it with your own data. You can get more information on the extension from it's PEAR page.

0 comments voice your opinion now!
tutorial searation template pear extension markup tutorial searation template pear extension markup


blog comments powered by Disqus

Similar Posts

Luc de Brouwer's Blog: Never having to use $_GET or $_POST again

Community News: Latest PEAR Releases for 03.19.2007

Christoph Dorn's Blog: Gain insight into your cache interaction with FirePHP Companion

Brian Swan's Blog: CRUD Operations with the OData SDK for PHP

DevShed: Building a Database-Driven Application with the Code Igniter PHP Framework


Community Events

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


conference psr7 unittest voicesoftheelephpant video podcast introduction library language community api extension development laravel5 series laravel release framework interview opinion

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