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:[EMAIL PROTECTED] 
Sent: Tuesday, August 26, 2003 11:01 AM
To: [EMAIL PROTECTED]
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to