1. #1
    Ext JS Premium Member prakashpaudel's Avatar
    Join Date
    May 2009
    Location
    Kathmandu, Nepal
    Posts
    58
    Vote Rating
    0
    prakashpaudel is on a distinguished road

      0  

    Default How to manage large project with sencha command?

    How to manage large project with sencha command?


    I see, the sencha command generate each and every apps independently with all required ext framework files and even more with only one theme resources. May be I am not more familiar with sencha command.
    I looked into both the single page and multiple pages examples, but I found it won't fit for my scenario.

    My requirement is like

    Code:
    approot/
      lib/
      applications/
        MyApp1/
        MyApp2/
        MyApp3/
      utils/
      ext/
      resources/
      themes/
        default/
        gray/
        neptune/
    somewhat like this. This can be done manually simply. Anyone managing similar projects with sencha commands?


  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,004
    Vote Rating
    847
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    So you have tried creating a workspace and apps within the workspace?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Ext JS Premium Member prakashpaudel's Avatar
    Join Date
    May 2009
    Location
    Kathmandu, Nepal
    Posts
    58
    Vote Rating
    0
    prakashpaudel is on a distinguished road

      0  

    Default


    Thanks, workspace is what I needed. Still the theming is application specific. May be I can use workspace for it too. But I am stuck at the build which seems to be a bug seen somewhere in forum. waiting for newer build after 3.1.0.130

  4. #4
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,344
    Vote Rating
    134
    dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all

      0  

    Default


    In Sencha Cmd 3.1 and Ext JS 4.2, themes are now packages which can be shared by applications in a workspace.

    While Cmd 3.1 does support Ext JS 4.1, the new theme packages feature is not supported by Ext JS 4.1.x.

    The latest Cmd 3.1 (RC2) supports Ext JS 4.2 GA - http://www.sencha.com/forum/showthre...-Now-Available
    Don Griffin
    Ext JS Development Team Lead

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"

  5. #5
    Sencha Premium Member
    Join Date
    Nov 2012
    Location
    Bangalore
    Posts
    79
    Vote Rating
    1
    rupamkhaitan is on a distinguished road

      0  

    Default


    Hi even

    I am facing same issue

    My structure looks like

    Code:
    MainProject/
       src/
          app/
               controller/
               model/
               view/
               store/
               app.js
       packages/
       saas/
       assets/
       build.xml
    
    
    Common/
               src/
                    component/
                    model/
    
    Thirdparty/
         libs/
             ext-4.2/
                 src/
                 build/
             ext-4.1.3/
                 src/
                 build/
    So my thirdparty will have all extjs lib which will be used by all my projects. Common project will contain all common component.

    How can i design the build file using sencha cmd 3.1.1.274 & extjs 4.2

    Please help

  6. #6
    Sencha User
    Join Date
    Jun 2008
    Posts
    37
    Vote Rating
    0
    Psychokrameur is on a distinguished road

      0  

    Default


    Hi,

    Did you solve your architecture problem?
    I have something which is close to this...

    Thanks