struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Brown" <donald.br...@gmail.com>
Subject Re: [action2] /s /xwork.xml /action.xml
Date Fri, 09 Jun 2006 04:42:03 GMT
The webwork renaming issue goes deeper than just those 3 or so files
and affects things like template variables, the static resources
prefix, the dojo package, etc.  Currently, they have all be renamed to
'struts' consistently, however if we switched to 'struts-action' or
even 'action', I'm not sure it would be appropriate name for all those
areas.

Ted, are you suggesting just renaming those configuration files or a
renaming exercise that goes deeper?  If it is the former, I just don't
think 'action' is appropriate for things like template variable names
as they would be confused with the Action itself, and complex names
like 'struts-action' obviously wouldn't work for such variable names.
If it is the latter, let's put both options on the table and let the
community vote.  If the community would rather use something
different, I agree that we need to do that now.

Don

On 5/1/06, Bob Lee <crazybob@crazybob.org> wrote:
> As much as I love shorter names, I still think "struts-action" is more
> user friendly. I see "struts" and immediately know what the file is. I
> can't say the same for "action"; it's missing an important namespace
> qualifier.
>
> If anything, I would shorten it to "struts.xml", but like we said
> before, we could run into a conflict if the user uses shale or
> something at the same time. Is this really worth worrying about, i.e.
> does Shale or some other Struts project already use or plan on using
> "struts.xml"?
>
> Actually, on my project, we used to name our files "foo-xwork.xml",
> but now we name them "foo.xwork". Maybe there's another option along
> those lines...
>
> Bob
>
> On 4/30/06, Ted Husted <ted.husted@gmail.com> wrote:
> > Heretofore, the WebWork product was being distributed by OpenSymphony
> > as WebWork 2. Now, the Action product is be distributed by Apache
> > Struts as Action 2.
> >
> > In a prior discussion ("XWork and Struts Action 2.0 "), there was a
> > suggestion that we rename
> >
> > * xwork.xml to struts-action.xml
> >
> > which could lead to renaming
> >
> > * webwork.xml to struts-action-default.xml
> > * webwork.vm to struts-action.vm
> > * webwork.properties to struts-action.properties
> >
> > I would like to suggest that we use shorter names, and rename
> >
> > * xwork.xml to action.xml
> > * webwork.xml to action-default.xml
> > * webwork.properties to action.properties
> > * default.properties to action-default.properties
> > * webwork.vm to action.vm
> >
> > I'm not suggesting that we make additional source code changes until
> > after we bring the codebase in from the incubator, but I would like to
> > push forward on the documentation now.
> >
> > Just as a test, I've updated a few of the documentation pages to
> > reflect the "webwork==action" scheme.
> >
> > * http://confluence.twdata.org/display/WW/Configuration+Files
> >
> > Of course, if we decide to go a different way, I'd update the pages
> > accordingly. I would also do the work of any additional renaming of
> > source code members and consequent changes.
> >
> > Thoughts?
> >
> > -Ted.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > For additional commands, e-mail: dev-help@struts.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message