News Feed
Sections




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

DevShed:
Abstract Classes in PHP - Introducing the Key Concepts
January 26, 2006 @ 06:45:35

DevShed has posted this new article today, a look at abstract classes and their development in PHP - a simple, but very useful feature that can help in a pinch.

An abstract class is a class that cannot (or should not) be instantiated. They are surprisingly useful for certain purposes. In this article, you will learn the important concepts related to abstract classes in PHP 4, and see many hands-on examples that will allow you to make use of them in your own applications.

The article looks at the creation of these classes in PHP4, then moves on to the creation of one a bit more "clever" and keeps even subclasses from instantiating it. Once that's done, they show how to use a get_class() call to pull in its functionality...

0 comments voice your opinion now!
abstract classes no instantiation get_class abstract classes no instantiation get_class


blog comments powered by Disqus

Similar Posts

Michael Girouard's Blog: One Step Closer to an Abstract Singleton

DevShed: Abstract Classes in PHP - Introducing the Key Concepts

DevShed: The Basics of Abstract Factory Classes in PHP 5

Gonzalo Ayuso's Blog: Moving singleton and factory patterns to Abstract with php 5.3

DevShed: Abstract Classes in PHP - Introducing the Key Concepts


Community Events





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


zendserver introduction api development language deployment community release threedevsandamaybe series interview symfony list podcast conference tips bugfix framework laravel code

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