struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Cooper" <>
Subject Re: JS Libraries (was Re: [WebWork2] TODO)
Date Thu, 13 Apr 2006 04:47:40 GMT
(Yeah, I'm very late catching up...)

On 3/28/06, Joe Germuska <> wrote:
> >I had very bad experiences with Dojo so far, and I brought this into
> >discussion on ww forums. I wouldn't encourage moving to Dojo, because the
> >browser support is still lacking, and from the feeling we got from their
> ml
> >some of the old browsers, that are still used (f.e. IE 5.5) will
> be  missing
> >in the next versions.
> If you believe, IE
> 5.5 only has 2% market share.  I wouldn't blame a project for not
> spending a large amount of resources supporting that.

It's not just lack of market share. IE 5.5 has some serious deficiencies
when it comes to DHTML and DOM manipulation. So the question becomes one of
how much effort do you want to put in to support a minimally used browser,
and negatively impact performance on more modern browsers at the same time.
IMHO, the Dojo folks made the right decision.

That said, I think we should try to keep the JS libraries as
> pluggable as possible.  But maybe it's impossible to bundle valuable
> features and still do that -- I was really surprised at how many
> dependencies Webwork accepted, and I'm still trying to work out for
> myself whether that's better in the long run.  I think the Struts
> community philosophy was very conservative about that, but it may do
> us well to challenge that philosophy.
> Still, having roots in that philosophy, again my inclination is to
> try to be more library agnostic.  Can that work?

Well, in theory, yes. In practice, in the general case, I seriously doubt
it. To really accomplish that, we'd end up building yet another custom
abstraction. That would (a) negatively impact performance, and (b) eliminate
the option of using certain toolkits (e.g. Dojo) the way they were designed
to be used, viz _without_ an abstraction layer on top of the browser.

Martin Cooper

> --
> Joe Germuska
> *
> "You really can't burn anything out by trying something new, and
> even if you can burn it out, it can be fixed.  Try something new."
>         -- Robert Moog
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message