Re: [fw-general] MVC design question

2010-10-30 Thread Marian Meres
If the duplication is isolated to that particular controller only, why not just simply create a no action method to be called in those two actions... the controller is still just a regular class. m. On Sat, Oct 30, 2010 at 12:41 AM, Hector Virgen djvir...@gmail.com wrote: You can probably place

Re: [fw-general] MVC design question

2010-10-30 Thread Christian Riesen
Marian has brought it to the point. Simply create a function that does the same thing over and over. I have created an abstraction of the controller which I extend for all controllers and in that have a function that goes a bit like this. No guarantees as it's stripped down from a slightly more

Re: [fw-general] MVC design question

2010-10-30 Thread Jurian Sluiman
On Saturday 30 Oct 2010 09:50:56 Marian Meres wrote: If the duplication is isolated to that particular controller only, why not just simply create a no action method to be called in those two actions... the controller is still just a regular class. m. For me, it's more clean for a