You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dan Allen <da...@mojavelinux.com> on 2003/10/04 20:25:03 UTC
merging webwork and struts
Maybe I am just a little naive about the topic, but I just read a
tutorial on webwork2 and I see absolutely no reason why webwork has
to exist. Of course there are great ideas in the implementation of
webwork2, but I see no reason why they can't just be added to
struts. Take interceptors for example. You don't need to rewrite a
whole MVC application to add interceptors. Struts could easily
integrate these into its request processor, either in the core of
struts or as a struts hack. In my mind, struts provides a basic
framework which almost every MVC application is going to need,
reading a config file to obtain a datasource, message resources,
controller configuration and action mappings. Maybe the last 5% of
the code on the very top of struts is under question...then it just
seems we should work that last 5% to satisfy the needs of these
webwork converts. Am I way off here?
Dan
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Daniel Allen, <da...@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[Frodo]: "He deserves death."
[Gandalf]: "Deserves it! I daresay he does. Many that live
deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in
judgement. For even the very wise cannot see all ends."
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: merging webwork and struts
Posted by Joe Germuska <Jo...@Germuska.com>.
At 13:25 -0500 10/4/03, Dan Allen wrote:
>Maybe I am just a little naive about the topic, but I just read a
>tutorial on webwork2 and I see absolutely no reason why webwork has
>to exist. Of course there are great ideas in the implementation of
>webwork2, but I see no reason why they can't just be added to
>struts.
see http://struts.sourceforge.net/saif/index.html which sounds like
it's setting out to do exactly what you say.
People who like webwork like it a lot, and some people who seem
pretty smart are among those who like WebWork -- I agree that Struts
should learn any relevant lessons from that project.
I have yet to make the time to really learn about WebWork myself, but
maybe Don and Lars (see the link above) will save me the effort!
Joe
--
Joe Germuska
Joe@Germuska.com
http://blog.germuska.com
"We want beef in dessert if we can get it there."
-- Betty Hogan, Director of New Product Development, National
Cattlemen's Beef Association
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: merging webwork and struts
Posted by Dan Allen <da...@mojavelinux.com>.
> >Maybe I am just a little naive about the topic, but I just read a
> >tutorial on webwork2 and I see absolutely no reason why webwork has
> >to exist. Of course there are great ideas in the implementation of
> >webwork2, but I see no reason why they can't just be added to
> >struts. Take interceptors for example. You don't need to rewrite a
> >whole MVC application to add interceptors. Struts could easily
> >integrate these into its request processor, either in the core of
> >struts or as a struts hack. In my mind, struts provides a basic
> >framework which almost every MVC application is going to need,
> >reading a config file to obtain a datasource, message resources,
> >controller configuration and action mappings. Maybe the last 5% of
> >the code on the very top of struts is under question...then it just
> >seems we should work that last 5% to satisfy the needs of these
> >webwork converts. Am I way off here?
>
> There are several other frameworks in the Java space that have been
> around as long, or longer, than Struts. WebWork is one, JPublish
> Maverick are others. (Tapestry is also popular, though I believe
> younger.) Struts has become the "900 pound gorilla" as the WebWork guys
> say, but all of these frameworks work well. (At least for the people
> using them.)
>
> But, there's no reason why there has to be a one-size-fits-all solution.
> Having other people working in the same problem space is healthy and
> breeds new ideas.
True, true. I guess what I am defending against is people that seem
to think that Struts will eventually become "obsolete" and that it
is so yesterday. It drives me nuts how a lot of people in IT leave
something before it ever has a chance to fully mature. I just don't
want people to think Struts is obsolete just because it is missing a
feature. I think that those of us that understand the code and are
able to submit patches can easily integrate new ideas into the code,
but the "general" users who do not understand the code behind the
project just think that they have to find a new project to get new
features.
> Yes, there are tricks Struts that could learn from all of the other
> frameworks. It's just a matter of someone need the trick enough to
> submit a patch and lobby for it's acceptance.
I will definitely be working up patches and plugins as I discover
new valuable tricks and techinques and find the time to integrate
them into my copy of the code base.
Dan
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Daniel Allen, <da...@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Windows is packaged with Solitaire (ooh)!
Linux is distributed with Doom...
you can have your deck of cards, I'll take a chainsaw!
-- Linus Torvalds
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: merging webwork and struts
Posted by Ted Husted <hu...@apache.org>.
Dan Allen wrote:
> Maybe I am just a little naive about the topic, but I just read a
> tutorial on webwork2 and I see absolutely no reason why webwork has
> to exist. Of course there are great ideas in the implementation of
> webwork2, but I see no reason why they can't just be added to
> struts. Take interceptors for example. You don't need to rewrite a
> whole MVC application to add interceptors. Struts could easily
> integrate these into its request processor, either in the core of
> struts or as a struts hack. In my mind, struts provides a basic
> framework which almost every MVC application is going to need,
> reading a config file to obtain a datasource, message resources,
> controller configuration and action mappings. Maybe the last 5% of
> the code on the very top of struts is under question...then it just
> seems we should work that last 5% to satisfy the needs of these
> webwork converts. Am I way off here?
There are several other frameworks in the Java space that have been
around as long, or longer, than Struts. WebWork is one, JPublish
Maverick are others. (Tapestry is also popular, though I believe
younger.) Struts has become the "900 pound gorilla" as the WebWork guys
say, but all of these frameworks work well. (At least for the people
using them.)
But, there's no reason why there has to be a one-size-fits-all solution.
Having other people working in the same problem space is healthy and
breeds new ideas.
Yes, there are tricks Struts that could learn from all of the other
frameworks. It's just a matter of someone need the trick enough to
submit a patch and lobby for it's acceptance.
-Ted.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: merging webwork and struts
Posted by David Graham <gr...@yahoo.com>.
Different people have different ideas on how to accomplish the same thing.
It's good to have multiple implementations so that we can learn the best
from each. If you look at JSF, you will see features taken from Struts
and WebWork.
On a side note, there are a couple of frameworks similar to Struts that,
IMO, have been created for financial gain and/or to enhance the author's
already oversized ego. WebWork does not fall into this group though :-).
David
--- Dan Allen <da...@mojavelinux.com> wrote:
> Maybe I am just a little naive about the topic, but I just read a
> tutorial on webwork2 and I see absolutely no reason why webwork has
> to exist. Of course there are great ideas in the implementation of
> webwork2, but I see no reason why they can't just be added to
> struts. Take interceptors for example. You don't need to rewrite a
> whole MVC application to add interceptors. Struts could easily
> integrate these into its request processor, either in the core of
> struts or as a struts hack. In my mind, struts provides a basic
> framework which almost every MVC application is going to need,
> reading a config file to obtain a datasource, message resources,
> controller configuration and action mappings. Maybe the last 5% of
> the code on the very top of struts is under question...then it just
> seems we should work that last 5% to satisfy the needs of these
> webwork converts. Am I way off here?
>
> Dan
>
> --
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Daniel Allen, <da...@mojavelinux.com>
> http://www.mojavelinux.com/
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> [Frodo]: "He deserves death."
> [Gandalf]: "Deserves it! I daresay he does. Many that live
> deserve death. And some that die deserve life. Can you give
> it to them? Then do not be too eager to deal out death in
> judgement. For even the very wise cannot see all ends."
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org