If you've been working with PHP for a while, and you keep thinking there's something more that you've been missing, it just might be OOP (Object-Oriented Programming). Now, OOP isn't an easy thing to get a handle on, especially if you've never done it before in another language - so EvilWalrus.com is here to help.
In their latest tutorial, An Introduction to OOP in PHP, the author starts from the very beginning, stepping you through the basic concepts (like classes, constructors, and objects). He shows you some sample code on how classes are built, and even the creation of a simple database class for you to expand upon.
Classes/Objects/OOP is more than just a feature-set of PHP, as well. To effectively program with objects and classes, you really need to change from a procedural way of thinking to treating your classes and methods as separate blocks to be pieced together to create a greater whole...




