cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hochsteger <e9625...@student.tuwien.ac.at>
Subject Re: [M10N] new block layout
Date Thu, 03 Nov 2005 23:52:23 GMT

Jorg Heymans wrote:
> Andreas Hochsteger wrote:
> 
>> If you take everything into account, both API and implementation can
>> have their own dependencies, e.g.:
>>
>> * B (API) depends on A (API)
> 
> wow, multiple APIs in one block ?

Actually I meant A through D to be blocks, where the blocks A and B just 
define APIs and blocks C and D just implement those APIs.
But of course (theoretically) it could all happen in one block too :-).

>> * C (impl of A) depends on A (API)
>> * D (impl of B) depends on B (API)
>> * D (impl of B) depends on C (impl of A)
> 
> correct, albeit theoretically. I hope we won't need this level of
> inheritance for our blocks.

I don't think that this is just theoretically but rather common practice 
(see my clarifications from above).

>> or better readable with a bit of ASCII art:
>>
>> API:  [ A ] <--- [ B ]
>>         ^          ^
>>         |          |
>> Impl: [ C ] <--- [ D ]
> 
> Nice !
> 
> Thanks for your feedback.
> 
> 
> Jorg
> 

Andreas

Mime
View raw message