Berin Loritsch wrote: >>From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]] >> >> >>Berin Loritsch wrote: >> >>>I am very happy with the Context package. >> >>Hmmm... >> >>Personally I don't like contexts, they smell of "global >>variables" to me. > > > And that is one of their uses. A way of sharing contextual > information with a large group of components. > > That beats repeating config information in several locations.
Like local variables do. But can be a very delicate point. >>Aren't ComponentManagers(nowLocators) doing a similar thing >>(ie giving a >>class based on a name-role)? > > > That's a different concern. Don't confuse them. Which in fact happens. On James they are talking about getting a Logger from a Context :-S >>Also, look at the Cocoon Context: it's a real PITA to understand that >>you need to get a context from a context... > > Please take off your Cocoon hat. That's a Cocoon decision, not an > Avalon one. ;-P What I mean is that if the major Avalon user took this decision, I guess there is something wrong with it. -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains) --------------------------------------------------------------------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>