Luc,

I have designed Laszlo applications having both PHP and Servlets as controllers.
It worked great and your idea is right on.
In fact I am starting a Struts/Laszlo app pretty soon.
Have in mind that Laszlo is the View of the MVC model.
I understand that you can also use Laszlo as the controler.
But I had a project done for School with laszlo and Servlets and the way I've used Laszlo was to act as the view model and do browser validation as you can have Javascript with Laszlo. Other than that all the logic and interaction with the business layer were done by my servlets.
With Struts the principle is the same.

Keep in mind one thing for Laszlo. Even if you only post data to your Struts action you have to return some
sort of xml structure or your Laszlo app will crash.
Something like:
<result>
<status>success</status>
</result>
or <result status="success"/>

Basicaly instead of having a JSP front end you will have a Laszlo front end.
However programming it with Laszlo is more like doing a GUI app with events and all other
than a CGI application.

good luck Luc

Lucas Bern wrote:

Hia guys...

I´would it be a nosense to integrate Laszlo with struts???

I think Laszlo is responsible for controlling the application, so, may be we 
can hav struts incharge of generating data in XML format so that Laszlo 
presentation server show it???

I´m thinking of extending struts so that its output be XML for laszlo (or who 
ever), abstracting it form HTML...

am I making a mountain from a stone ...

I mean, a servlet would be enough???

Luc

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to