Hello all. As I get deeper into using struts
I am noticing how the naming of attributes seems needlessly vague. In the
struts-config.xml for example. When marking up an action, why is the
attribute name for the form bean called "name" instead of "beanName", and
why is "validate" used instead of "validateBean". It seems unnecessarily
ambiguous as to whether we are describing the action or the bean. This
ambiguity continues in logic iterate tags and other tags as well. As a
consequence, a user is not exactly sure to which object or concept an
attribute pertains to. Does anyone know why Struts was desiged like this
and continues to exist as such? Besides, xml was desiged to be
descriptive. Why are we being vague?
|
- Re: The naming of attributes is confusing Jonathan
- Re: The naming of attributes is confusing Ted Husted