PDA

View Full Version : laszlo on pure LAMP server.


anshuman
04-04-2005, 02:11 PM
hello , i am master LAMP developer. I have no idea of tomcat. i used to develop small web apps in java some 3 years ago.. so right now lets say i am noob in java too.

the server is Redhat 9 with LAMP running (linux Apache Mysql Php) now how to setup laszlo along side LAMP? will laszlo sleep in same bed with lamp?

if this is sucessfull i will announce laszlo hosting.

Hope to have good answers from you guys/gals.

:-)
Anshuman
Codemills.com/blog

yossie
04-04-2005, 02:26 PM
Server-based Laszlo deployment requires a servlet container such as tomcat or jetty. There is no way around this. You can't host it with just LAMP - sorry to say.

HOWEVER, you can use mod_jk to connect your Apache to a servlet conatiner to make accessing the server not require another port and work through the web server. The "developer" package shows clearly how this is done.

Finally, there is a serverless mode making it's debut in OpenLaszlo Server 3.0 (note the new name). This will basically allow you to compile .lzx programs into .swf files which can be served up by your existing LAMP environment. However, there are many featuers that will work differently, or not work at all, in this mode. The exact details will be in the release notes.

- Yossie

anshuman
04-04-2005, 02:49 PM
does this means i shud probably wait for OpenLaszlo 3 and if so ... when shall we all expect its release?

and i think you also have hinted me of developers package for going with LAMP...

i am little confused.. i think i will wait for openlaszlo... I am very excited for this product. :D

yossie
04-04-2005, 02:59 PM
I suspect that you and yours will like the features that the servlet based package offers (extended debugging, rapid prototyping, media transcoding, to name a few). Your best bet is to figure out how to install LPS (and OpenLaszlo when it comes out) in such an environment. It isn't hard. You will need the developer package as it exists online now. You will also need to find a mod_jk that matches your Apache server version. With mod_jk you will find instructions on how to connect it to a tomcat/jetty server. It will require that the tomcat (or jetty) server be set up to run as a daemon under linux (as apache does, or mysql for that matter). And you will likely need a better understanding on how it all connects together. These are all useful skils to acquire and learn. Good luck!- Yossie
P.s. There are numerous postings in the forums about doing this..