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

DevShed:
Abstract Classes in PHP - Working with PHP 5
Feb 09, 2006 @ 12:47:12

DevShed has posted the last part of their "Abstract Classes in PHP" series today - "Working with PHP5".

In this last part of the series, I'll explain the key points of abstract classes in PHP 5, and additionally provide you with some hands-on examples. This should give you a clear idea of how to utilize them within the powerful Object Model implemented in the latest version of PHP.

They start with an overview of the PHP5 object model and how it make sabstract classes much easier than before. They continue, mentioning a "pointless and unusual" practice of calling class methods out of context. Finally, they set up an example of the use of an abstract class in the structure of the PHP5 object model...

tagged: abstract class working in php5 example object model abstract class working in php5 example object model

Link:


Trending Topics: