Hybrid View

  1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    22
    Vote Rating
    2
    wisonye is on a distinguished road

      0  

    Default Unanswered: Who can tell me how to do this: multi module structure of MVC

    Unanswered: Who can tell me how to do this: multi module structure of MVC


    I have the existing sencha ExtJS Project using multi module directory structure like this:


    Code:
    app
    |
    |---controller
    |   |
    |   |--------- CMS
    |   |     |
    |   |     |------ New.js
    |   |     |------ Query.js
    |   |     |------ ...
    |   |
    |   |--------- Tracking
    |          |
    |          |------ Save.js
    |          |------ Query.js
    |          |------ ...
    |---view
    |  |
    |  |--------- CMS
    |  |     |
    |  |     |------ New.js
    |  |     |------ Query.js
    |  |     |------ ...
    |  |--------- Tracking
    |         |
    |         |------ Save.js
    |         |------ Query.js
    |         |------ ...
    |---model (...same module structure )



    So for example, TrackingSaveController class name is :
    "MyApp.controller.tracking.Save"
    But in architect ONLY can has One layer/directory/folder/namespace, how can i do it? or should ask: How can i import that project into the architect? Thank you for your help

  2. #2
    Sencha Premium Member
    Join Date
    Dec 2012
    Location
    Sunnyvale, CA
    Posts
    139
    Answers
    12
    Vote Rating
    8
    MikeRH will become famous soon enough

      0  

    Default


    I could be completely missing the point of your question but to create the structure you just type it into each class name like you would if you were hand coding it.
    Attached Images

Thread Participants: 1