Vincent Massol wrote:
Hi,
Here's a proposal for implementing configuration in the new
architecture, using components.
Note: I think this is compatible with Sergiu's proposal here:
http://tinyurl.com/6md5jd
[snip]
Looks good. One thing I didn't see there is how to access the
configuration from wiki documents. Maybe have a configuration access
helper in the velocity context, which can lookup and return
configuration components? In this case, we should have some security
assertions on those components, maybe using an annotation.
Another thing that isn't quite clear is how to avoid cyclic
dependencies, since configuration needs to access wiki documents, which
in turn might need some already configured components. Maybe we'll just
have to take care of this manually (I don't see any such dependencies
right now).
--
Sergiu Dumitriu
http://purl.org/net/sergiu/