Henry Minsky wrote:
> On Mon, Jan 12, 2009 at 5:59 PM, Justin Clift <[email protected]> wrote:
<snip>
>> Any idea if OL will support JSON in the reasonably near future?  Being
>> able to authenticate to a different host&port would really help being
>> able to scale cost effectively. ;>
> 
> We haven't really done a design for a JSON data API, but Openlaszlo does
> use JSON internally for some things; the Java RPC and XMLRPC services
> actually consume JSON sent from the server.  So there is a JSON parser (in
> lps/components/rpc/library/json.js) which works in all the runtimes.
> 
> If you're using the DHTML runtime, the code which loads <import> libraries
> at runtime uses a routine to load a script file from a server, it is
> lz.embed__dhtmlLoadLibrary(url)
> (defined in lps/includes/source/embednew.js, as part of the HTML wrapper ).
> 
> I suppose that might work to load a JSON document as well if there
> were some convention
> as to where the JSON value gets stored when it is loaded.

Thanks Henry.  Am still getting a feel for the capabilities of this
platform while prototyping.  Have already moved into the next piece
needing doing, but will likely revisit this when closer to planning the
live deployment. :)

Regards and best wishes,

Justin Clift


> But we definitely should look at how to integrate JSON data better.


-- 
Salasaga  -  Open Source eLearning IDE
              http://www.salasaga.org

Reply via email to