Re: Learning about classes
| From: | Kevin Beckford | Date: | Thu, 22 Jun 2000 14:58:31 +0000 |
| Subject: | Re: Learning about classes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2631@lists.php.net to get a copy of this message | ||
Subject: Re: [PHP-GENERAL] Learning about classes
> you do not need to learn classes to do some neat stuff in PHP. since your
> do not come from a OOP background, don't try to start learning direct OOP
> on PHP. try the simple procedural programming and once you are comfortable
> with it, and *very interested* in classes ;) try the tutorial at
The above is true, but if you want to use classes, use them now. PHP class
support is ideal for learning, as all of the tricky cool stuff does not work.
The key here is the problem solving process that goes on in procedural vs OO
programming. OOP uses a different problem solving algorithm, and it's best to
try to use that all the time in order to master it. To learn: Grab a basic
book on Java - that is a pretty pure oop language, and read the section about
classes (I know that it's there!). Get an idea from that, and start writing
code thinking in that fashion. Good Luck, and check the archives for posts
dealing with classes and php, or search for threads involving Szii :) That will
let you know about the limitations of classes in php.
Cheers