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 - Setting Up a Concrete Example
February 01, 2006 @ 07:54:08

DevShed has posted part two of their "Abstract Classes in PHP" series today, this time focusing on the creation of an example class structure.

Welcome to part two of the series "Abstract classes in PHP." In three tutorials, this series introduces the key concepts of abstract classes in PHP 4-PHP 5, and explores their application and use in different object-oriented development environments. Whether you're an experienced PHP developer wanting to fill in some gaps related to abstract classes, or only a beginner starting to taste the power of object-based programming in PHP, hopefully you'll find this series enjoyable and instructive.

They take a moment and look at how their example will be structured before jumping into the code. After that, they creat subclasses of the parent, defining the resultProcessor and fileProcessor classes. At the end, they combine them, creating a class that can parse data pushed into it (such as parsing out an XML file).

0 comments voice your opinion now!
abstract class set up concrete example subclass process data abstract class set up concrete example subclass process data


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Streamline Working with XML in PHP Using Service Data Objects (Part 1 & 2)

PHP-GTK Community Site: GtkProgressBar and GtkFileSelection

WorkingSoftware.com.au: Something Like Threading- PHP Process Forking & Interprocess Communication

Derick Rethans' Blog: What is PHP doing?

Padraic Brady's Blog: An Example Zend Framework Blog Application - Part 1: Introductory Planning


Community Events





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


configure series laravel podcast wordpress framework api library release introduction interview unittest list community code install threedevsandamaybe developer application language

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