hiall,

+1 for redirects from actions but, from the SoC point of view, if the sitemap
is the only tool to manage URI space of the webapp, and you do direct redirect
from action you break this, e.g, allowing redirect from action you can break
the application from working because sitemap admin will not work with action's
source code.

the other way around, you have to be able to control redirects via runtime
parameters given to actions upon invocation and it is IMO the same as doing
sitemap-only redirects, 

we have to more think about previously proposed flowmap, I'll throw out RT
that I prepared for my final project soon...

rgds,
martin


On Tue, Jun 05, 2001 at 02:36:13PM -0400, Berin Loritsch wrote:
> There is one point in the webapp that makes WebApp developing
> more difficult than necessary in Cocoon2.  This has to do with
> redirects.  I was originally for not allowing redirects for
> generators, transformers, and especially serializers.  However,
> I always tried to advocate leaving that ability in Actions.
> As a result, we have our Sitemap handle too many concerns.
> NEVER should the sitemap handle WebApp LOGIC.  I don't mind
> having it specify the Actions to use, or even rearrange their
> order.  I do mind that I have to do some serious fenangling
> with sitemap parameters and dynamic logic to embed program
> logic in the sitemap.
> 
> I propose to allow the Environment object to be passed to
> Actions in the objectModel.  That way, Actions can still do
> redirects--easing program development.  This also simplifies
> the site administrators duties in that they no longer have
> to know the gory details of how the program logic works.
> All the time, it also removes the ability for the other
> sitemap components to perform redirects.
> 
> The current programming model is too restrictive--and I have
> to do true HACKS to get around it.  I have a program to
> release to a customer soon, and it would really simplify my
> life if I can handle site security and redirects conveniently
> in Actions.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

-- 
-------------------------------------------------------------------------------
"Only dead fish swims with a stream"
gpg_key_available: http://globales.cz/~mman/martin.man.gpg
gpg_key_fingerprint: 2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223

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

Reply via email to