RE: [PHP] OOP vs procedural

From: Date: Tue, 06 May 2003 23:16:41 +0000
Subject: RE: [PHP] OOP vs procedural
Groups: php.general 
Request: Send a blank email to php-general+get-146595@lists.php.net to get a copy of this message
I've seen only one reply to the original message, so here's my 2c worth I use OO to prevent too many global variables floating around the place. In this company, there's 1,000's of globals, and very often they interfere with each other. I am (with the help with someone else) trying to move all the core code to use OO so we don't have this problem. I think that there's a place for both styles. Self-contained functions can stay by themselves, functions that interact with each other naturally lend themselves to objects... -----Original Message----- From: Info@Best-IT [mailto:info@best-it.biz] Sent: Wednesday, May 07, 2003 1:59 AM To: PHP general Subject: [PHP] OOP vs procedural Between these 2 styles of writing PHP which is better usually: C-style, using include files containing paths to libraries? Object Oriented: everything is structures with class files? Thanks, /T -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#146595) next »