Monday, March 31, 2008

Basics of Object Oriented Programming

This tutorial is aimed at an audience unfamiliar with the basic concepts of object-oriented programming (OOP). The intent is to provide a general overview of OOP with a view toward using PHP effectively. We will restrict the discussion to a few basic concepts of OOP as it relates to PHP, though it is sometimes useful to look at other object-oriented (OO) languages such as Java or C++.

We will discuss three aspects of object orientation in this tutorials: class, access modifiers, and inheritance. Although OOP may be a different programming paradigm, in many respects it is an extension of procedural programming, so where appropriate, We will use examples from procedural programming to help explain these concepts.

Class
Objects Need Access Modifiers
Object Reuse and Inheritance

No comments: