Are jQuery and GWT comparable structures?

At work, it discusses a little which client structure we should use for our front-end web applications. This is currently a parsing between GWT and jQuery, and I'm kind of on a fence, but leaning towards jQuery.

From what I can tell, GWT and jQuery try to solve different problems, but are compared with each other because they are both in the web application space.

I suspect that if so, then comparing the two can be fruitless, so I'm trying to understand that comparing jQuery with GWT is even comparing apples to apples in the same way jQuery and ExtJS can be compared, or it would be more useful for our team ask specific questions about our application and use the answers to determine which structure is best for us?

+3
source share
6 answers

In addition to what Craig mentions, there is another, almost non-negotiable reason. Are you building a website or web application?

A website is a traditional way of doing things. The user clicks on the link, the browser goes to the server and loads a new html. Sometimes you add AJAX calls to populate lists or to save some data, but in most cases, the transition from one page to another occurs on the server side.

- . , gmail, Google Calendar, Google . html. , . HTML-, javascript ( ).

GWT -. - GWT, . JQuery -, jazzy , - .

, - - webapp, , , - java v/s javascript.

+13

, . GWT - Java-, JavaScript. jQuery - JavaScript. , , , . , , : " Java JavaScript?"

+5

- GWT, jQuery, . , , . Java Javascript, Javascript, .

, , , , / , , . . -, , . , , , , .

+1

Java ( Swing/SWT - ), GWT. , jQuery , . " " .

0

: , GWT JQuery , GWT JSNI JQuery.

: , . GWT JQuery , JavaScript , -, , .

, , XHR, , .., .

GWT JQuery , , .

0

GQuery, GWT jQuery: http://code.google.com/p/gwtquery/

, , JQuery.

Based on the javascript background, I found that the learning curve for GWT is huge compared to learning another js library, because my Java was bad. However, I was stuck with this and I found that GWT is great for complex projects, mainly because of the strong Java typing and the excellent IDE support, which catches so many errors that would require hours of debugging using js.

0
source

Source: https://habr.com/ru/post/1743004/


All Articles