RE: [PHP] Object oriented??

From: Date: Fri, 26 Jul 2002 04:39:36 +0000
Subject: RE: [PHP] Object oriented??
Groups: php.general 
Request: Send a blank email to php-general+get-109667@lists.php.net to get a copy of this message
It has been mentioned before the various reason when OOP in PHP is handy: 1. There is more than one programmer 2. The project is large 3. There is a need for a common code library across many projects 4. You're modelling something in the real world 5. You're used to OOP I can't think of any other reasons at the moment. Basically, if you think OOP will come in handy, use it. If you think modular programming will do, use that. HTH Martin -----Original Message----- From: Mike Mannakee [mailto:mike@basementideas.com] Sent: Friday, July 26, 2002 2:22 PM To: php-general@lists.php.net Subject: [PHP] Object oriented?? I'm curious how the OOP features are viewed in PHP. I'm originally a C++ guy, and took to PHP because of the similarity. In C++ one wouldn't think of not using OOP principles, but frankly I cannot really figure out why one would go to OOP methods in PHP. It's not a true OOP implementation, though for web stuff it's probably close enough. I've written nothing but traditional code in PHP and like it that way. How common is this? Do most people write OOP or traditional linear code in PHP? Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#109667) next »