I haven't been following this topic too closely, so apologies if I have
missed the point.  Why is dojo being considered a core plugin?  I
understand it is used by some of the tags to simplify some AJAX tasks,
are there any other benefits to it?.  From my brief experience with it
Dojo is not the most designer friendly framework, more the home of
widget developers.  In our apps we have found it simpler, and we have
more control with, using a mix of Prototype and rolling our own JSON. 
Our designers are much more comfortable with something like Prototype,
JQuery or YUI.  When I read the name "core" it reads to me as plugins I
really should need.  I guess it depends on your point of view but I
would consider something like Spring a more essential plugin than dojo,
especially as many apps move away from the classic tags->html view.  My
point really is the name core may be confusing/misleading, more so as
there is already struts2-core.


----- Original message -----
From: "Don Brown" <[EMAIL PROTECTED]>
To: "Struts Developers List" <dev@struts.apache.org>
Date: Tue, 23 Oct 2007 10:38:02 +1000
Subject: Re: [S2] Plugins gone wild!

It might be interesting to have several "bundles":
 * Core - codebehind, dojo
 * Starter - codebehind, dojo, spring, jpa
 * Rest - codebehind, rest, dojo

Of course, the value of this bundle concept is low for those that use
Maven 2 or any other transitive dependency system.  For my rest
example application, my pom only declares one dependency, the rest
plugin, and Maven handes everything from there.

Also, I wouldn't include the rest plugin in core as it places some
strict requirements on the format of the url that won't be compatible
with most Struts 2 apps.

Don

On 10/23/07, Martin Cooper <[EMAIL PROTECTED]> wrote:
> On 10/22/07, Ted Husted <[EMAIL PROTECTED]> wrote:
> >
> > Bringing together a couple of other threads, for Struts 2.1.x  (or
> > even Struts 2.2.x), we seem to be talking about
> >
> > * Creating a "plugin" artifact, along the lines of the "apps"
> > artifact, which would include all the plugins we maintain in the
> > Struts repository
> >
> > * Creating a "struts2-core-plugin" artifact that would include the
> > plugins that are needed to write a "typical" Struts 2 application.
> >
> > The "struts2-core-plugins" artifact would contain the equivalent of the
> >
> > * codebehind plugin (including zero-config)
> > * JSON plugin
> > * restful plugin
> >
> > along with new
> >
> > * annotations plugin
> > * tags plugin
> >
> > I haven't looked into yet, but we might also consider a "persistence"
> > plugin with JPA support, if that makes any sense.
>
>
> I'd just as soon see persistence left out of this "core plugins" artifact.
> Perhaps I'm some weird corner case, but in over 7 years of building
> enterprise web apps, I've never been in a position to use any kind of
> standard persistence mechanism. That being the case, it doesn't strike me as
> something that should be part of "core" anything.
>
> --
> Martin Cooper
>
>
> The Struts "lib" artifact would host the struts2-core.jar, the
> > struts2-core-plugins.jar, and whatever dependencies these artifacts
> > require.
> >
> > We could use strut2-core.jar with the struts2-core-plugins.jar, and
> > just add any other plugins we like that do not overlap with the core
> > plugins, or mix and match strut2-core.jar with whatever plugins are
> > preferred (if any).
> >
> > Ideally, the same code would be available in the
> > struts2-core-plugin.jar and as standalone plugins. The key problem
> > might be glomming together the struts-plugin.xmls, since I believe we
> > only get one to a JAR.
> >
> > Arguably, we could also include an Ajax plugin in the "standard
> > array", but I would like to explore alternatives to the Dojo plugin. I
> > think we should maintain a Dojo plugin, just as we plan to maintain a
> > Spring plugin, but I'd also like to try an AjaxParts or a (complete)
> > YUI plugin before we pull the trigger.
> >
> > We might also want to consider whether we should grow the JSON plugin
> > into a web-services plugin. Starting next month, I'll be doing a lot
> > more work with web services myself.
> >
> > -Ted.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to