Results 1 to 2 of 2

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

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    May 2011
    Location
    Auckland
    Posts
    45
    Answers
    1
    Vote Rating
    3
      0  

    Default 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
    Seattle, WA
    Posts
    347
    Answers
    28
    Vote Rating
    44
      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 Attached Images

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •