cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: [C2] Package names
Date Wed, 05 Jul 2000 02:18:01 GMT
On Tue, 4 Jul 2000, Stefano Mazzocchi wrote:

> What a pain.
> 
> Let's summarize a little:
> 
> 1) the sitemap is composed by components. Components "act", so they are
> actors.
>  
>       noun    |   action
> 
>     generator -> generate
>   transformer -> transform
>    serializer -> serialize
>       matcher -> matching
should be match
>       chooser -> choosing
should be choose

to be picky.

> 2) assuming the above is final, we have to place all these into
> packages. To reduce verbosity the package should not be verbose.
> 
>  org.apache.cocoon.[package].[noun]
> 
> where
> 
>  [noun] must be the name of the interface component
> 
> so we have to decide what to use for [package]
> 
> Proposals are
> 
>  a) [noun] singular
>  b) [noun] plural 
>  c) [action] derived from [noun]
> 
> i.e.
> 
>  a) org.apache.cocoon.generator.Generator
>  b) org.apache.cocoon.generators.Generator

+1 to (b) but i don't really care too much.

>  c) org.apache.cocoon.generation.Generator
> 
> 3) Another alternative is placing everything into the same package
> 
>  org.apache.cocoon.components.xxx
> 
> where all components reside in the same package with no further
> subpackaging (to keep verbosity small).
> 
> What do you think?
> 
> [please, let's settle this down quickly]

agreed.

- donald


Mime
View raw message