Yeah they're abstracted which puts you in the 99% percentile of good apps out there in my opinion!pytrin wrote:I'm not really getting you. Yes, I am checking for POST submission in the controller but that method is part of the API (of the controller). The validation is part of the Model's API. Both are abstracted away - and are resued within the controller. So what are the cons in that?
I'm just saying the actual process of checking for a post request, asking the model to validate, pushing errors to the view is a repeating sequence, that very realistically may need to be maintained in the future. Although if you have only a few K of controller code I don't see 10 lines of duplication being a big deal, but it is duplication that can be very easily avoided. The good part about OO is you can refactor it later, "just in time" ( when you start feeling the pains of doing it the linear way, in my opinion which you will eventually one day on one project )
Also you won't have all your controllers abstracted, there are going to be some oddballs that have to completely override the whole action