lenya-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <andr...@apache.org>
Subject Re: [1.4] Separate API and Implementation?
Date Tue, 11 Apr 2006 10:05:14 GMT
Andreas Hartmann schrieb:
> Hi Lenya devs,
> 
> currently, it's not clear which classes+interfaces form
> the Lenya API (i.e., have to stay backwards compatible
> and therefore may be used by client code).
> 
> Examples are AbstractUsecase and DocumentUsecase:
> Can you extend these classes without the danger of
> incompatible changes in future 1.4.x versions?
> 
> 
> I like the approach taken by Avalon/Excalibur:
> 
> - framework/api/src/java
> - framework/api/src/test
> - framework/impl/src/java
> - framework/impl/src/test


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.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Mime
View raw message