News Feed
Sections




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

Nefarious Designs:
Object-Oriented PHP Part 2 Relationships
August 21, 2006 @ 18:06:29

Nefarious Designs has posted part two of their look at the object-oriented functionality, this time, there's a focus on the relationships objects and their friends have.

Following on from my posts "Object-Oriented Concepts" and "Object-Oriented Javascript", I'm going to take a look at OOP in PHP.

In "Part 1: Definition" we took a look at defining objects and classes in PHP. In part 2 I'm going to look at the most important part of any object-oriented system - the relationships.

They look at inheritance, association, aggregation, and references. Code examples are sprinkled liberally to help illustrate the points.

0 comments voice your opinion now!
tutorial part2 object oriented relationships inheritance composition references tutorial part2 object oriented relationships inheritance composition references


blog comments powered by Disqus

Similar Posts

Elijaa.org: Using cas() command from PECL Memcached

MongoDB Blog: MongoDB for the PHP Mind, Part 1

SitePoint PHP Blog: Basic TDD in Your New PHP Package

Rob Allen: Objects in the model layer

Hiveminds Magazine: Using numbers in PHP function names


Community Events

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


interview laravel api release php7 opinion example framework library series list community voicesoftheelephpant security laravel5 extension version introduction language podcast

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