-
Notifications
You must be signed in to change notification settings - Fork 18
Frequently Asked Questions
Is there a way to host regular GWT widgets in jqm4gwt?
jqm4gwt components are GWT components and so they can be used anywhere a GWT component can be.
Choosing jqm4gwt vs. mgwt
Technically you can mix and match components from both libraries and may not need to choose one instead of the other. Practically speaking, there is a lot of overlap between the libraries, so you may be inclined to choose one over the other.
Before you decide, we recommend watching this Google i/o 2013 presentation on the future GWT with the understanding that Google recently employed the developer of mgwt, Daniel Kurka, to among other things, add better support for mobile components in GWT.
This years goals for all of GWT are great - better two-way interoperability between JavaScript and GWT, support for Java 7 & 8, better leveraging of the Closure compiler and of course better mobile support by a top notch, yet limited sized team.
In contrast the JQueryMobile team of the JQuery foundation is solely focused on mobile user experience.
Then compare the showcases of both [mgwt] (http://mobilegwt.appspot.com/showcase/) and [JQueryMobile] (http://demos.jquerymobile.com/1.4.2/) and play with [JQueryMobile's ThemeRoller] (http://themeroller.jquerymobile.com/). Many find the JQueryMobile user experience to be richer.
Using jqm4gwt will leverage the efforts of both GWT and JQueryMobile. By definition, there will be duplication of functionality between the JQuery libraries and GWT's, making jqm4gwt apps slightly larger, but the user experience will be richer for it.
For example the final size of jqm4gwt examples application itself is 240KB (all jqm4gwt widgets used), and also jQuery and jQuery Mobile scripts and CSS should be added on top of it, which adds around 480KB.