On 8/18/05, Lucas Bern <[EMAIL PROTECTED]> wrote:
> I´would it be a nosense to integrate Laszlo with struts???
Not a complete non-sense, but maybe an overkill ...
> 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???
Struts is great for the controller model it provides. If you develop
a Laszlo application, Laszlo will probably take the role of the
controller (at least that's how I would do it). The the server side
should only serve stateless XML data. That's pretty easy to do with
whatever technology.
> 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 ...
More or less yes. There's not much HTML dependant in Struts. I would
say that the tag libs are the only really HTML dependant parts of
Struts. And it's pretty easy to output XML with just the JSTL ...
> I mean, a servlet would be enough???
Yo uhave to think at which parts of Struts will be usefull for you.
The input checking forms are probably usefull, the taglibs probably
not ...
I hope that helps a bit ...
Guillaume
PS : I've worked with Laszlo for a few month before abandoning it and
coming back to Struts (with the help of AndroMDA - team.andromda.org).
There was too many problems with memory management, asynchronous
execution ... be carefull !
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]