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
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)
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
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
4 matches
Mail list logo