News Feed
Sections




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

DevShed:
Building Dynamic Web Pages with Polymorphism in PHP 5
March 28, 2007 @ 18:15:35

DevShed continues their look at using polymorphism in an application with the latest part of the series - "Building Dynamic Web Pages with Polymorphism in PHP 5".

In short, Polymorphism is a feature exposed by certain objects that belong to the same family, which eventually can behave differently, even when they're using identical methods. Or more clearly, an object can be considered polymorphic when it's capable of performing different actions by utilizing the same method.

This time they focus on web page development that uses this object-oriented practice. The create a WebPageElement that you can ID and class attributes on and use it to create HTML widgets and extend them to create Div and Link element.

0 comments voice your opinion now!
php5 polymorphism dynamic pages html elements php5 polymorphism dynamic pages html elements


blog comments powered by Disqus

Similar Posts

Mike Naberezny's Blog: Easier XML-RPC for PHP 5

Richard Lord's Blog: PHP 5.2 - Nesting level too deep - recursive dependency?

DevShed: Working with Images and Text Flows in PDF Files with PHP 5

Ilia Alshanetsky's Blog: PHP 5.2.0RC5 is out!

Vexxhost.com: Top 5 new (and cool!) features in PHP5 that you probably haven't heard of


Community Events





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


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

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