Am 27.11.2006 um 02:08 schrieb Benjamin Shine:

Can you share this code? I would really like to see the changes you've made to the lzc script.

These changes are not that great. In fact, I had problems setting the right environment variables. Thus, I changed the script a bit. Next, I plan to create the shell script dynamically based on parameters passed to my PHP loader. Using this technique I expect a bit more flexibility, e.g. enable the loader to serve different lazlo version which are in installed
in parallel.

Nothing great, just an idea.

I don't think you've reinvented the wheel. To my knowledge, there is currently no php-based lps server.

OK, then I'll continue. Once I reached a releasable state, I'll hand it over to openLaszlo to
put it inside the distribution - if this might be of interest.

Moreover, do we have a description, which describes the API between compiled flash apps and the lps? I'll like to implement a bit of dynamic data exchange - starting with the simplest solution first.

The right click menu items are configurable, although we would prefer that you leave in the About Open Laszlo menu item. See LzContextMenu and LzCanvas.setContextMenu(cmenu) in the reference for details. BTW, the View Source menu item should not actually show the source if you configure your php to not serve up raw lzx; the tomcat-based server uses a servlet to format and present the source.

OK, I'll mimic this behaviour. The loader should then inject the respective code
if requested by the user [by means of a CGI parameter].

Reply via email to