Hi Richard,

We use an OO model with a factory design-pattern. The factory loads
objects from the database only once and then caches them for the
entirety of a particular transaction.  Once the transaction is
finished the cache is dropped. We got an 70-90% performance
improvement just using this approach.

Cheers,
Bruce

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to