Object Oriented PHP

    Object Oriented PHP

    The best way of programming is to used object based approach. Generally we divide our work in to classes. The programming approach which is easy to use and not to repeat the code again and again.

    Understanding Objects and Classes

    Class and object is basic building block of object oriented approach so first we have to understand what they are and how they works.

    Class you can say its a template means the base for object or simply to specify data type. For example if we say a veichle class we have many veichles in it having its own properties these are called as objects of veichle class