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 <vib...@pivisions.net> 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 > > >