Am 28.11.2006 um 18:07 schrieb DL:

On 28 Nov 2006 at 2:29, Stefan wrote:

> > I've packed together my initial effort to build a PHP based LPS
> > runtime
> > environment.

I have run your demo on Apache2.2 + PHP5.2. It certainly runs nicely.

Thx for this confirmation!

I'm trying to understand what role swfload.php plays.

LZXManger - the main class - is planned as the main dispatcher, which

- compiles LZX files if required [or forced using the '&force' GET request parameter]
- sends SWF file to clients
- and provides remote data for non-SOLO application (see the third example)

Therefore, I'm still searching for details, which data is transferred by LPS as response
to which requests.
Currently, I'm reverse engineering each request/response pattern.

i.e. using PHP instead of command line compilation through a *.bat file?

Yes.

If 'lc' doesn't resolve dependencies - I not sure about this point - LZXManager is planned
to recursively compile all dependent targets too.

and OpenLaszlo lzc is still used as the lzx --> swf compiler?

Yes, I'm not going to reinvent the compiler itself.

I'd like to integrate the compiler into an PHP+Apache+Java environment
without the need to install and configure a Tomcat System.

I am personally able to manage the Tomcat environment, but I'm
not sure everybody else is willing to learn Tomcat/Java too.

There is an old thread in the forum explaining my experiment in integration of OpenLaszlo and PHP5 .. both running on Tomcat server, using phpservlet.war.
http://forum.openlaszlo.org/showthread.php?t=1321&highlight=PHPservlet

Ah! I'll review this thread.

With this earlier Tomcat+PHP approach, PHP code snippets can be embedded in LZX code, the compiled lzx+php code being given a special extension ... *.plzx.

I'll probably do this too using the Smarty template engine. Let's see

I'll experiment further with your alternative PHP framework.
An interesting "twist" on the idea will be to explore how swfload.php runs on Tomcat + PHP (i.e. on the same server as OpenLaszlo, instead of Apache+PHP).

I suppose, that this environment is likely to run identically.

Cu,

s

Reply via email to