[Laszlo-dev] Integrating OpenLaszlo
Ron Lancaster
doc at firelord.net
Wed Jun 29 17:18:44 PDT 2005
Hi All,
I'm interested in integrating OpenLaszlo with my project (WidgetWeb -
http://www.widgetweb.com). I started by invoking the compiler
directly per the wiki at: http://www.openlaszlo.com/wiki/
Compiler_API. This was very straightforward and allows/requires
control of caching, source and target locations, etc. However, since
this bypasses the LZServlet, then it also means bypassing alot of
functionality offered by OpenLaszlo.
Looking at LZServlet, I would like to be able to do the following:
* Substitute my own permission handling - this can be done in part by
writing an alternate implementation of LZServlet. I believe also
registering an alternate Authentication servlet may be required.
* Provide the source file to the Responders rather than having them
assume the servlet's real path is the location of the file.
* Substitute own compilation manager for determining when a SWF
should be recompiled. I am still investigating how to inject this.
Guidance on the best way to solve these problems is greatly appreciated.
A start on this may be to change the contact of respond() and
respondImpl() in Responder to accept a Map (servlet parameters), File
(source to compile), and an OutputStream (ServletOutputStream of
Response).
Sincerely,
Ron Lancaster
More information about the Laszlo-dev
mailing list