Hi all!
I know that the subject line is a bit cryptic, but I will try to explain it.
Currently Tiles codebase refers to a lot of "Component" classes:
ComponentDefinition, ComponentDefinitions, ComponentDefinitionsImpl,
ComponentAttribute, ComponentContext, ComponentConstants,
ComponentContextMutator.
I hope that I did not forget anyone :-)
Now the question is: what is the concept of a "component"? Is it
simply a remnant from the Struts-Tiles code?
I think that these classes should be renamed, but I think that a bit
of brainstorming is needed.
Here are my suggestions:
ComponentDefinition - Definition
ComponentDefinitions - DefinitionGroup (help me, I did not find a
better name :-)
ComponentDefinitionsImpl - DefinitionGroupImpl
ComponentAttribute - Attribute
ComponentContext - TilesRenderContext (because it is used during
rendering Tiles pieces).
ComponentConstants - Globals
ComponentContextMutator - TilesRenderContextMutator.

Let's improve this list, or give a reason for "Component" concept to exist.

TIA
Antonio

Reply via email to