Hybrid View

  1. #1
    Touch Premium Member
    Join Date
    Aug 2010
    Posts
    195
    Vote Rating
    2
    hitman01 is on a distinguished road

      0  

    Default Building Enterprise Application

    Building Enterprise Application


    I'm trying to come up with the best architecture for enterprise (very large) application.

    First of all, I would like to say that I really like the idea of having both back-end and front-end MVC. Everything is well organized and its easy to navigate.

    However, when you are dealing with very large applications, it becomes difficult to manually write hundreds of front-end files (models, stores, charts, etc). So now it becomes necessary to auto generate these classes using the back-end. But now you are going back to mixing back-end code with front-end.

    What is the best way to achieve this?

  2. #2
    Sencha User
    Join Date
    Jan 2008
    Posts
    62
    Vote Rating
    0
    iulian is on a distinguished road

      0  

    Default


    Why generate them? Create a template which gets populated with JSON data from the bakend. Your class should know how to interpret the data and render the right component.

    Good luck!
    Iulian

  3. #3
    Touch Premium Member
    Join Date
    Aug 2010
    Posts
    195
    Vote Rating
    2
    hitman01 is on a distinguished road

      0  

    Default


    Thats is exactly what I'm looking for.

    However, how do you deal with models for example. Models require fields mapping so later it could build grids etc. Same goes for charts. Charts require number of lines etc.

    I'm sure there is a good/clean way to do this. Perhaps someone has some examples.

  4. #4
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,913
    Vote Rating
    179
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    If you're going to deliver the class files dynamically could you do a DB query for the data the model will manage and use the response to build the model's fields?

Thread Participants: 2

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