Hamilton Verissimo de Oliveira wrote: > > -----Mensagem original----- > De: Berin Loritsch [mailto:[EMAIL PROTECTED] > > >> Its a TypeDescriptor. Something like "for class X there are these > >> dependencies, these custom lifecycles" and so on. > > > > Here in lies one of the fundamental problems I have with the Meta > > package. If there is this much discussion about it with people who > > are Avalon veterans, then something is seriously wrong. It is too > > complex, and introduces too many new concepts that we > haven't bought > > off on. > > > > This is a "code smell" or at least a "design smell". > > > > That is also part of the reason I continually try to push simpler > > solutions like Commons Attributes or JDK 1.5 annotations. > The bottom > > line is it should not be this hard. > > Berin, I don't think its too complex. I believe it have a > bunch of desnecessary information, but the approach is simple: > > - Transform information from somewhere into an object model > instance (and these info could came from a serialized format or xml) > > What I think makes thing complex is Merlin specific like > profiles, and xinfo (and now Permission). > > But if you don't want to use Meta you'll end up using > something like it. > Now the biggest problem *I* have are all these new words, like type, artifact whatever. And for me it's very hard to find out what something means from the docs because I have an idea what a "type" (for instance) could/should be and then I read the docs and see that it differs from my pov (which might not be bad, but simply confusing).
"Less is more" and this applies also to the used terms. Terms like component, service and implementation are well known in COP, but others are not. So imho one has to avoid those new terms or be really careful when explaining them. And what me personally helps is looking at the code of some real world applications using a container. Is there already some application using Merlin one can look at and see in reality how things are done there? Carsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
