[Laszlo-dev] kernel data loader API updated
henry.minsky at gmail.com
Mon Aug 21 18:39:28 EDT 2006
This is the currently implemented API. Probably needs another pass at some
point, there are
two places where LFC objects are being passed across the API that could be
done more neatly:
1) The constructor for LZHTTPLoader takes an LzDataset as an arg. This is
sort of a violation of
the kernel barrier abstraction. I didn't want to touch LzLoader on this
pass, but for the next pass over
this code I am planning to use callbacks and the LzXMLParser and
LzXMLTranslator APIs to
make this more modular across the LFC/kernel boundary.
2) The loadSuccess callback passes an LzDataElement back. It should instead
pass a string or native XML object
which is then passed to the LzXMLTranslator API, see above.
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Laszlo-dev