Results 1 to 4 of 4

Thread: Building Enterprise Application

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Touch Premium Member
    Join Date
    Aug 2010
    Posts
    198
    Vote Rating
    2
      0  

    Default 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?
    http://www.dev4.life - Software Development Blog

  2. #2
    Sencha Premium Member
    Join Date
    Jan 2008
    Posts
    62
    Vote Rating
    0
      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
    198
    Vote Rating
    2
      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.
    http://www.dev4.life - Software Development Blog

  4. #4
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,154
    Vote Rating
    247
      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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •