List Info

Thread: Separate API and Implementation?




Separate API and Implementation?
user name
2006-04-11 10:16:25
Andreas Hartmann schrieb:

[...]

> Another very nice solution would be to split up the
> core into modules or Cocoon blocks:
> 
> - core-api
> - core-impl
> 
> Modules would depend only on the core-api module/block
> (and other modules), which would ensure that they
don't
> reference internal classes or interfaces.

Hmmm - I just noticed that this doesn't make sense.
The separation between API and implementation should be
orthogonal to modularization, for instance to allow that
modules provide their own API.

IIUC Cocoon's "real blocks" should even support
polymorphism
at block level, which means that multiple blocks can
implement
a specific interface.

-- Andreas


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )