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

Reply via email to