Old style: ----------
@avalon.meta.version 1.0 @avalon.meta.name fred @avalon.meta.lifestyle singleton
New style: ----------
@avalon.type version="1.0" name="fred" lifestyle="singleton"
Because this is in the avalon namespace, we need to officially adopt it. Currently there is already the @avalon.component tag that is a marker tag for components. IMNSHO, it would be better to extend the @avalon.component tag with these attributes.
That way we have
@avalon.component name="fred" version="1.0.0" lifestyle="singleton"
While the lifestyle attribute has been criticized in the past, it seems to be the best balance of usability and simplicity.
So far, components for Phoenix and Fortress both use @avalon.component which leaves Merlin as divergent. Would it be too terrible to to simply extend the already existing tag?
--
"They that give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
- Benjamin Franklin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
