Leo Simons wrote:
My Position, Clarified ----------------------
I'm perfectly fine with updating documentation concerning our containers that explain that they don't parse nor do anything with ROLE fields, that ROLE fields are not part of the 'official' Avalon-Framework contract, etc etc.
Great - seems to me that your totally in sync. and consistent with the views expressed in the other posts on this subject. Let me just clarify one point. I presume that you are also OK with the elimination of the ROLE pattern within the framework docs?
+1. But I'd like it kept in DwA, for example.
My Message, Clarified ---------------------
digressing a little...
For anyone wondering whether I'm mad or agitated; don't worry. I just come on strong to set something straight ASAP :D. But I've seen avalon suffer from these kind of "change for the sake of change" things before (we did silly things like slap @deprecated on Component a few times to often :D).
Eliminating the Component interface changed Avalon from being a closed solution to a solution open to the rest of the world.
I meant just the '@deprecated'. That was the bad part of the idea. Just like the bad part of the idea here is again saying things are silly, bad, or deprecated.
Mixing in meta-info into a service interface is just plain *bad*. ROLE is a simply the last vestige of practices that mix meta-info with the separate concern of the service computational interface.
nah. ROLE is not meant to be used as "metainfo". The use of ROLE is a quite simple convention that encourages and enables using the SM as a dependency injection mechanism as opposed to a service location mechanism. Whether dependency injection is a good idea is, I guess, still up for debate, but I think it is :D
-- cheers,
- Leo Simons
----------------------------------------------------------------------- Weblog -- http://leosimons.com/ IoC Component Glue -- http://jicarilla.org/ Articles & Opinions -- http://articles.leosimons.com/ ----------------------------------------------------------------------- "We started off trying to set up a small anarchist community, but people wouldn't obey the rules." -- Alan Bennett
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
