RE: [PHP] OO PHP question

From: Date: Tue, 26 Aug 2003 20:01:15 +0000
Subject: RE: [PHP] OO PHP question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-160847@lists.php.net to get a copy of this message
http://www.php.net/oop http://php.resourceindex.com/Documentation/Class_Design_and_OOP/ http://www.evolt.org/article/PHP_Intro_to_Objects_and_Classes/17/48911/i ndex.html -----Original Message----- From: Mike Zornek [mailto:listguy@mikezornek.com] Sent: Tuesday, August 26, 2003 11:01 AM To: php-general@lists.php.net Subject: [PHP] OO PHP question I'm just beginning a new PHP system and would like to do it in an OO way. I'm having trouble getting my head around how I should store the data in the MySQL db. I mean do I build model objects in PHP and put logic right in the model so anytime I set a property of the object it makes the change to the DB right there and then (which may get chatty) or do I build model objects and then on pages, initialize them from the DB, do my work and send all the data to the db in one shot? Everything I've done in PHP has been procedural till this point so I'm up for any advice, articles, links, etc. ~ Mike -- Mike Zornek Extreme geek in training http://MikeZornek.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#160847) next »