I may get boos on this, but I've thought about creating a hand-rolled
AJAX plugin. I like the available JS frameworks like
Prototype/Dojo/JQuery, but it does seem like there are a lot of
gotchas with any one of them. Having written some XHR processing in
vanilla javascript, sometimes I wonder how hard it would be to
maintain a tag library specifically developed to integrate with
Struts2... The benefit would be in maintenance, since it would be more
closely tied to the development of Struts2 (and possibly performance,
though a lot of work was done in the dojo-plugin), but the
disadvantage would be that a lot of JS code would need developed up
front. Another thought I've had on the topic is to separate the
concerns within the AJAX components, you have a set of widgets
(tabbedpanel, divs, autocompleter) and a set of components related to
processing (JSON, XHR, etc). It would be great to make these two
things separated to the point that the YUI widgets could be dropped in
and combined with the Prototype processing so that the YUI tabbedpanel
could be populated by JQuery calls... The goal would be to give a
somewhat savvy AJAX developer the freedom to pull in the widgets they
like combined with the JS code style they prefer.

-- 
Wesley Wannemacher
President, Head Engineer/Consultant
WanTii, Inc.
http://www.wantii.com

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

Reply via email to