You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michael McGrady <mi...@michaelmcgrady.com> on 2004/09/21 01:52:38 UTC
Struts Bloat: Framework
I have raised an issue on struts-dev which I think impacts struts-user
as well. So, here is a cross posting, which under these cirucmstancs
makes sense, I think.
Looking over Struts 1.2, I see that my ImageButtonBean, an idea
discarded for improvements some time ago, made it into the Struts
framework. This re-ignites my thoughts placed into another context and
which I think are worth putting under a heading which might engender
some response. So, here is a last try to get people to address the
question. If we continue to put mere uses into the framework, things
will get even odder. ImageButtonBean had little testing and was but a
germ of an idea. It spread quickly because the problem was pressing to
people. But, that does not make it a good solution. In fact, it is a
fairly poor solution. Discussions with people on the Struts user list
led to definite improvements. In those discussions, people shared some
of their ideas which are better than this. ImageTagUtil was a far
better solution for that problem in almost every respect. But, now
ImageButtonBean is in the framework and will have to be their for
sometime. That is not good, in my opinion.
Open source and painting are connected in someways. The biggest mistake
of the amateur painter is to keep adding colors when the painting is
done. The result is always that murky, dark, ugly, look. Likewise, open
source, filled with people with egos, sometimes does not know when
something is done, finished, damed good and certainly good enough.
I have a real concern that Struts is going to continue to be bloated
with what are not Struts, not part of the framework, but what are
instead really very useful uses of Struts. DispatchAction and its
progeny are just one example of this. I would suggest that such
offerings would better be managed in a separate application called
something like "Struts Patterns" or "Struts Best Practices". Perhaps
such classes could be released as classes and either maintained (or
preferrably not) independent of Struts?
I would hope that by the term "bloat" I don't convey that such classes
are not wonderful ideas and their authors are stellar citizens. It just
seems to me that a framework ought to be maintained as a FRAMEWORK and
that allowing USES OF THE FRAMEWORK to become part of the framework is a
groundwater mistake. Generally, I think it might be better if the
actions package were distributed outside Struts proper.
As a framework, there comes a time when something like Struts is done,
and we need to move on to other things except diligent maintainence and
creating clever uses. My present predeliction is to save what presently
exists, clean it up by jettisoned what is not needed, and to watch for
good ideas that might arise in uses. This is just a thought.
There needs to be, I think, a clear separation of Struts patterns or
clever uses of Struts and Struts itself. I would suggest that something
formal be instituted. Thanks for your ears/eyes on this.
Michael McGrady
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts Bloat: Framework
Posted by Michael McGrady <mi...@michaelmcgrady.com>.
James Mitchell wrote:
>I have no interest in the threads about DispatchAction or whatever (I only
>had a cursory look). I am just commenting about double posting.
>
>Thanks.
>
>
Yes, Jim, you are "just commenting about double posting". I know. The
other implications in your notes are purely accidental and are not meant
to impune anything or anyone living or dead. ;-) And, in doing so you
are using more space in the Struts hemisphere than was originally
misused accrding to your best lights. Actually, it made sense that most
people on dev would be on user. I am mindful of other considerations,
however, which you have not addressed.
Michael McGrady
>--
>James Mitchell
>Software Engineer / Open Source Evangelist
>EdgeTech, Inc.
>678.910.8017
>AIM: jmitchtx
>
>----- Original Message -----
>From: "Michael McGrady" <mi...@michaelmcgrady.com>
>To: "Struts Users Mailing List" <us...@struts.apache.org>
>Sent: Tuesday, September 21, 2004 9:28 AM
>Subject: Re: Struts Bloat: Framework
>
>
>
>
>>James Mitchell wrote:
>>
>>
>>
>>>Please do not cross post to both lists. Most of us on dev are also on
>>>
>>>
>user.
>
>
>>>If I choose to reply or ignore you on dev, I'll do the same on user.
>>>
>>>Thanks.
>>>
>>>
>>>--
>>>James Mitchell
>>>Software Engineer / Open Source Evangelist
>>>EdgeTech, Inc.
>>>678.910.8017
>>>AIM: jmitchtx
>>>
>>>
>>>
>>I explained why in the post. Your note doubles the traffic you complain
>>about Jim. ;-) Anyway, I presume that there will be scant
>>consideration of this issue, for various humorous reasons.
>>
>>Michael
>>
Re: Struts Bloat: Framework
Posted by James Mitchell <jm...@apache.org>.
I have no interest in the threads about DispatchAction or whatever (I only
had a cursory look). I am just commenting about double posting.
Thanks.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
----- Original Message -----
From: "Michael McGrady" <mi...@michaelmcgrady.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Tuesday, September 21, 2004 9:28 AM
Subject: Re: Struts Bloat: Framework
> James Mitchell wrote:
>
> >Please do not cross post to both lists. Most of us on dev are also on
user.
> >If I choose to reply or ignore you on dev, I'll do the same on user.
> >
> >Thanks.
> >
> >
> >--
> >James Mitchell
> >Software Engineer / Open Source Evangelist
> >EdgeTech, Inc.
> >678.910.8017
> >AIM: jmitchtx
> >
> I explained why in the post. Your note doubles the traffic you complain
> about Jim. ;-) Anyway, I presume that there will be scant
> consideration of this issue, for various humorous reasons.
>
> Michael
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts Bloat: Framework
Posted by Michael McGrady <mi...@michaelmcgrady.com>.
James Mitchell wrote:
>Please do not cross post to both lists. Most of us on dev are also on user.
>If I choose to reply or ignore you on dev, I'll do the same on user.
>
>Thanks.
>
>
>--
>James Mitchell
>Software Engineer / Open Source Evangelist
>EdgeTech, Inc.
>678.910.8017
>AIM: jmitchtx
>
I explained why in the post. Your note doubles the traffic you complain
about Jim. ;-) Anyway, I presume that there will be scant
consideration of this issue, for various humorous reasons.
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts Bloat: Framework
Posted by Michael McGrady <mi...@michaelmcgrady.com>.
James Mitchell wrote:
>Please do not cross post to both lists. Most of us on dev are also on user.
>If I choose to reply or ignore you on dev, I'll do the same on user.
>
>Thanks.
>
>
>--
>James Mitchell
>Software Engineer / Open Source Evangelist
>EdgeTech, Inc.
>678.910.8017
>AIM: jmitchtx
>
>----- Original Message -----
>From: "Michael McGrady" <mi...@michaelmcgrady.com>
>To: "Struts Users Mailing List" <us...@struts.apache.org>
>Sent: Monday, September 20, 2004 7:52 PM
>Subject: Struts Bloat: Framework
>
>
>
>
>>I have raised an issue on struts-dev which I think impacts struts-user
>>as well. So, here is a cross posting, which under these cirucmstancs
>>makes sense, I think.
>>
>>Looking over Struts 1.2, I see that my ImageButtonBean, an idea
>>discarded for improvements some time ago, made it into the Struts
>>framework. This re-ignites my thoughts placed into another context and
>>which I think are worth putting under a heading which might engender
>>some response. So, here is a last try to get people to address the
>>question. If we continue to put mere uses into the framework, things
>>will get even odder. ImageButtonBean had little testing and was but a
>>germ of an idea. It spread quickly because the problem was pressing to
>>people. But, that does not make it a good solution. In fact, it is a
>>fairly poor solution. Discussions with people on the Struts user list
>>led to definite improvements. In those discussions, people shared some
>>of their ideas which are better than this. ImageTagUtil was a far
>>better solution for that problem in almost every respect. But, now
>>ImageButtonBean is in the framework and will have to be their for
>>sometime. That is not good, in my opinion.
>>
>>Open source and painting are connected in someways. The biggest mistake
>>of the amateur painter is to keep adding colors when the painting is
>>done. The result is always that murky, dark, ugly, look. Likewise, open
>>source, filled with people with egos, sometimes does not know when
>>something is done, finished, damed good and certainly good enough.
>>
>>I have a real concern that Struts is going to continue to be bloated
>>with what are not Struts, not part of the framework, but what are
>>instead really very useful uses of Struts. DispatchAction and its
>>progeny are just one example of this. I would suggest that such
>>offerings would better be managed in a separate application called
>>something like "Struts Patterns" or "Struts Best Practices". Perhaps
>>such classes could be released as classes and either maintained (or
>>preferrably not) independent of Struts?
>>
>>I would hope that by the term "bloat" I don't convey that such classes
>>are not wonderful ideas and their authors are stellar citizens. It just
>>seems to me that a framework ought to be maintained as a FRAMEWORK and
>>that allowing USES OF THE FRAMEWORK to become part of the framework is a
>>groundwater mistake. Generally, I think it might be better if the
>>actions package were distributed outside Struts proper.
>>
>>As a framework, there comes a time when something like Struts is done,
>>and we need to move on to other things except diligent maintainence and
>>creating clever uses. My present predeliction is to save what presently
>>exists, clean it up by jettisoned what is not needed, and to watch for
>>good ideas that might arise in uses. This is just a thought.
>>
>>There needs to be, I think, a clear separation of Struts patterns or
>>clever uses of Struts and Struts itself. I would suggest that something
>>formal be instituted. Thanks for your ears/eyes on this.
>>
>>Michael McGrady
>>
I explained my reasons for doing it in the post\.
Michael McGrady
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts Bloat: Framework
Posted by James Mitchell <jm...@apache.org>.
Please do not cross post to both lists. Most of us on dev are also on user.
If I choose to reply or ignore you on dev, I'll do the same on user.
Thanks.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
----- Original Message -----
From: "Michael McGrady" <mi...@michaelmcgrady.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Monday, September 20, 2004 7:52 PM
Subject: Struts Bloat: Framework
> I have raised an issue on struts-dev which I think impacts struts-user
> as well. So, here is a cross posting, which under these cirucmstancs
> makes sense, I think.
>
> Looking over Struts 1.2, I see that my ImageButtonBean, an idea
> discarded for improvements some time ago, made it into the Struts
> framework. This re-ignites my thoughts placed into another context and
> which I think are worth putting under a heading which might engender
> some response. So, here is a last try to get people to address the
> question. If we continue to put mere uses into the framework, things
> will get even odder. ImageButtonBean had little testing and was but a
> germ of an idea. It spread quickly because the problem was pressing to
> people. But, that does not make it a good solution. In fact, it is a
> fairly poor solution. Discussions with people on the Struts user list
> led to definite improvements. In those discussions, people shared some
> of their ideas which are better than this. ImageTagUtil was a far
> better solution for that problem in almost every respect. But, now
> ImageButtonBean is in the framework and will have to be their for
> sometime. That is not good, in my opinion.
>
> Open source and painting are connected in someways. The biggest mistake
> of the amateur painter is to keep adding colors when the painting is
> done. The result is always that murky, dark, ugly, look. Likewise, open
> source, filled with people with egos, sometimes does not know when
> something is done, finished, damed good and certainly good enough.
>
> I have a real concern that Struts is going to continue to be bloated
> with what are not Struts, not part of the framework, but what are
> instead really very useful uses of Struts. DispatchAction and its
> progeny are just one example of this. I would suggest that such
> offerings would better be managed in a separate application called
> something like "Struts Patterns" or "Struts Best Practices". Perhaps
> such classes could be released as classes and either maintained (or
> preferrably not) independent of Struts?
>
> I would hope that by the term "bloat" I don't convey that such classes
> are not wonderful ideas and their authors are stellar citizens. It just
> seems to me that a framework ought to be maintained as a FRAMEWORK and
> that allowing USES OF THE FRAMEWORK to become part of the framework is a
> groundwater mistake. Generally, I think it might be better if the
> actions package were distributed outside Struts proper.
>
> As a framework, there comes a time when something like Struts is done,
> and we need to move on to other things except diligent maintainence and
> creating clever uses. My present predeliction is to save what presently
> exists, clean it up by jettisoned what is not needed, and to watch for
> good ideas that might arise in uses. This is just a thought.
>
> There needs to be, I think, a clear separation of Struts patterns or
> clever uses of Struts and Struts itself. I would suggest that something
> formal be instituted. Thanks for your ears/eyes on this.
>
> Michael McGrady
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts Bloat: Framework
Posted by Michael McGrady <mi...@michaelmcgrady.com>.
Vic wrote:
> http://theserverside.com/news/thread.tss?thread_id=28894
>
> This thread picked up on "tss".
> .V
>
>
>
Thanks for your reference to Struts chain, Vic.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts Bloat: Framework
Posted by Vic <vi...@portalvu.com>.
http://theserverside.com/news/thread.tss?thread_id=28894
This thread picked up on "tss".
.V
--
Please post on Rich Internet Applications User Interface (RiA/SoA)
<http://www.portalvu.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts Bloat: Framework
Posted by Michael McGrady <mi...@michaelmcgrady.com>.
Niall Pemberton wrote:
>I don't agree with you calling Ted Husted's ImageButtonBean crap - maybe
>more elegant solutions will come along, but it still doesn't mean this isn't
>a perfectly good workable solution to the image button problem.
>
>http://www.husted.com/struts/tips/001.html
>
>Also I don't understand which "recent additions" you're talking about -
>ImageButtonBean was added to Struts two years ago according to the CVS log
>
>http://cvs.apache.org/viewcvs.cgi/jakarta-struts/src/share/org/apache/struts/util/ImageButtonBean.java
>
>
>Were there other "recent additions" that you had in mind other than
>ImageButtonBean?
>
>Niall
>
Well, I certainly do not intend to impune anyone. I merely mean that
when this was included, there were better options available. When I put
this bean up on the wiki, Ted was saying that you had to use JavaScript
for this problem. That is why I originally called it a solution without
JavaScript.
Everything Newton said was false. Newton is still a great man. To
adapt his ideas today would be to adapt crap. That is not a reflection
on Newton. That is a reflection on those who do not keep up. I am sure
Ted knows I respect him. And, I do.
The main point was that such solutions do not belong in the framework.
If we could get off personalities and get to principles, that would be good.
Michael McGrady
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts Bloat: Framework
Posted by Michael McGrady <mi...@michaelmcgrady.com>.
Rick Reumann wrote:
> Niall Pemberton wrote the following on 9/21/2004 12:23 PM:
>
>> Were there other "recent additions" that you had in mind other than
>> ImageButtonBean?
>
>
> That's exactly what I was wondering:) and goes back to my first point
> that Struts really hasn't changed 'that' much over the years so I'm
> confused about what all this new bloat is and bloat that is supposed
> to be being added? From what I can gather, it's difficult enough
> getting people to step up to the plate to help out making 'any'
> changes, so the addition of bloat seems non-existent. I'd still like
> to know what all the 'bloat plans' are that you see for struts Michael?
>
I think I answered this earlier, Rick. If I did not, please let me
know. Michael McGrady
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts Bloat: Framework
Posted by Rick Reumann <st...@reumann.net>.
Niall Pemberton wrote the following on 9/21/2004 12:23 PM:
> Were there other "recent additions" that you had in mind other than
> ImageButtonBean?
That's exactly what I was wondering:) and goes back to my first point
that Struts really hasn't changed 'that' much over the years so I'm
confused about what all this new bloat is and bloat that is supposed to
be being added? From what I can gather, it's difficult enough getting
people to step up to the plate to help out making 'any' changes, so the
addition of bloat seems non-existent. I'd still like to know what all
the 'bloat plans' are that you see for struts Michael?
--
Rick
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts Bloat: Framework
Posted by Niall Pemberton <ni...@blueyonder.co.uk>.
I don't agree with you calling Ted Husted's ImageButtonBean crap - maybe
more elegant solutions will come along, but it still doesn't mean this isn't
a perfectly good workable solution to the image button problem.
http://www.husted.com/struts/tips/001.html
Also I don't understand which "recent additions" you're talking about -
ImageButtonBean was added to Struts two years ago according to the CVS log
http://cvs.apache.org/viewcvs.cgi/jakarta-struts/src/share/org/apache/struts/util/ImageButtonBean.java
Were there other "recent additions" that you had in mind other than
ImageButtonBean?
Niall
----- Original Message -----
From: "Michael McGrady" <mi...@michaelmcgrady.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Tuesday, September 21, 2004 3:40 PM
Subject: Re: Struts Bloat: Framework
> Rick Reumann wrote:
>
> > Michael McGrady wrote the following on 9/21/2004 9:37 AM:
> >
> >> What do you do with classes like DispatchAction and ImageButtonBean
> >> (which solve the same problem in different ways) when someone comes
> >> up with something better?
> >
> >
> > You need to include some flavors of DispatchAction in the core of
> > Struts and although I don't use Tiles (I use Sitemesh) and I no longer
> > use DynaForms of any flavor, I think there is no problem including
> > them. Now, if you included SiteMesh as 'part' of Struts that would be
> > dumb since it is completely stand alone, but Tiles (from what I
> > remember, relies on Struts, but I could be wrong there).
> >
> > Granted there is a fine line sometimes between bloat and necessary,
> > but I only see major bloat when I'm 'required' to extend a bunch of
> > classes that I don't really need.
> >
> > One of the nice things about Struts is it comes with a bunch of stuff
> > to make your job easier. You don't have to go google around to find
> > some Dispatch implementation or even for a solution for web layout or
> > dynamic beans. (It doesn't mean you can't go find other solutions.)
> > Having this stuff easily available is a huge plus especially for new
> > developers.
> >
> > Under your philosophy Struts would end up being just one
> > ActionServlet, a config file, a RequestProcessor, one Action and one
> > ActionForm. Then you'd be on your own to find validation, web layout,
> > dispatch, and tag solutions.
> >
> Hi, Rick,
>
> You are reading me too severly. I am seeing second class work being put
> into the framework and it will be very hard to get out. It is not
> helping users but is encouraging them to use Struts oafishly. I am not
> saying this is rampant. I am saying that doing something about the
> present tendancy to put crap code that is unrelated to the mission into
> Struts should be addressed.
>
> I certainly think that the tags that are tied to forms are part of the
> framework. I think there are distinctions here that are more finely put
> than the present division you see in our discussion.
>
> I am all for people being assisted with using the framework. Why
> wouldn't I be? The point is that Struts is getting to that point in its
> maturity where it needs to carefully consider what additions are
> worthwhile. The newer additions are quite suspicious. I think that
> ImageButtonBean, which I advocated in the early stages of that problem,
> is a rather shocking addition to the framework. When the canaries start
> dying, then we need to look at these issues. We can wait until Struts
> is full of crap like ImageButtonBean, or we can address the issues
> early. That is my only point. When a framework is essentially done,
> the real innovators will go off to other things and the remaining
> caretakers can easily blotch the whole deal if they are not reminded of
> the mission.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts Bloat: Framework
Posted by Michael McGrady <mi...@michaelmcgrady.com>.
Rick Reumann wrote:
> Michael McGrady wrote the following on 9/21/2004 9:37 AM:
>
>> What do you do with classes like DispatchAction and ImageButtonBean
>> (which solve the same problem in different ways) when someone comes
>> up with something better?
>
>
> You need to include some flavors of DispatchAction in the core of
> Struts and although I don't use Tiles (I use Sitemesh) and I no longer
> use DynaForms of any flavor, I think there is no problem including
> them. Now, if you included SiteMesh as 'part' of Struts that would be
> dumb since it is completely stand alone, but Tiles (from what I
> remember, relies on Struts, but I could be wrong there).
>
> Granted there is a fine line sometimes between bloat and necessary,
> but I only see major bloat when I'm 'required' to extend a bunch of
> classes that I don't really need.
>
> One of the nice things about Struts is it comes with a bunch of stuff
> to make your job easier. You don't have to go google around to find
> some Dispatch implementation or even for a solution for web layout or
> dynamic beans. (It doesn't mean you can't go find other solutions.)
> Having this stuff easily available is a huge plus especially for new
> developers.
>
> Under your philosophy Struts would end up being just one
> ActionServlet, a config file, a RequestProcessor, one Action and one
> ActionForm. Then you'd be on your own to find validation, web layout,
> dispatch, and tag solutions.
>
Hi, Rick,
You are reading me too severly. I am seeing second class work being put
into the framework and it will be very hard to get out. It is not
helping users but is encouraging them to use Struts oafishly. I am not
saying this is rampant. I am saying that doing something about the
present tendancy to put crap code that is unrelated to the mission into
Struts should be addressed.
I certainly think that the tags that are tied to forms are part of the
framework. I think there are distinctions here that are more finely put
than the present division you see in our discussion.
I am all for people being assisted with using the framework. Why
wouldn't I be? The point is that Struts is getting to that point in its
maturity where it needs to carefully consider what additions are
worthwhile. The newer additions are quite suspicious. I think that
ImageButtonBean, which I advocated in the early stages of that problem,
is a rather shocking addition to the framework. When the canaries start
dying, then we need to look at these issues. We can wait until Struts
is full of crap like ImageButtonBean, or we can address the issues
early. That is my only point. When a framework is essentially done,
the real innovators will go off to other things and the remaining
caretakers can easily blotch the whole deal if they are not reminded of
the mission.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts Bloat: Framework
Posted by Andrew Hill <an...@gridnode.com>.
<snip>
Under your philosophy Struts would end up being just one ActionServlet,
a config file, a RequestProcessor, one Action and one ActionForm. Then
you'd be on your own to find validation, web layout, dispatch, and tag
solutions
</snip>
Now that you come to mention it, this rather seems to be how I use it
anyhow!
Hehe, guess Im a 'classic struts' fan. Dont need no darn newfangled
Dynavalidatedchainedreptileslookerupperprocessedispatchythinghys....
nosireee...
Not that having a few kb of other stuff in the jars really bothers me,
and its nice to know its there should I need it ...
Rick Reumann wrote:
> Michael McGrady wrote the following on 9/21/2004 9:37 AM:
>
>> What do you do with classes like DispatchAction and ImageButtonBean
>> (which solve the same problem in different ways) when someone comes up
>> with something better?
>
>
> You need to include some flavors of DispatchAction in the core of Struts
> and although I don't use Tiles (I use Sitemesh) and I no longer use
> DynaForms of any flavor, I think there is no problem including them.
> Now, if you included SiteMesh as 'part' of Struts that would be dumb
> since it is completely stand alone, but Tiles (from what I remember,
> relies on Struts, but I could be wrong there).
>
> Granted there is a fine line sometimes between bloat and necessary, but
> I only see major bloat when I'm 'required' to extend a bunch of classes
> that I don't really need.
>
> One of the nice things about Struts is it comes with a bunch of stuff to
> make your job easier. You don't have to go google around to find some
> Dispatch implementation or even for a solution for web layout or dynamic
> beans. (It doesn't mean you can't go find other solutions.) Having this
> stuff easily available is a huge plus especially for new developers.
>
> Under your philosophy Struts would end up being just one ActionServlet,
> a config file, a RequestProcessor, one Action and one ActionForm. Then
> you'd be on your own to find validation, web layout, dispatch, and tag
> solutions.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts Bloat: Framework
Posted by Rick Reumann <st...@reumann.net>.
Michael McGrady wrote the following on 9/21/2004 9:37 AM:
> What do you do with classes like
> DispatchAction and ImageButtonBean (which solve the same problem in
> different ways) when someone comes up with something better?
You need to include some flavors of DispatchAction in the core of Struts
and although I don't use Tiles (I use Sitemesh) and I no longer use
DynaForms of any flavor, I think there is no problem including them.
Now, if you included SiteMesh as 'part' of Struts that would be dumb
since it is completely stand alone, but Tiles (from what I remember,
relies on Struts, but I could be wrong there).
Granted there is a fine line sometimes between bloat and necessary, but
I only see major bloat when I'm 'required' to extend a bunch of classes
that I don't really need.
One of the nice things about Struts is it comes with a bunch of stuff to
make your job easier. You don't have to go google around to find some
Dispatch implementation or even for a solution for web layout or dynamic
beans. (It doesn't mean you can't go find other solutions.) Having this
stuff easily available is a huge plus especially for new developers.
Under your philosophy Struts would end up being just one ActionServlet,
a config file, a RequestProcessor, one Action and one ActionForm. Then
you'd be on your own to find validation, web layout, dispatch, and tag
solutions.
--
Rick
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts Bloat: Framework
Posted by Michael McGrady <mi...@michaelmcgrady.com>.
Tuncay Baskan wrote:
>On Mon, 20 Sep 2004 20:30:46 -0400, Rick Reumann <st...@reumann.net> wrote:
>
>
>>Michael McGrady wrote the following on 9/20/2004 7:52 PM:
>>
>>
>>
>>>I have a real concern that Struts is going to continue to be bloated
>>>with what are not Struts, not part of the framework, but what are
>>>instead really very useful uses of Struts. DispatchAction and its
>>>progeny are just one example of this.
>>>
>>>
>>I would disagree with some of this. Since a DispatchAction can't really
>>stand on its own (unlike the commons packages do) I really think it
>>belongs part of Struts. I don't see any reason not to give people the
>>options from within the framework (I no longer like to use DynaForms but
>>I'm not really opposed to them being an option). On top of this, if I
>>was new developer I would be quite frustrated if I had to go find a ton
>>of optional packages just to accomplish some common/useful things. I
>>actually don't really find Struts that bloated. The jar isn't that big,
>>so I'm confused what the concern is? What is it that you find being
>>introduced that is currently bloating struts? Over the past 2(maybe
>>more?) years there haven't even been that many 'major' changes to Struts
>>(a nice bunch of improvements but no major bloat that I can see).
>>
>>--
>>Rick
>>
>>
>
>I *strongly* agree with Rick on DispatchAction.. Especially from the
>"new developer"s perspective, Rick's words are quite right.
>org.apache.struts.actions package contains only a handul of classes
>which are *required* in my opinion.
>
>I think the only package can be considered as bloat is the tiles
>package. It should not be in the default package, it can stand on its
>own and there are many alternatives. Also, from the number of messages
>about tiles in this list, I think it brings more problems than it
>solves. I have to say that I only tried it once and hated.
>
>/tb.
>
Thanks, Tuncay,
Not sure which point you strongly agree on, but it seems like the one
that said, in essence, there is not /too much/ bloat. The problem is
not size but function. I use Tiles and love it but agree that it should
be in a separate offering. What do you do with classes like
DispatchAction and ImageButtonBean (which solve the same problem in
different ways) when someone comes up with something better? If you
improve ActionMapping, then ActionMapping stays. But, classes like
DispatchAction and ImageButtonBean, which are quickly outdated by
imaginative coding of users of the framework, remain as useless relics
which you cannot easily jettison because taking them out will break
legacy code. What was surprising to me is that ImageButtonBean went in
at a time when better solutions were on the Struts Wiki. That is very
poor management.
I do see the point, of course, that new users need to have an easily
accessible place to get good examples of patterns that work well with
Struts. Putting the patterns in Struts, however, seems to me to be
thick-headed.
Michael McGrady
Re: Struts Bloat: Framework
Posted by Michael McGrady <mi...@michaelmcgrady.com>.
James Mitchell wrote:
>In a small way I agree with you, but in a another way I do not.
>
>What do you think will happen in 2 months, or 2 weeks, when someone is
>searching the mail archives and sees statements like "it brings more
>problems than it solves"? And as they read on, there is no rebuttal. One
>might assume the author is knowledgeable and accurate.
>
>It is frustrating when people who don't understand something bash it on
>public forums. Look at what happened as JSF was being created. You had a
>bunch of nay-sayers whining about how JSF is competitor to Struts, etc, etc.
>I mean, come on. That's like saying OJB or Hibernate is competing with
>JDO.....that just cracks me up.
>
>Anyway, I'm signing off this thread, and since you seem to love to have the
>'last word', I'll politely let you have it.
>
>See ya on another thread.
>
Now, about the substance of your comments. I really don't think there
is a danger of people jumping to conclusions about Tiles based on this
offhand remark about whehter it should be outside the framework.
Michael McGrady
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts Bloat: Framework
Posted by James Mitchell <jm...@apache.org>.
In a small way I agree with you, but in a another way I do not.
What do you think will happen in 2 months, or 2 weeks, when someone is
searching the mail archives and sees statements like "it brings more
problems than it solves"? And as they read on, there is no rebuttal. One
might assume the author is knowledgeable and accurate.
It is frustrating when people who don't understand something bash it on
public forums. Look at what happened as JSF was being created. You had a
bunch of nay-sayers whining about how JSF is competitor to Struts, etc, etc.
I mean, come on. That's like saying OJB or Hibernate is competing with
JDO.....that just cracks me up.
Anyway, I'm signing off this thread, and since you seem to love to have the
'last word', I'll politely let you have it.
See ya on another thread.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
----- Original Message -----
From: "Michael McGrady" <mi...@michaelmcgrady.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Tuesday, September 21, 2004 10:17 AM
Subject: Re: Struts Bloat: Framework
> I think the reference to Tiles was rather offhand and incidental and
> made solely in relation to another isssue which you are on record as not
> interested in, Jim. Missing the point is, of course, forgiveable. We
> all do that. When you do so /and/ call someone's thought "ignorant",
> that is unfortunate. The main point, that Tiles should be moved,
> whether you like it or not, is, I think, valid. I like (love) Tiles and
> agree with the gentleman's real point.
>
> Michael McGrady
>
> James Mitchell wrote:
>
> >>I think it brings more problems than it solves.
> >>
> >>
> >
> >That's a pretty ignorant statement.
> >
> >Why would you say such a thing? How
> >many people or projects are using Tiles (whether successfully or not)?
How
> >could you possibly know? So how could you know how many problems it
brings?
> >
> >With any product or feature of any software, the more popular something
is,
> >the more visibility (and critics) it generally has. Look at Validator.
It
> >has many critics and many enthusiasts. I have used Tiles on many
projects,
> >and despite the slight extra memory consumption, the pros far outweigh
the
> >cons.
> >
> >Just because some feature of some product is complex (and maybe poorly
> >documented) does not mean "it brings more problems than it solves".
> >
> >If you don't like the way something is, change it. If enough people like
> >your changes, submit them and they will likely be committed. But
comments
> >like these do not help in making anything better.
> >
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts Bloat: Framework
Posted by Michael McGrady <mi...@michaelmcgrady.com>.
I think the reference to Tiles was rather offhand and incidental and
made solely in relation to another isssue which you are on record as not
interested in, Jim. Missing the point is, of course, forgiveable. We
all do that. When you do so /and/ call someone's thought "ignorant",
that is unfortunate. The main point, that Tiles should be moved,
whether you like it or not, is, I think, valid. I like (love) Tiles and
agree with the gentleman's real point.
Michael McGrady
James Mitchell wrote:
>>I think it brings more problems than it solves.
>>
>>
>
>That's a pretty ignorant statement.
>
>Why would you say such a thing? How
>many people or projects are using Tiles (whether successfully or not)? How
>could you possibly know? So how could you know how many problems it brings?
>
>With any product or feature of any software, the more popular something is,
>the more visibility (and critics) it generally has. Look at Validator. It
>has many critics and many enthusiasts. I have used Tiles on many projects,
>and despite the slight extra memory consumption, the pros far outweigh the
>cons.
>
>Just because some feature of some product is complex (and maybe poorly
>documented) does not mean "it brings more problems than it solves".
>
>If you don't like the way something is, change it. If enough people like
>your changes, submit them and they will likely be committed. But comments
>like these do not help in making anything better.
>
Re: Struts Bloat: Framework
Posted by James Mitchell <jm...@apache.org>.
> I think it brings more problems than it solves.
That's a pretty ignorant statement. Why would you say such a thing? How
many people or projects are using Tiles (whether successfully or not)? How
could you possibly know? So how could you know how many problems it brings?
With any product or feature of any software, the more popular something is,
the more visibility (and critics) it generally has. Look at Validator. It
has many critics and many enthusiasts. I have used Tiles on many projects,
and despite the slight extra memory consumption, the pros far outweigh the
cons.
Just because some feature of some product is complex (and maybe poorly
documented) does not mean "it brings more problems than it solves".
If you don't like the way something is, change it. If enough people like
your changes, submit them and they will likely be committed. But comments
like these do not help in making anything better.
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
----- Original Message -----
From: "Tuncay Baskan" <tb...@gmail.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Tuesday, September 21, 2004 8:05 AM
Subject: Re: Struts Bloat: Framework
> On Mon, 20 Sep 2004 20:30:46 -0400, Rick Reumann <st...@reumann.net>
wrote:
> > Michael McGrady wrote the following on 9/20/2004 7:52 PM:
> >
> > > I have a real concern that Struts is going to continue to be bloated
> > > with what are not Struts, not part of the framework, but what are
> > > instead really very useful uses of Struts. DispatchAction and its
> > > progeny are just one example of this.
> >
> > I would disagree with some of this. Since a DispatchAction can't really
> > stand on its own (unlike the commons packages do) I really think it
> > belongs part of Struts. I don't see any reason not to give people the
> > options from within the framework (I no longer like to use DynaForms but
> > I'm not really opposed to them being an option). On top of this, if I
> > was new developer I would be quite frustrated if I had to go find a ton
> > of optional packages just to accomplish some common/useful things. I
> > actually don't really find Struts that bloated. The jar isn't that big,
> > so I'm confused what the concern is? What is it that you find being
> > introduced that is currently bloating struts? Over the past 2(maybe
> > more?) years there haven't even been that many 'major' changes to Struts
> > (a nice bunch of improvements but no major bloat that I can see).
> >
> > --
> > Rick
>
> I *strongly* agree with Rick on DispatchAction.. Especially from the
> "new developer"s perspective, Rick's words are quite right.
> org.apache.struts.actions package contains only a handul of classes
> which are *required* in my opinion.
>
> I think the only package can be considered as bloat is the tiles
> package. It should not be in the default package, it can stand on its
> own and there are many alternatives. Also, from the number of messages
> about tiles in this list, I think it brings more problems than it
> solves. I have to say that I only tried it once and hated.
>
> /tb.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts Bloat: Framework
Posted by Tuncay Baskan <tb...@gmail.com>.
On Mon, 20 Sep 2004 20:30:46 -0400, Rick Reumann <st...@reumann.net> wrote:
> Michael McGrady wrote the following on 9/20/2004 7:52 PM:
>
> > I have a real concern that Struts is going to continue to be bloated
> > with what are not Struts, not part of the framework, but what are
> > instead really very useful uses of Struts. DispatchAction and its
> > progeny are just one example of this.
>
> I would disagree with some of this. Since a DispatchAction can't really
> stand on its own (unlike the commons packages do) I really think it
> belongs part of Struts. I don't see any reason not to give people the
> options from within the framework (I no longer like to use DynaForms but
> I'm not really opposed to them being an option). On top of this, if I
> was new developer I would be quite frustrated if I had to go find a ton
> of optional packages just to accomplish some common/useful things. I
> actually don't really find Struts that bloated. The jar isn't that big,
> so I'm confused what the concern is? What is it that you find being
> introduced that is currently bloating struts? Over the past 2(maybe
> more?) years there haven't even been that many 'major' changes to Struts
> (a nice bunch of improvements but no major bloat that I can see).
>
> --
> Rick
I *strongly* agree with Rick on DispatchAction.. Especially from the
"new developer"s perspective, Rick's words are quite right.
org.apache.struts.actions package contains only a handul of classes
which are *required* in my opinion.
I think the only package can be considered as bloat is the tiles
package. It should not be in the default package, it can stand on its
own and there are many alternatives. Also, from the number of messages
about tiles in this list, I think it brings more problems than it
solves. I have to say that I only tried it once and hated.
/tb.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts Bloat: Framework
Posted by Michael McGrady <mi...@michaelmcgrady.com>.
Rick Reumann wrote:
> Michael McGrady wrote the following on 9/20/2004 7:52 PM:
>
>> I have a real concern that Struts is going to continue to be bloated
>> with what are not Struts, not part of the framework, but what are
>> instead really very useful uses of Struts. DispatchAction and its
>> progeny are just one example of this.
>
>
> I would disagree with some of this. Since a DispatchAction can't
> really stand on its own (unlike the commons packages do) I really
> think it belongs part of Struts. I don't see any reason not to give
> people the options from within the framework (I no longer like to use
> DynaForms but I'm not really opposed to them being an option). On top
> of this, if I was new developer I would be quite frustrated if I had
> to go find a ton of optional packages just to accomplish some
> common/useful things. I actually don't really find Struts that
> bloated. The jar isn't that big, so I'm confused what the concern is?
> What is it that you find being introduced that is currently bloating
> struts? Over the past 2(maybe more?) years there haven't even been
> that many 'major' changes to Struts (a nice bunch of improvements but
> no major bloat that I can see).
I don't know if you really wanted a reply on this, Rick, but my
reasoning is as follows. Things like ImageButtonBean are merely one
solution within the Struts framework to a problem. There is nothing
about ImageButtonBean that is tied in any way to Struts. Since
DispatchAction extends Action, it is tied to Struts. This is true of
all subclasses that use the Action base class. Once these patterned
solutions are in the framework, I think they give the impression that
they /are /in the framework. But, they aren't. They are just uses of
the framework, some more clever and more elegantly considered than others.
Michael McGrady
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts Bloat: Framework
Posted by Rick Reumann <st...@reumann.net>.
Michael McGrady wrote the following on 9/20/2004 7:52 PM:
> I have a real concern that Struts is going to continue to be bloated
> with what are not Struts, not part of the framework, but what are
> instead really very useful uses of Struts. DispatchAction and its
> progeny are just one example of this.
I would disagree with some of this. Since a DispatchAction can't really
stand on its own (unlike the commons packages do) I really think it
belongs part of Struts. I don't see any reason not to give people the
options from within the framework (I no longer like to use DynaForms but
I'm not really opposed to them being an option). On top of this, if I
was new developer I would be quite frustrated if I had to go find a ton
of optional packages just to accomplish some common/useful things. I
actually don't really find Struts that bloated. The jar isn't that big,
so I'm confused what the concern is? What is it that you find being
introduced that is currently bloating struts? Over the past 2(maybe
more?) years there haven't even been that many 'major' changes to Struts
(a nice bunch of improvements but no major bloat that I can see).
--
Rick
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org