1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    14
    Vote Rating
    0
    TouchOfDestiny is on a distinguished road

      0  

    Default Unanswered: A question about validation (in a MVC architecture)

    Unanswered: A question about validation (in a MVC architecture)


    Hi!

    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!
    David

  2. #2
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    81
    Answers
    102
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    IMHO, the validation should be done inside of the controllers if necessary. They Control the views.

Thread Participants: 1

Tags for this Thread