Re: where are the good examples of using OOP?

From: Date: Sun, 28 Sep 2003 11:09:51 +0000
Subject: Re: where are the good examples of using OOP?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-164160@lists.php.net to get a copy of this message
anders thoresson wrote:
I'm just about to take the first step into OOP with PHP. I've searched the web for tutorials, and even if there are alot, most of them use metaphores with houses or cars or other real life things to explain what classes and methods are.
http://pear.php.net http://www.phpclasses.org Both of these have excellent scripts that are OOP based.
I wonder if someone can point me to tutorials that uses real PHP examples instead, examples that shows me in a direct way how to use OOP. My biggest trouble right now is what should be the classes and what should be the methods.
As a general rule, a class is anything that can be an /object/ or a /thing/. Methods are things you can do to it.
Also, I wonder if someone could name a blog-application och web album-application that uses OOP in a good way and which I can have a look at to see how things are done.
A good OOP application for community websites is Drupal - www.drupal.org -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com

« previous php.general (#164160) next »