Re: What's the use in OOP?
| From: | Robert Cummings | Date: | Mon, 29 Mar 2004 21:45:10 +0000 |
| Subject: | Re: What's the use in OOP? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181726@lists.php.net to get a copy of this message | ||
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. |
`------------------------------------------------------------'