Hi Jim Could you show me where I find an example for me to learn more about? I would like to implement a web server that Supports JSON-RPC and serialize application state into JSON as you indicated.
Thanks, [] Em sexta-feira, 2 de novembro de 2012 17h57min01s UTC-2, Jim Washington escreveu: > > On Fri, 2012-11-02 at 08:03 -0700, rafamachadoalves wrote: > > Hi > > > > > > How can I code OPEN/SAVE file functionality? > > > > > > I'm using an application like the example "Absolute Position Drag and > > Drop" of http://pyjs.org/examples/DNDTest.html > > in which the user creates, positions, drag and drop the widgets. > > > > > > I would like to save application state in a file to open it later. > > > > > > Hi, Rafa > > You want a web server that supports JSON-RPC behind your application. > Serialize application state into something like JSON or xml, and > communicate that to and from the server through JSON-RPC. Let the server > do the actual storage and retrieval. For storage flexibility, I would > use some sort of database rather than flat files. > > - Jim Washington > > > --
