Exactly.

::: Diego Potapczuk

»» Analista de sistemas
»» Tel: (71) 3287-8343 / (71) 9144-3062
»» http://www.diegoliveira.com.br


On Wed, Dec 2, 2009 at 9:22 AM, Vincent de Lau <vinc...@delau.nl> wrote:

> Consume basically means 'one object using another object'.
>
> Basically what it boils down to, is that you should move the code from the
> controller to an object in the Model layer (a Service is suggested). Both
> controllers can than consume/use this service to get their work done.
>
> Controllers should be thin and use Models to do the work. I can suggest
> reading http://www.survivethedeepend.com/ for more information on the
> subject.
>
> Vincent de Lau
>  vinc...@delau.nl
>
> > -----Original Message-----
> > From: tonystamp [mailto:tonyst...@hotmail.co.uk]
> > Sent: Wednesday, December 02, 2009 12:34 PM
> > To: fw-general@lists.zend.com
> > Subject: Re: [fw-general] "observe" controller action
> >
> >
> > Thanks for the reply, but could you elaborate a bit more- what do you
> > mean by consume?
>
>

Reply via email to