Page 1 of 1

Difference AND Benefits OF OOP

Posted: Sat Aug 15, 2009 1:46 am
by Naeem
Assalam-O-Walaikum
Hello to all friends,
I want to know that what's the Difference AND Benefits of OOP in PHP.
Thanks,
Allah Hafiz.

Re: Difference AND Benefits OF OOP

Posted: Sat Aug 15, 2009 2:03 am
by requinix
How about a trade?

You explain the benefits of search engines and I'll explain the benefits of OOP.

Re: Difference AND Benefits OF OOP

Posted: Sat Aug 15, 2009 2:10 am
by Naeem
Please some one tell me?
I can't find this question in search engines.
So i asked here.

Re: Difference AND Benefits OF OOP

Posted: Sat Aug 15, 2009 3:13 am
by requinix
Naeem wrote:I can't find this question in search engines.
No, see, you should be looking for answers, not questions.

Such as these.

Re: Difference AND Benefits OF OOP

Posted: Sat Aug 15, 2009 4:22 am
by webmonkey88
lol people seem to want everything handed to them on a plate

Re: Difference AND Benefits OF OOP

Posted: Sat Aug 15, 2009 6:22 am
by jackpf
Basically, objects let you group similiar functions that use the same resources. That way you don't have to make global resources and stuff, which could get overwritten etc....

But mainly people just use it because they think it's cool ;)

And yes, use google.

Re: Difference AND Benefits OF OOP

Posted: Sat Aug 15, 2009 1:09 pm
by Christopher
Naeem wrote:I want to know that what's the Difference AND Benefits of OOP in PHP.
Perhaps you did not realize it, but you asked a question that has a very long answer. And much of the answer you cannot understand without prior experience. So it is not really answerable (except in a very general way) to someone who does not know the differences already.

Re: Difference AND Benefits OF OOP

Posted: Sat Aug 15, 2009 1:23 pm
by yacahuma
the benefits of oop in php are the same as they are in any language.

http://wiki.tcl.tk/13398

Re: Difference AND Benefits OF OOP

Posted: Sat Aug 15, 2009 2:10 pm
by aceconcepts
I think the best and most effective way of understanding the benefits of OOP is to start practising it. You can read as much as you like describing how it works and how it's so wonderful but you will never really grasp the full benefit of this technique until you start using it yourself.