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
 [email protected]

> -----Original Message-----
> From: tonystamp [mailto:[email protected]]
> Sent: Wednesday, December 02, 2009 12:34 PM
> To: [email protected]
> 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