[Laszlo-dev] Re: [Dev] has serverless POST and serverless raw POST been tested yet?

Adam Wolff adam at laszlosystems.com
Thu Jan 27 07:12:45 PST 2005


Henry Minsky wrote:
[snip]
  > There may be an efficiency issue in using XML.sendAndLoad(), which
  > is that in order to use it, you need to pass a Flash XML object,
  > so we would have to construct one from a text string before
  > posting it.  The XML obejct could be constructed by doing new
  > XML(yourdataset.serialize()).

I think this is the right thing. One thing to note: our current
implementation doesn't force you to make your lzpostbody be XML,
whereas this new api does force that. I think that's ok though.

  > Or, here's an idea, what if  LzDataNode, inherited from Flash's
  > XML object? Then datasets would already be Flash XML Objects, and
  > it would be more efficient to post them, because you wouldn't have
  > to serialize them and instaniate an XML object before posting. If
  > we could avoid the fixup we are doing now to convert XML into
  > LzDataElement, it would speed up data loading.  Right now we're
  > doing this to convert an incoming XML object into a dataset:
[snip]

I'd like to retain control over the DOM element implementation in
Laszlo for exactly this reason:

  >  In fact, what if LzNode inherited from LzDataNode, which
  >  inherited from Flash's XML object? Didn't Adam want to make the
  >  viewsystem look more like a DOM?
I like the first part but don't like inheriting Flash's XML object.

A



More information about the Laszlo-dev mailing list