|
You may want to check out PHP Classes (affectionately known as OOP).
Benefits of OOP,
* Abstract data types and information hiding
* Inheritance
* Polymorphism
OOP can be best described simply as an Object. Think of a car. You have one function for each axle, one function for steering, maybe one for the radio and another for engine. Well each of these functions control a different aspect of the object. Then you using a class, you can steer the car and it will alter the object respectively. May be a bad example but you can get the jist.
__________________
Free Web Hosting -- 250MB Disk / 100GB Bandwidth
No banners, No Ads -- Includes PHP/MySQL
Please login or register to view this content. Registration is FREE
|