Website: Object Oriented programming OOP in PHP

OOP For Beginners
OOP in PHP  written by: Stefan Mischook



     PDF: object oriented php in pdf
    PDF: aprenda programacion orientada a objetos en php
    Source Files: OOP source [.ZIP]

 The hardest thing to learn (and teach btw,) in object oriented PHP is the basics. But once you understand them, the rest will come much, much easier.

But don't be discouraged! You just found the easiest to understand tutorial out there on OOP and PHP. It may sound like a boastful claim, I know, but that's what the nerd zeitgeist is saying.

… Or so I've been told.
About This Tutorial

This tutorial is designed to teach total beginners object oriented PHP.

 This is not a long-winded theoretical blathering that you see all too often; instead, we actually start writing OO code very quickly. I believe that this 'hands-on' style of learning, makes understanding OO (object oriented) PHP much easier... and less boring too!

So before you begin, get out your favorite PHP code editor and be ready to write and run some object oriented PHP code.

PS: scroll to the bottom of the page for the supporting videos.


With the release of php5 in 2004, php programmers finally had the power to code with the 'big boys'. Like Java and C#, php finally had a complete OOP infrastructure.

In this tutorial, you will be guided (step-by-step) through the process of building and working with objects using php's built-in OOP capabilities. At the same time you will learn:

    The difference between building a php application the old fashioned (procedural) way, versus the OOP way.
    What the basic OOP principles are, and how to use them in PHP.
    When you would want to use OOP in your PHP scripts.

People run into confusion when programming because of some lack of understanding of the basics. The basics are really important!

With this in mind, we are going to slowly go over key OOP principles while creating our own PHP objects.  With this knowledge, you will be able to explore OOP further.
OOP Videos

The following videos are designed to supplement the article, but they are not required to do the tutorial.

Introduction to Object Oriented PHP

Why learn Object Oriented PHP

Objects and Classes in PHP
Build Objects in PHP - Part 1
Build Objects in PHP - Part 2

Build Objects in PHP - Part 3

Calling Functions from Another Class

Next Lesson:  Steps 1 - 5 - Beginner's PHP Objects

Share on Google Plus

About Akins Mathew

 Hello! I’m a Programmer and  CEO/Founder of iReporter News Network Int'l [iNNi], a Creative Website Designer/Developer, Mobile App Designer, Business Enthusiast, Writer, Blogger and Musician. Currently obsessed with Mobile App Development.

"A logical person, Psychologically intelligent, and physically thrilling".

Connect with me on Facebook | Twitter | Reverbnation

    Blogger Comment
    Facebook Comment


Post a Comment

Enter here your comment!

Note: Only a member of this blog may post a comment.