News Feed
Sections




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

DevShed:
Using Inheritance, Polymorphism and Serialization with PHP Classes
August 15, 2006 @ 09:02:43

Some concepts of object-oriented design are harder to figure out that others for a budding programmer. Thankfully, there's articles like this one from DevShed to help fill in some of the gaps. Specifically, they focus on inheritance, polymorphism, and serialization in your PHP classes.

If you are working with classes in PHP, you will sooner or later encounter inheritance, polymorphism, and serialization. The ability to use these three will help speed up your code writing. This article covers how to use them, and more.

First off, they look at inheritance and working with child classes before moving on to polymorphism (similar functionality, different objects), calling functions statically, and serializing objects to make passing them around much easier.

0 comments voice your opinion now!
classes object oriented polymorphism inheritance serialization tutorial classes object oriented polymorphism inheritance serialization tutorial


blog comments powered by Disqus

Similar Posts

DevShed: Handling Entries for a Blogger Built with PHP

Alan Knowles' Blog: Getting Started with HTML_FlexyFramework, DataObjects and HTML_Template_Flexy

PHP-Coding-Practices.com: Composing Methods: Split Temporary Variable

NETTUTS.com: Asynchronous Comments with PHP, jQuery, and JSON

Shaun Oleson's Blog: Authorize.NET and PHP


Community Events

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


conference language community api release voicesoftheelephpant laravel5 extension interview framework library video podcast laravel psr7 unittest introduction opinion development series

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