A question about validation (in a MVC architecture)
I'm developing a new site and I would like to use ExtJS 4 in a MVC architecture (described in the guides of this site). This site has a lot of dialogs (basically windows elements with forms) and controllers.
I would like to ask you where you would insert form validation of all those dialogs?
In the controllers? In the windows (views)? Consider that I call those dialogs from different controllers.
Thank you very much in advance for any advice!
IMHO, the validation should be done inside of the controllers if necessary. They Control the views.
Tags for this Thread