Re: [Components] [MvcTools] Input Validation separated from Controller

2008-06-26 Thread James Pic
Hey Joe! Thanks for, sharing yet another revelant opinion! Joe Kepley wrote: I consider it to be very important for clean code to separate the input validation from any action or logic. This can be best reached by having different methods for this two tasks. The actual controller

Re: [Components] [MvcTools] Input Validation separated from Controller

2008-06-26 Thread James Pic
Hi, thanks for your suggestion! Thomas Koch wrote: I consider it to be very important for clean code to separate the input validation from any action or logic. This can be best reached by having different methods for this two tasks. I agree with that (although it is not the most important, i'll

Re: [Components] [MvcTools] Input Validation separated from Controller

2008-06-26 Thread Derick Rethans
On Wed, 25 Jun 2008, Thomas Koch wrote: thanks for your work on this component! There is only one issue, about which I'm not sure if it is adressed by the request filter or not. I consider it to be very important for clean code to separate the input validation from any action or logic.

Re: [Components] [MvcTools] Input Validation separated from Controller

2008-06-26 Thread Thomas Koch
Am Donnerstag 26 Juni 2008 10:58:08 schrieb Derick Rethans: On Wed, 25 Jun 2008, Thomas Koch wrote: thanks for your work on this component! There is only one issue, about which I'm not sure if it is adressed by the request filter or not. I consider it to be very important for clean

Re: [Components] [MvcTools] Input Validation separated from Controller

2008-06-25 Thread Joe Kepley
I consider it to be very important for clean code to separate the input validation from any action or logic. This can be best reached by having different methods for this two tasks. The actual controller action method should be invoked only with verified data and should not have to care