News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
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!
php abstract classes no instantiation get_class php abstract classes no instantiation get_class



Similar Posts

Laura Thomson\'s Blog: Conference roundup

Hackers Center Blog: PHP optimization - Save the server!

Matt Kalinowski\'s Blog: Determine Browser Speed with PHP

PHPit.net: Building an advertising system with PHP (Part 1)

DevShed: Introduction to Maintaining the State of Applications with PHP Sessions


Community Events









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


conference PEAR package release book database mysql security example job ajax zend zendframework code application cakephp releases PHP5 developer framework

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