Creating functions is a real easy part of programming.  Classes are a
differect story (or at least at first).  Anyway,  If I were you, I would get
Professional PHP4 by Wrox and read the OOP section.  I would first start
writting functions.

Think if it like this, if you use exact code twice (you cut and paste it)
write a function.   If you use code that is ninety or eighty percent similar
make a function.  Figure out how to do that and then worry about classes.

The problem with books on classes are that they tell you how/when to use a
lightswitch but they dont tell you how to turn it on. I have been thinking
about writing an article about how to turn the figurative light switch on
when it comes to classes.

Have you been writting functions?

Cheers!

Leonard.

-----Original Message-----
From: Sascha Braun [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 3:22 AM
To: PHP General list
Subject: [PHP] Object oriented Programming


Hi,

I need a basic Tutorial on how to write objectoriented Scripts in PHP,
like classes and functions I can use at many places.

If there is something like that, please tell me where I can find it (Book
or Web).

Thank Ya'll

Sascha


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to