1. #1
    Sencha Premium Member MichaelOstrovsky's Avatar
    Join Date
    May 2008
    Location
    Tel Aviv, Israel
    Posts
    135
    Vote Rating
    6
    MichaelOstrovsky is on a distinguished road

      0  

    Thumbs up advenced application design

    advenced application design


    Hello. ive been learning and experiencing extjs for 2 months for now, and finally finished my first app. now , im starting a big and endlessly long project, and need to make it very clean, extensible and maintainable. so i want to ask you for feedback about the concept of the application design i decided about, after reading alot of documentations and extjs source codes.

    the concept is that every part is a component(or observable if needed), and at the same time, its an extension.
    so, i have the main app which is extension of panel.
    next i have parts of it:
    part1 is extension of panel, wich have an 'init' function that adds part1 to the app panels' childs, as well as few required items/methods.
    so, in app.initcomponent will be something like this :


    var part1=new Part1({
    region:'center',
    border:false,
    ...
    someRequiredStore:anotherpart.store,
    listeners:{action1:anotherpart2.dosomething,...}
    })
    ...

    Ext.apply(this,{
    plugins:[part1,part2,part3]
    })

    that way , i hope can get maximum extensibility , and as a bonus - i will be able to saparate the components and test and develop each one saparetely ( maybe with unit tests too ), without loading all app, and work with an (hopefully) upcoming team , where each one will develop another component .

    what do you think ppl? should i go for it ?
    many tnx

  2. #2
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    5
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default


    Have you read the (several) tutorials this subject?

  3. #3
    Sencha Premium Member MichaelOstrovsky's Avatar
    Join Date
    May 2008
    Location
    Tel Aviv, Israel
    Posts
    135
    Vote Rating
    6
    MichaelOstrovsky is on a distinguished road

      0  

    Default


    yes i have read the 'app design for beginners' tutorial, many tutorials & posts about extending components, and also some of the source code of ext components & few user extensions.

    the deal is nothing there gives guidelines for the core app design of big applications, so i proposed i can use my experience from non-web projects for this. i would only like to know if im missing something serious which will cost alot of resources and time later.

  4. #4

Thread Participants: 1

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