Thanks Abraham for your comments!

 

From: Abraham Block [mailto:[email protected]] 
Sent: Wednesday, July 29, 2009 6:43 PM
To: Vibhor Singh
Cc: [email protected]; [email protected]
Subject: [fw-general] Re: [fw-mvc] - Where to put common DB calls

 

I would suggest either to use a DAO pattern to encapsulate all your database
calls in a well known area, or to read in your queries from some kind of
configuration file (a "named query") approach. This will help from having
SQL queries spread like an infestation of ants.

Is there anything specific that you had in mind?

On Wed, Jul 29, 2009 at 9:07 AM, Vibhor Singh <[email protected]> wrote:

Hi,

 

Can someone plz  tell me whether there is any  provision in ZF where  I can
put my common DB related functionalities, something like how action helpers
is to controllers?

All suggestions are welcome.

 

Thanks,

Vibhor

 

 

Reply via email to