cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <pati_giac...@yahoo.com>
Subject Re: [C2]Action proposal (long)
Date Fri, 10 Nov 2000 13:11:05 GMT

--- Peter Donald <donaldp@apache.org> wrote:
> At 02:26  9/11/00 +0100, you wrote:
> >> While I are not a developer I would HATE to see this happen. It is
> meant to
> >> be simple to assemble to design and maintain. Allowing logic to
> creep into
> >> the sitemap seems like a massive violation of the seperation of
> concerns
> >> because no longer can the sitemanager understand the sitemap ;)
> >> 
> >
> >I understand your point of view and agree with it. But I'm very
> curious
> >about how application structure complexity can be handled by actions
> in
> >the sitemap. That's why I was also suggesting a kind of logicsheet
> >mechanism that would allow expansion of the sitemap without putting
> raw
> >java code in it or factorization of higher-level constructs.
> 
> well 90% of complexity can be placed into the actions themselves. In
> some
> cases where a user sends wrong info or has invalid session etc. the
> action
> can do things like add "abort" messages to context data of request.
> This
> "abort" code would be picked up by selectors who would then redirect
> to
> appropriate place. 
> 
> The only thing I see wrong with this is that it is too verbose. It
> would be
> nicer if you could add magic "abort" codes to context data and they
> would
> be treated specially. The reason for this is that it is such a common
> operation that it should be simpler ;)

This is what concerns me alot. How to reduce verbosity. Do you have any
ideas on that?

Giacomo


=====
--
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
CH-8166 Niederweningen                    Web:   http://www.pwr.ch

__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.
http://shopping.yahoo.com/

Mime
View raw message