please note that for my current project I'm NOT using
cocoon anymore.
I realized that all I really liked in cocoon was the
ability to write flow routines outside of the view
(that's all there is to MVC essentially, isn't it?).
At least in my current project, I'm not using XML
transformations, so I have no need for complex
sitemaps either (like I said: using LPS, hence flash,
at the client; kinda "rich-client").
With my 1-day experience of spring, here's how you do
that:
- you create an xml descriptor where you declare the
classes you use for the control part
- you map url patterns to controllers
- you declare the technology you're using for the
rendering of your views
- ...write your controllers and your views, put them
in the appropriate folders, etc
The real added bonus for me is that I can finally
enjoy code completion and compilation for the control
part, which saves me a lot of stupid, time-consuming
trial-and-error operations.
I think (though it's not a major concern) that
standard java is also arguably faster and less
memory-consuming than javascript.
I'm certainly gonna miss the continuation mechanism
for its elegance (writing page flows like a
BASIC-program IS fun).
bernard
--- Mark Lowe <[EMAIL PROTECTED]> wrote:
> Hi Bernard..
>
> Could you post your experience of spring in
> comparision to cocoon?
>
> Mark
>
>
> On Mon, 7 Feb 2005 10:54:24 -0800 (PST), Bernard
> Sirius
> <[EMAIL PROTECTED]> wrote:
> > yes, think I've got it. Anyway, I'm using spring
> now,
> > which is fine for me: I have the added benefit of
> > compiling my controller, at the expense of the
> > continuations mechanism, which I don't really
> need.
> >
> > For the frontend, I'm using Laszlo Presentation
> Server
> > (LPS). They proxy the request, and that's the
> source
> > of the error. Still, with spring I could see that
> my
> > servlet actually sets the session attributes, but
> > they're lost when the response is forwarded
> through
> > the proxy, unless you tell LPS not to.
> >
> > Then you have to explicitely set the cookie (using
> the
> > "Set-Cookie" Header parameter)... enzovoorts...
> >
> > thanks anyway!
> >
> > I didn't figure out what precisely went wrong with
> > cocoon, but now I don't care much anymore.
> >
> > bernard
> >
> > --- JD Daniels <[EMAIL PROTECTED]> wrote:
> >
> > > hmm - I have been using this since 2.1.4
> > >
> > > are you using <transform type="encodeURL"/> at
> the
> > > end of your pipeline?
> > > If i understand correctly, nothing will be saved
> if
> > > the client has
> > > cookies off if you don't.
> > >
> > >
> > > Bernard Sirius wrote:
> > >
> > > >Actually my previous post/problem boils down to
> > > this:
> > > >session.setAttribute("name",value) has actually
> no
> > > >effect.
> > > >
> > > >I saw some postings on google about this
> issue...
> > > >
> > > >Is it serious?
> > > >
> > > >bernard
> > > >
> > >
> >__________________________________________________
> > > >Do You Yahoo!?
> > > >Tired of spam? Yahoo! Mail has the best spam
> > > protection around
> > > >http://mail.yahoo.com
> > > >
> > >
> >
>
>---------------------------------------------------------------------
> > > >To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > >For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > >
> > >
> >
> > __________________________________
> > Do you Yahoo!?
> > The all-new My Yahoo! - Get yours free!
> > http://my.yahoo.com
> >
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]