1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    2
    Vote Rating
    0
    AyKarsi is on a distinguished road

      0  

    Default Nesting multiple MVC Applications

    Nesting multiple MVC Applications


    I want to create a rather complex app with the following architecture:

    MainApp
    - Views
    - Stores
    - Controllers

    Exensions.App1
    - Views
    - Stores
    - Controllers

    Exensions.App2
    ...

    The main app would be responsible for loading and controlling the Extension Apps.
    The Extension Apps should be independent of each other and would only require some core/common components to run outside the Main App.

    Is this approach feasible at all?

    In my current approach I've gotten the main and an extension app to run separately, but not the main app to load an extension.
    My extension app lools something like this:
    Code:
    Ext.define('ISA.extensions.customer',{
        extend:'Ext.app.Application',
        alias:'customer',
        name: 'ISA.extensions.customer',
        appFolder: 'app',
        controllers: [
            'Users'
        ],
        launch: function() {
            Ext.create('Ext.panel.Panel', {
                layout:'border',
                height: 400,
                renderTo:  this.renderTo,
                defaults: {
                    collapsible: false,
                    split: false,
                    bodyStyle: 'padding:0px'
    
    
                },
                items: [{
                    title: 'Customer App',
                    region:'center',
                    margins: '0 0 0 0',
                    cmargins: '0 0 0 0',
                    width: 175,
                    minSize: 100,
                    maxSize: 250,
                    items: {
                        xtype: 'userlist'
                    }
                }]
            });
        }
    });

  2. #2
    Sencha User
    Join Date
    Aug 2008
    Posts
    51
    Vote Rating
    7
    TonySteele is on a distinguished road

      0  

  3. #3
    Ext JS Premium Member westy's Avatar
    Join Date
    Feb 2009
    Location
    Bath, UK
    Posts
    894
    Vote Rating
    39
    westy is a jewel in the rough westy is a jewel in the rough westy is a jewel in the rough

      0  

    Default


    There was a guy at SourceDevCon who chatted about this, and it seemed to work well...

    Here's his github: https://github.com/Fredric/ExtJS-Multiple-MVC
    I've not had a chance to look at it yet.
    Product Architect
    Altus Ltd.

Thread Participants: 2

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi