umesh awasthi wrote:
Thanks Jeromy for the detailed Explanation
you have mentioned the point on which we are also confused...
we are on analysis phase of using any external ajax libraray with out coming
struts2 based applications
I should mention here that there are other server-side frameworks that
provide better integration for rich client-side widgets. This is not a
strength of Struts 2 at the moment. If interested, start here:
http://raibledesigns.com/rd/entry/comparing_jvm_web_frameworks_presentation
We have got lot of favourable comments for YUI over DOJO (Previously we
haqve faced some performance issues by using DOJO)
The performance issues for Dojo were previously dominated by the library
parsing your HTML to find and instantiate widgets and the lazy-loading
of resources.
They're costs of unobtrusive javascript. The new tags in Struts2.1 went
to some length to provide better control over that process.
I believe Dojo1+ has also made major performance improvements .
Still we will create a sample application for testing the functionality of
DOJO with struts2.
Hope it will help us to decide the path..
:)
Jermony can u share your exp of using YUI as we don't have much idea abt it
,like Its performance and intergation with struts2? i thik that will also
help us to choose the path.
YUI is great. It doesn't have the fancy widgets of other libraries but
it is so well designed and well documented that it's a pleasure to use.
Even the library's code is easy to understand. Musachy put me onto it.
There's no issues using it with Struts2, as with any other typical
client side library. Simply follow their examples. We initially
created some struts2 tags for it but I don't use them any more :
http://cwiki.apache.org/S2PLUGINS/yui-plugin.html (datetimepicker,
autocomplete, submit, div, anchor, tabview)
There are three major perceived drawbacks for YUI:
- the widget set is small in number compared to other libraries. It
grows faster than I can keep up, but it's not fancy compared to MooTools
or Scriptaliciouis;
- you need to learn object-oriented javascript. Properly. I get the
impression this scares off non-programmers.
- it's Yahoo. I have no problem with that as there's brilliant paid
programmers behind it, but some people seem to have issues with such
open-source projects.
we haven't given any thought of enhancing ftl.
surely Tom we will also look in to this aspect..
any other suggestuion in this regard will be much appriciated..
Don't discount Dojo without first trying to use it directly. It is
different from YUI in that you can rely on their markup without getting
heavily into the javascript until you need custom widgets. That has got
to have its advantages for many projects. If you liked the struts tags
you'll probably like using Dojo directly.
Hope that helps,
Jeromy Evans
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]