There is probably a slight performance difference for the initial
compile because PHP is essentially doing a command-line compile so the
LPS doesn't get to do things like keep an in0memory cache. After that,
the compiled file is cached to disk.
Also, support for proxied LPS files is rudimentary right now. But the
flexibility of being able to deploy LPS where you can't run servlets is
appealing!
--
Regards,
Max Carlson
OpenLaszlo.org
Andrew Chandler wrote:
I'm curious if there is any performance difference?
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Max Carlson
Sent: Saturday, January 20, 2007 2:56 PM
To: Stefan
Cc: [email protected]
Subject: Re: [Laszlo-user] [ANN] pLPS - The PHP LPS project
Hi Stefan,
I'm working with plps now, and I want to add support for loading media in
proxied mode. Before I do this, I wanted to make sure you haven't done this
already! I got the latest version from
http://www.turingart.com/downloads/plps.zip
I set up a subversion repository here:
http://svn.lzxpatterns.com/plps/
Let me know - I'm looking forward to getting the amazon demo fully working!
--
Regards,
Max Carlson
OpenLaszlo.org
Stefan wrote:
I've packed together my initial effort to build a PHP based LPS
runtime environment. Find the archive [41,7 MByte] here:
http://www.turingart.com/downloads/plps.zip
This is a VERY first effort, which is basically some kind of a
technology demonstration. Thus, the PHP code is neither nice,
fine-tuned or security-checked.
This distribution includes a caching compiler interface and a first
provider for dynamic pLPS -> SWF transfers. The archive is
self-contained, thus you don't need another LPS installation.
In case you fix/add something, please send back your source.
Thx to the OpenLaszlo team for a great product,
Stefan
From the README:
>>>
pLPS - The PHP LPS project
Introduction
This is a very early effort to build a runtime environment, which
allows to serve non-SOLO OpenLaszlo application using a PHP-coded LPS.
Note, that you still need to have JAVA on your server to compile your
apps.
In case you only want to deploy compiled SWFs, the loader script
swfload.php is enough to use.
What's in this distribution
This distribution contains a complete compile and deploy environment
based on the original LPS 3.3.3.
Besides the stripped down LPS, certain *.lzx example files are
provided
Requirements
PHP 5.x, JAVA 1.5.x
Installation
- Put the content of the ZIP distribution archive in a directory of
your webs
- Start your web-server
- Load this document through your web-server
- Click on the samples of the next section
Sample - Simple SWF
Run (and compile if required) [Call: ?file=<filename>] animation Run
and force compile [Call: &force] animation
Sample - SWF, which loads data using dynamic dataset Run (and compile
if required) dyn
Note: You'll see some records, if pLPS provided the dynamic dataset
Cheers from sunny Kiel,
Stefan
turingart - http://www.turingart.com/
Germany :: Kiel, 2006-11-27
<<<