|
Posted by Jerry Stuckle on 08/14/07 10:21
larry@portcommodore.com wrote:
> I am working on a DB for family data, and in this application the data
> spans variable amount of rows in multiple tables (one for the adults
> data, one for "family", one for the kids, another for employment
> schedule, and another for businesses, etc.). I was thinking on
> selecting the entire family (IDs of all the related records) and
> storing them in a session array for easy access (from script to
> script) as I edit the data, but am wondering if there is a better way;
> what other methods do any of you guys have have?
>
> Am I correct in thinking this could be contained in a class? (I kinda
> get classes but not all the way yet) And if a class is a good thing
> - how is it persistent from script to script?
>
I agree with Erwin. If your database is properly designed, access to
your data will be fast. Much better than keeping it in the session.
Objects (instantiations of classes) are just like other variables - no
more and no less persistent.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|