Canalblog
Editer l'article Suivre ce blog Administration + Créer mon blog
Publicité
Just Know
10 juin 2012

Struts2-JQuery plugin


Struts2 JQuery or Dojo, not a hard choice

As the Apache Struts has lowered the Dojo plugin from Struts 2.1  many of the developers have made their mind for shifting everything to jQuery. While doing so, they especially notices the difference in sizes (170kb vs 19kb above). One may experience little troubles with the IE browser with handling dojo scripts.  

Some times this happens with jQuery too (when you works for a longer period of time, sometimes the script stops running)?

The main problem one faces is that the tree tag does not exist in jquery. In such a case, it is suggested to keep the old dojo tags for that part which has already created a lot of conflicts between dojo and jquery.

Changing ALL tags instantly to jquery in order to avoid strange behavior is recommended here.

Many developers suggest jQuery. They say that they found Dojo a bit intrusive and switched to jQuery with which it becomes a lot more convenient as it only uses the standard HTML markup instead of adding it's own tags like Dojo does. Also you can find out a ton more documentation for jQuery then Dojo.

On eZdia, you can seek live advices from Experts on Struts2 jQuery. Numerous articles have been posted on Struts 2 Framework, you can also find full working code for jQuery Plugin.

Publicité
Publicité
Commentaires
Publicité
Archives
Publicité