News Feed
Sections




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

PHPro.org:
Class Hierachies And Overriding
November 20, 2008 @ 08:46:47

The PHPro.org website has this new tutorial posted today - a step further into the would of OOP in PHP with a look at abstraction, hierarchies and polymorphism.

The PHP Object Oriented method of programming brings many exciting possibilities to application code. Many of the theories surrounding PHP Object Oriented code comes from some simple concepts. To the new comer, some of these concepts seem a little abstract, and with good reason. Abstraction is a key concept on Object Oriented code, but to the un-initiated, may seem rather vague.

Kevin looks at creating abstract classes as a foundation for types other classes can work from, overriding built in classes (like extending the DirectoryIterator to make a DirectoryReader class).

0 comments voice your opinion now!
class hierarchies overriding tutorial abstraction ploymorphism


blog comments powered by Disqus

Similar Posts

Developer Drive: Building a PHP Ad Tracker: Data Object Design and Coding

AnyExample.com: Bar chart HTML generator

Derick Rethans' Blog: Remote Debugging PHP with a Firewall in the Way

PHPMaster.com: Writing a RESTful Web Service with Slim

Artur Ejsmont's Blog: How to build mongodb pecl extension in 32bit for PHP 5.2 on OSX Snow Leaopard


Community Events





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


release list unittest voicesoftheelephpant introduction framework series language composer api podcast threedevsandamaybe conference version interview opinion community symfony configure laravel

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