RE: [PHP] What's the use in OOP?

2004-03-31 Thread Peter Albertsson
: Chris Shiflett [mailto:[EMAIL PROTECTED] Sent: den 29 mars 2004 23:53 To: Stephen Craton; 'PHP List' Subject: Re: [PHP] What's the use in OOP? --- Stephen Craton [EMAIL PROTECTED] wrote: I've been reading up on object oriented programming in PHP for a while now and I just don't get what's

Re: [PHP] What's the use in OOP?

2004-03-29 Thread Robert Cummings
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

Re: [PHP] What's the use in OOP?

2004-03-29 Thread Jason Giangrande
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

Re: [PHP] What's the use in OOP?

2004-03-29 Thread Chris Shiflett
--- Stephen Craton [EMAIL PROTECTED] 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. Makes it faster in what way? I'm curious to

Re: [PHP] What's the use in OOP?

2004-03-29 Thread Richard Davey
Hello Stephen, Monday, March 29, 2004, 10:43:22 PM, you wrote: SC I've been reading up on object oriented programming in PHP for a while now SC and I just don't get what's the use in using it. It supposedly makes it SC faster, but I don't really see how in any of my scripts. What's the SC

Re: [PHP] What's the use in OOP?

2004-03-29 Thread William Lovaton
I agree, but the reuse of code is also posible in an structured oriented fashion and it is not inherent in OOP. Simply saying that you are going to use OOP doesn't means that the code reuse is granted, like in structured oriented programming you have to think very carefully how to design your

RE: [PHP] What's the use in OOP?

2004-03-29 Thread Stephen Craton
- -Original Message- - From: Chris Shiflett [mailto:[EMAIL PROTECTED] - Sent: Monday, March 29, 2004 4:53 PM - To: Stephen Craton; 'PHP List' - Subject: Re: [PHP] What's the use in OOP? - - --- Stephen Craton [EMAIL PROTECTED] wrote: - I've been reading up on object oriented programming in PHP

Re: [PHP] What's the use in OOP?

2004-03-29 Thread Chris de Vidal
Stephen Craton said: 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

RE: [PHP] What's the use in OOP?

2004-03-29 Thread Kelly Hallman
Mar 29 at 5:25pm, Stephen Craton wrote: I used OO in my chat script (can be found at http://php.melchior.us) but it really seemed like a waste since it was such a small basic script. I never really find myself re-needing code except for database connectivity and calling the database and stuff

RE: [PHP] What's the use in OOP?

2004-03-29 Thread Chris Shiflett
--- Kelly Hallman [EMAIL PROTECTED] wrote: I think there is a bit of what I consider an efficiency myth in regards to OOP in PHP. Most agree that the OO implementation in PHP is not robust. It's much better in PHP 5, although a lack of robustness is not how I would personally describe PHP 4's

RE: [PHP] What's the use in OOP?

2004-03-29 Thread Kelly Hallman
Mar 29 at 3:23pm, Chris Shiflett wrote: I think there is a bit of what I consider an efficiency myth in regards to OOP in PHP. Most agree that the OO implementation in PHP is not robust. It's much better in PHP 5, although a lack of robustness is not how I would personally describe PHP

RE: [PHP] What's the use in OOP?

2004-03-29 Thread Robert Cummings
On Mon, 2004-03-29 at 18:23, Chris Shiflett wrote: --- Kelly Hallman [EMAIL PROTECTED] wrote: I think there is a bit of what I consider an efficiency myth in regards to OOP in PHP. Most agree that the OO implementation in PHP is not robust. It's much better in PHP 5, although a lack of

[PHP] RE:[PHP]What'stheuseinOOP?

2004-03-29 Thread Chris de Vidal
Stephen Craton said: I used OO in my chat script (can be found at http://php.melchior.us) but it really seemed like a waste since it was such a small basic script. I never really find myself re-needing code except for database connectivity and calling the database and stuff like that. My

RE: [PHP] What's the use in OOP?

2004-03-29 Thread Chris Shiflett
--- Robert Cummings [EMAIL PROTECTED] wrote: Perhaps, but I would say that most people who make this assertion understand OO. The performance penalty is not a myth. Just as templating incurs a performance penalty, so does OO. The reward can be worth it, of course, in terms of organization