You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Christian Rosenberger <pi...@gmx.de> on 2004/05/01 12:21:04 UTC
RE: JXT or XSP?
Hello!
I think in concerns of MVC, the solution Ralph mentioned seems to be the
best. You have a clear seperation between prsentation, controller and
business logic.
The system would look like this:
Presentation: Plain XHTML or whatever output format you like
Controller Actions
Modell: Business Delegate/Business Logic Manager (connected to
database in whatever way)
All controlled in sitemap. As Ralph mentioned, if you put controlling or
logic in flowscript, the sitemap will loose all powerful possibilites it
has.
Regards,
Christian
>This is just my opinion, but I know others here share it.
>First, I've never used XSP - I never saw a need to, and I just don't like
>the idea. Second, >while flowscript has its uses it is also very dangerous.
>One of the key things Cocoon provides >is strong separation of concerns.
>Flowscript provides the opportunity to muddy that all up if >you aren't
>careful. Having said that, we will be using flowscript in a minor way. We
>will use it >to manage page flows where pages must be presented in
>sequence. We have NO business logic in the >flowscript. Business delegates
>are defined as Avalon components and invoked from a >BusinessDelegateAction
>and the Data Transfer Object they return is serialized using a
> >BetwixtGenerator. This performs very well and keeps the control in the
>sitemap.
>Ralph
-----Original Message-----
From: beyaNet Consultancy [mailto:beyanet@ntlworld.com]
Sent: Friday, April 30, 2004 4:43 AM
To: users@cocoon.apache.org
Subject: JXT or XSP?
Hi,
why use(promote) XSP, when JXT and flowscript is a far more powerful
environment to develop in?
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: JXT or XSP?
Posted by beyaNet Consultancy <be...@ntlworld.com>.
Christian,
as long, as flowscript is ustilised to do nothing more than direct the
flow of pages, the sitemap should still retain its powerful features...
Peter
On 1 May 2004, at 11:21, Christian Rosenberger wrote:
> Hello!
>
> I think in concerns of MVC, the solution Ralph mentioned seems to be
> the
> best. You have a clear seperation between prsentation, controller and
> business logic.
>
> The system would look like this:
>
> Presentation: Plain XHTML or whatever output format you like
>
> Controller Actions
>
> Modell: Business Delegate/Business Logic Manager (connected to
> database in whatever way)
>
> All controlled in sitemap. As Ralph mentioned, if you put controlling
> or
> logic in flowscript, the sitemap will loose all powerful possibilites
> it
> has.
>
> Regards,
>
> Christian
>
>> This is just my opinion, but I know others here share it.
>
>> First, I've never used XSP - I never saw a need to, and I just don't
>> like
>> the idea. Second, >while flowscript has its uses it is also very
>> dangerous.
>> One of the key things Cocoon provides >is strong separation of
>> concerns.
>> Flowscript provides the opportunity to muddy that all up if >you
>> aren't
>> careful. Having said that, we will be using flowscript in a minor
>> way. We
>> will use it >to manage page flows where pages must be presented in
>> sequence. We have NO business logic in the >flowscript. Business
>> delegates
>> are defined as Avalon components and invoked from a
>> >BusinessDelegateAction
>> and the Data Transfer Object they return is serialized using a
>> >BetwixtGenerator. This performs very well and keeps the control in
>> the
>> sitemap.
>
>> Ralph
>
> -----Original Message-----
>
> From: beyaNet Consultancy [mailto:beyanet@ntlworld.com]
>
> Sent: Friday, April 30, 2004 4:43 AM
>
> To: users@cocoon.apache.org
>
> Subject: JXT or XSP?
>
> Hi,
>
> why use(promote) XSP, when JXT and flowscript is a far more powerful
>
> environment to develop in?
>
> Peter
>
>
>
> ---------------------------------------------------------------------
>
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>
> For additional commands, e-mail: users-help@cocoon.apache.org
>
> ---------------------------------------------------------------------
>
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org