[prev in list] [next in list] [prev in thread] [next in thread]
List: xml-cocoon-dev
Subject: Re: [M10N] new block layout
From: Andreas Hochsteger <e9625392 () student ! tuwien ! ac ! at>
Date: 2005-11-03 23:52:23
Message-ID: 436AA2B7.7000905 () student ! tuwien ! ac ! at
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic