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

PHPMagazine:
A (Better) Guide To OOP in PHP
Jan 15, 2003 @ 13:26:09

Well, PHPKitchen noticed it too, but over on the PHPMagazine english site there's something I was talking about missing the other day - a good article covering as much about OOP programming in PHP as would be needed to get a good handle on it, and not just car illustrations or small code snippets.

In Taking PHP the OO way, the author gives us a nice, long article with plenty of definitions, illustrations (yes, the car illustration is in there), code examples, descriptions of what those samples do, and...well, you get the picture. It's a very complete tutorial, and even gives you some of the "misconceptions about applying OOP in PHP".

This article is a good one to bookmark and come back to later when you're trying to figure out a different way to structure your class and make it all work. These three types of architecture are slightly different, but one if them might just fit better than the others for your app...

tagged:

Link:


Trending Topics: