cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Fagerstrom <dani...@nada.kth.se>
Subject Re: [PROPOSAL] Block conventions
Date Thu, 15 Mar 2007 21:30:50 GMT
Grzegorz Kossakowski skrev:
> Hi,
> 
> I would like to propose some conventions in block's structure. I mean here a structure
that matters on sitemap level not
> on the lower levels (servlet-fw, packaging, etc.). I think we should advise some guidelines
when it comes to the
> exposing resources and services to the outside world.
> 
> That said I propose to have following URI spaces:
> * resource/external/** - resources in this space are meant to be accessible from the
outside of Cocoon. It would be
> mainly a CSS/JS, etc content.
> * resource/internal/** - this resources would be only accessible from other blocks/servlets
mounted in Cocoon's
> instance. They would mainly consist of XSLT, XML, JX files that one block likes to expose
to the others.
> * service/** - pipelines in this URI space would be only those which can consume POSTable
requests. In short, here would
> all block's servlet services services be exposed.
...
> I think that following "convention over configuration" here is really good idea and most
users will take this advice. It
> help newcomers to focus on actual work, and it will help block's ecosystem because standardized
URI spaces facilitate
> block's cooperation.
> 
> Comments? Thoughts? Anyone objecting?

Seems like a good idea.

/Daniel

Mime
View raw message