1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    6
    Vote Rating
    0
    milesphillips is on a distinguished road

      0  

    Default Subfolders for Views, Models and Stores

    Subfolders for Views, Models and Stores


    Hello, I'm currently working on a rather large application and the plan is to split up views, models and stores into folders by "module" to help organize the code. Does Sencha Architect currently have any way to handle this?

  2. #2
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,261
    Vote Rating
    79
    ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough

      0  

    Default


    You can put a prefix on each component name, example:

    accounts.MainWindow

    Will be generated as

    /app/views/accounts/MainWindow.js

    Regards.
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    6
    Vote Rating
    0
    milesphillips is on a distinguished road

      0  

    Default


    Thank you very much. That worked perfectly.

  4. #4
    Touch Premium Member BostonMerlin's Avatar
    Join Date
    Aug 2010
    Location
    Boston
    Posts
    512
    Vote Rating
    41
    BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about

      0  

    Default


    now, if architect would actually show these in a folder, that would be great.

  5. #5
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,100
    Vote Rating
    113
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Quote Originally Posted by BostonMerlin View Post
    now, if architect would actually show these in a folder, that would be great.
    we've got this in the plans!
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  6. #6
    Sencha User
    Join Date
    Feb 2013
    Posts
    35
    Vote Rating
    0
    leksodav is on a distinguished road

      0  

    Default folders

    folders


    and is it possible ? I mean folders on architect and not after generating/publish

  7. #7
    Sencha User
    Join Date
    Feb 2013
    Posts
    35
    Vote Rating
    0
    leksodav is on a distinguished road

      0  

    Default


    is it still on plans or?

  8. #8
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,100
    Vote Rating
    113
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Yup, it's still in the plans but will definitely be after 3.0.
    Aaron Conran
    @aconran
    Sencha Architect Development Team