1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    7
    Vote Rating
    0
    badtaste is on a distinguished road

      0  

    Default Multipage application structure with Sencha CMD

    Multipage application structure with Sencha CMD


    Hello, I am quite confused and missing a good example. How to generate multipage application stucture. Not multiapplication!

    It seem the workspace is what is needed
    http://docs.sencha.com/extjs/4.2.2/#...mand_workspace
    But here it looks like description of two application (Extjs and Touch) with two namespaces that share some code
    Code:
    sencha generate workspace /path/to/workspace
    Then you can create one page with
    Code:
    sencha  -sdk /path/to/sdk-extjs generate app MyApp /path/to/myApp

    But how to generate second and other pages. I would expect to use just one namespace for pages. There is some example here

    http://localhost/dev/extjs/ext-4.2.1...mand_app_multi

    But it is quite against the first link because there is note "consider applications that do not have a workspace" Why there is example for multiple page application with no workspace and instead low-level commands are used?

    And how to make a build?

    Can someone help? Thanks.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,633
    Vote Rating
    817
    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


    You would need to setup some custom ant tasks. I'd stick with singlepage applications personally.
    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
    Sencha User
    Join Date
    Feb 2012
    Posts
    7
    Vote Rating
    0
    badtaste is on a distinguished road

      0  

    Default


    Thanks for tip, it is not perfect but I have already sticked with one page app. BT

Thread Participants: 1

Tags for this Thread