[Laszlo-user] Dataset Persistence
mushtaq.a at gmail.com
Wed Apr 13 03:16:03 PDT 2005
Thanks. Can we use "PUT' and "DELETE" methods for http in Laszlo?
Henry Minsky wrote:
>You could implement something like that in several different ways, but I think
>some sort of very simple XML over HTTP protocol is the right approach.
>You can call "serialize()" on a dataset to write it out as XML, and
>can thus post that
>to any URL that you wish. It is then up to you how your server back-end
>persists that data. At the very least you probably are going to need
>some sort of
>session id or user login id so that different users don't overwrite
>the same data
>record on the server.
>On 4/13/05, Mushtaq Ahmed <mushtaq.a at gmail.com> wrote:
>>I am looking at the Laszlo docs for XML data binding. Specifically at
>>Can I persist the updates to "phonebook.xml"? I think I can not because
>>once I refresh the page all the updates are gone. Why can not I open a
>>server side resource like "../phonebook.xml" in "read-write" mode, such
>>that all the updates/deletes/inserts to the dataset bound to the
>>resource persist even after I close the application. This will really
>>make the job of prototyping really simple. I do not want to use dynamic
>>http resources/RCP to do that.
>>Thanks in advance.
>>Laszlo-user mailing list
>>Laszlo-user at openlaszlo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Laszlo-user