1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    6
    Vote Rating
    0
    HJM is on a distinguished road

      0  

    Default Extjs4 MVC

    Extjs4 MVC


    Hello,
    I'm trying to use Extjs4 MVC to achieve a manager system.So I need a Login page and system Index page.After login success,the page will jump to the index.html(The system main menu) .And If my Login page starting with Ext.application,and the index page also starting with Ext.application? How can I design the system with MVC mode?Can you give some suggestions?Thanks a lots!
    Ben.

  2. #2
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Chisinau, Moldova
    Posts
    647
    Vote Rating
    25
    vadimv will become famous soon enough vadimv will become famous soon enough

      0  

    Default


    Web apps based on ExtJS4 are supposed to be single browser page(.html/.php). In your case you can use a card layout which will help you to switch between pages(cards on same .html) based on some conditions, and you will have one workspace/Ext.application

  3. #3
    Sencha User
    Join Date
    Sep 2012
    Posts
    12
    Vote Rating
    0
    TopoFurnier is on a distinguished road

      0  

    Default


    interesting, is there any example or an in-depth explanation on how a many-page-site navigation flow should be implemented in accordance with extjs4 standards?

    Lets say that we have a 3-staged flow:
    1. a login
    2. category/view selection
    3. data manipulation

    each stage is clearly separated from each other, with different views, hitting different services, only sharing some small stuff like css files. What would be the correct approach on this scenario?

    Thanks,
    Topo.

  4. #4
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Chisinau, Moldova
    Posts
    647
    Vote Rating
    25
    vadimv will become famous soon enough vadimv will become famous soon enough

      0  

    Default


    the same approach described above, with card layout. If you have a large application then you split it up in subapplications, each subapp providing a specific similar or related group of functionalities, this is more complicated, but is achievable.

    An example for a good start could be http://www.sencha.com/forum/showthread.php?152143

    Also you can make authentication part in html&php, for example if in your backend you have an MVC php framework, after login you just redirect to a php view which has the links to your js files.

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar