1. #1
    Sencha User
    Join Date
    Aug 2007
    Posts
    184
    Vote Rating
    0
    deitch is on a distinguished road

      0  

    Default Store with persistence, transactions, retrieving from other stores

    Store with persistence, transactions, retrieving from other stores


    Per the previous threads in Help and extensions in Ext 1.x, I have cleaned and packaged up the extension to Ext.data.Store. All classes are extensions in Ext.ux of existing classes in Ext.data. Main features are as follows:
    1. Ext.ux.HttpWriteProxy that can handle writing in addition to reading.
    2. Ext.ux.JsonWriterReader that can convert Records into Json in addition to its usual job of reading Json into Records.
    3. Ext.ux.ObjectReader that can convert POJSO (plain old JavaScript object) into Record and vice-versa
    4. Ext.ux.WriteStore that has full transactions (see the README)
    5. Ext.ux.WriteStore also has full support for writing back to the source
    I also intend to write Ext.ux.XmlWriterReader, but have not gotten to it yet.

    Setting up the server side is the responsibility of the user.

    ------
    The entire set of libraries, along with the GPL license and other non-Ext-related libraries, has been released to its own Website at jsorm.com.
    Last edited by deitch; 8 Apr 2008 at 6:47 PM. Reason: Latest release - 2008.03.03

  2. #2
    Ext JS - Development Team J.C. Bize's Avatar
    Join Date
    May 2007
    Location
    Bay Area, CA
    Posts
    179
    Vote Rating
    0
    J.C. Bize is on a distinguished road

      0  

    Default


    Excellent work... I can't wait to play with this.

    Thanks for the thorough documentation.

    Cheers,
    JC

  3. #3
    Sencha User trbs's Avatar
    Join Date
    Mar 2007
    Posts
    310
    Vote Rating
    0
    trbs is on a distinguished road

      0  

    Default


    me too, thanks!
    I'm part of the Ext Community
    Maintaining: Translations and some Examples
    Developing on: ExtJS Python Builder / Gozerbot
    Places: Ido.nl.eu.org / My ExtSamples / Trbs on Wiki / IRC

  4. #4
    Ext User
    Join Date
    Oct 2007
    Posts
    6
    Vote Rating
    0
    tofsteel is on a distinguished road

      0  

    Default


    really good job deitcher...

    congratulations...

    note : line : 395 code : o.request.callback.call(o.request.scope, result, o.request.arg,true)

    what is result variable? firebug say error this line. result is not define.

  5. #5
    Sencha User
    Join Date
    Aug 2007
    Posts
    184
    Vote Rating
    0
    deitch is on a distinguished road

      0  

    Default


    Doh! Clearly, something slipped through. I didn't remotely believe it was possible I released something bug-free, so all I can say is, thank you for catching it!

    I will work this through over the next few days and re-release the library.

  6. #6
    Ext User
    Join Date
    Jun 2007
    Location
    Sydney, Australia
    Posts
    40
    Vote Rating
    0
    ElliotS is on a distinguished road

      0  

    Default


    Great work!

  7. #7
    Sencha User
    Join Date
    Aug 2007
    Posts
    184
    Vote Rating
    0
    deitch is on a distinguished road

      0  

    Default


    OK, this is fixed. I am just reworking my ant build file and will have a fixed version posted by the end of the day.

  8. #8
    Sencha User
    Join Date
    Aug 2007
    Posts
    184
    Vote Rating
    0
    deitch is on a distinguished road

      0  

    Default


    Thank you, ElliotS.

  9. #9
    Sencha User
    Join Date
    Aug 2007
    Posts
    184
    Vote Rating
    0
    deitch is on a distinguished road

      0  

    Default Modified version

    Modified version


    I cleaned up that bug that you kindly found. Feedback is always appreciated.

    Avi
    Attached Files

  10. #10
    Sencha User
    Join Date
    Jan 2008
    Posts
    9
    Vote Rating
    0
    shprota is on a distinguished road

      0  

    Thumbs up Thank you!

    Thank you!


    This is just what I was looking for. Will play with it today.