News Feed
Sections




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

DevShed:
Completing a Web Site Template using Inheritance in PHP 5
July 18, 2007 @ 10:21:00

DevShed finishes off their two-part look at working with Inheritance in a PHP5 application (their web site template engine) with the second tutorial, a look at making the look consistent across the web engine's outputted pages.

In this final installment of the series I'm going to complete the creation of the sample website by developing a pair of additional web pages, which will come in useful for building the typical "Products" and "Contact" sections of the web site in question.

They start with an overall look at how the class will end up before getting into the parts that will need to be added. They extend the base classes even more with more inheritance, making classes for both the Product and Contact pages to render the needed elements.

0 comments voice your opinion now!
inheritance php5 tutorial website template inheritance php5 tutorial website template


blog comments powered by Disqus

Similar Posts

PHPClasses.org: Book Review: Object-Oriented Programming with PHP5

Chance Garcia's Blog: MAMP PRO, PECL, SSH2, and OSX CLI (AKA acronym madness)

ServerGrove Blog: How to Create a Cache Warmer in Symfony2

WorkingSoftware.com.au: Configuring PHP4 and PHP5 to run concurrently on FreeBSD

SitePoint Web Tech Blog: OSCON 2006: Gettting Rich with PHP5


Community Events





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


language library framework introduction interview series podcast deployment list conference tips bugfix developer voicesoftheelephpant zendserver symfony community api laravel release

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