[Laszlo-user] Dataset Persistence
Henry Minsky
henry.minsky at gmail.com
Wed Apr 13 06:06:02 PDT 2005
Those are not supported (by the underlying Flash player, that is).
On 4/13/05, Mushtaq Ahmed <mushtaq.a at gmail.com> wrote:
> 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
> "Updating Datasets":
>
> <http://www.laszlosystems.com/lps-2.2/docs/guide/data_app.html#d0e17431>
>
> 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.
>
> -Mushtaq
>
> _______________________________________________
> Laszlo-user mailing list
> Laszlo-user at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>
>
>
>
>
>
> _______________________________________________
> Laszlo-user mailing list
> Laszlo-user at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>
>
>
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
More information about the Laszlo-user
mailing list