Hybrid View

  1. #1
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    16
    Vote Rating
    0
    gmui is on a distinguished road

      0  

    Question ExtJS Forms - Direct or Store / Proxy?

    ExtJS Forms - Direct or Store / Proxy?


    I'm new to ExtJS and ExtDirect and had a general question about the best approach for binding Forms / Grids to the server side.

    I know that there are prescribed ways of integrating a Form to ExtDirect directly (through the api configuration of the BasicForm) but if I have a model and store defined for objects, is it better to use non-Form specific ExtDirect calls to get and save records into the Model and then use have the Form load / update records through a Proxy that uses ExtDirect?

    Thanks,
    Gary

  2. #2
    Sencha - Ext JS Dev Team
    Join Date
    Jun 2011
    Location
    San Diego, CA
    Posts
    205
    Vote Rating
    40
    nohuhu has a spectacular aura about nohuhu has a spectacular aura about nohuhu has a spectacular aura about

      0  

    Default


    gmui,

    I would go the second way, if only to have an interface that is not bind to a form and can be reused in different part of the application.

    Regards,
    Alex.

  3. #3
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    16
    Vote Rating
    0
    gmui is on a distinguished road

      0  

    Default Thanks

    Thanks


    Thanks for the reply. We pretty much decided the same thing.

Thread Participants: 1

Tags for this Thread