Thorsten Scherler wrote:
Right now in the menu we can decide when and which item to show. I agree
that the xsp approach needs rethinking but why not use jx instead. This
would make it possible to keep presentation logic in an easy way. From
my experience xsl it is not very suitable to implement presentation
logic which are based on java objects.

i must confess i don't like jx very much... its control structures are totally crippled and every non-trivial operation requires offloading to java code, even if it is just view-related and thus be in the template code....

The menu should be independent from the main aggregation. Actually the
whole main aggregation
<map:part
src="cocoon:/navigation-element/breadcrumb/{2}/{3}/{5}/{6}/{7}"/>
<map:part src="cocoon:/navigation-element/tabs/{2}/{3}/{5}/{6}/{7}"/>
<map:part src="cocoon:/navigation-element/menu/{2}/{3}/{5}/{6}/{7}"/>
<map:part src="cocoon:/navigation-element/search/{2}/{3}/{5}/{6}/{7}"/>
<map:part
src="cocoon://modules/languageselector/text-none/flagsize-13"/>

should be done in a more flexible way via a template that will get the
parts it needs. This way it would be as well possible to extend it more
easy without touching the sitemap.

+1

Further it would be possible to have url specific extension of extra
content and/or extra functionality. Imagine I do not want the breadcrumb
or the lanuageselector on some pages but on other I do. Now I always get
this parts, paying the price that Dominique has described.

let's be careful not to stash too much into the URL space.... the flexibility would be a bonus, but awkward URLs can be a problem. plus if we export too many internal features to the outside via URLs, we might open ourselves to exploits and DoSes. for instance, the SVG flag rendering is a potential DoS already, because it's so expensive in terms of cpu cycles. we need to avoid a situation where a malicious site visitor can trigger all kinds of cpu hogs by tinkering with the request URL.


--
jörn nettingsmeier

home://germany/45128 essen/lortzingstr. 11/
http://spunk.dnsalias.org
phone://+49/201/491621

Kurt is up in Heaven now.

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

Reply via email to