[PHP] Re: OOP .. I just don't get it.

2002-03-05 Thread Philip Hallstrom
I'm not an OOP master, but I'll give it a shot In your example below you don't gain much from using OOP However, consider this example (all pseudo code) class animal ( function eat() function sleep() function walk() ); class bird extends animal ( function

[PHP] Re: OOP .. I just don't get it.

2002-03-05 Thread mojo jojo
Hi Phillip Yes, thanks this does help. The problem with the tutorials that I have seen so far is that they are very simplistic and therefore do not reveal the benefits of this style of programming. If anybody knows of any good tutorials, I would appreciate a link. Thanks Peter (Mojo)

Re: [PHP] Re: OOP .. I just don't get it.

2002-03-05 Thread Erik Price
On Tuesday, March 5, 2002, at 05:40 PM, mojo jojo wrote: Hi Phillip Yes, thanks this does help. The problem with the tutorials that I have seen so far is that they are very simplistic and therefore do not reveal the benefits of this style of programming. If anybody knows of any good

[PHP] RE: OOP .. I just don't get it.

2002-03-05 Thread Andrew Chase
Well, the 'Table' class is definitely of limited usefulness.. but where classes come in especially handy is when you want to build reusable code for handling common tasks, like, for instance, MySQL connections and queries... so that your PHP code looks something like