On 12/11/2010 03:41 AM, Daniel Latter wrote:
Hi All,
Just wondered if anyone had any thoughts on the following:
We have a ZF app where we use memcache to cache our model classes. The issue
I have
is that we cant store the db conn on the object so we have to make a static
call to grab a
db conn in everyone of our model class methods, which seems repetitive.
Just wondered if anyone had a better approach?
Abstract the grabbing database connection logic.
--
With warm regards,
Sudheer. S
Personal home page - http://sudheer.net | Tech Chorus -
http://techchorus.net
Web and IT services - http://binaryvibes.co.in