On Mon, 2004-03-29 at 16:43, Stephen Craton wrote: > I've been reading up on object oriented programming in PHP for a while now > and I just don't get what's the use in using it. It supposedly makes it > faster, but I don't really see how in any of my scripts. What's the > advantage of OOP anyway, and why are so many people using it now? What does > it have to offer then just creating files full of functions to include later > like I've always done?
Inheritance. Encapsulation. Polymorphism. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php