Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of Grails Ajax Rich client plug-in comparison

2025-03-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article is to share with you the content of a sample analysis of the comparison of Grails Ajax rich client plug-ins. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Recently, Dean Del Ponte wrote a comparison of four Grails Ajax rich client plug-ins and gave his own judgment. For those heavyweight rich-customer solutions, such as Flex or JavaFX, the author claims not to consider. Dean Del Ponte first compares the advantages and disadvantages of the four plug-ins:

Prototype/Scriptaculous

Advantages

Included by default in Grails

Popular framework with API documentation and online help

The core functions of Prototype are easier to use; note that the learning curve of Scriptaculous is shorter than that of Prototype.

Good community support. There are many free third-party components.

Shortcoming

Except for API, the documentation is not detailed and difficult to find

He is no longer a "leader". Often act as followers of other frameworks.

The learning curve is much steeper than other frameworks.

GrailsUI plug-in

Advantages

Integrated GSP tags that support 10 YUI components

Both the GrailsUI plug-in wiki page and the YUI home page are well documented.

Participation of SpringSource developers

Shortcoming

No GSP tag implementation is provided for all YUI components

For those YUI components with GSP tags, all features are not supported (for example, edits in cells of a data table)

Limited availability of third-party YUI components

RichUI plug-in

Advantages

Provides the implementation of 21 kinds of rich client components

A large number of GSP tag integration

Well documented.

Shortcoming

Contains multiple underlying JavaScript frameworks, which may conflict with other plug-ins

JQuery

Advantages

Detailed documentation with routines

Large community

Large component library with the largest number of existing JavaScript frameworks

A large number of components can be accessed from the project website (jQuery calls them plug-ins)

Simple and easy-to-use grammar

Shortcoming

No integration of GSP tags is provided except for Grails default tags

A general understanding of jQuery API, syntax, and JavaScript is required to effectively use

Back to our original question: "which one of them?" The author's answer is quite smooth: "it depends on your needs." You don't have to care too much, because this kind of thing is also "radish and cabbage have their own preferences". Of course, the author still gives his *: RichUI plug-in.

At the end of the article, the author gives his own comprehensive rating of the four plug-ins:

RichUI

Easy to use and well integrated with GSP tags. No knowledge of JavaScript is required. Both novice and veteran of Grails are treated equally.

GrailsUI

It's not as easy to use as the RichUI plug-in, but it's well documented and provides some good components and good GSP tag integration.

JQuery

If you are comfortable with JavaScript and want to learn jQuery, you can use it. There are no restrictions on its use, and I highly recommend it for developers who are not intimidated by JavaScript.

Prototype/Scriptaculous

If you don't want or can't include other frameworks in your project, use it. It's not as easy to use as jQuery, but it has a large community and documentation can be found.

In the comments section of the article, some readers mentioned why there is no ZK plug-in involving Grails. Obviously, this article does not cover all Grails Ajax plug-ins, but it does include several Ajax plug-ins currently available in the Grails plug-in.

Thank you for reading! This is the end of the article on "sample Analysis of the comparison of Grails Ajax Rich client plug-ins". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report