What is the best way to build a large app (really large) with GwtQuery
Any pointers shall be helpful
gQuery is not a framework, just a utility library which adds sugar syntax to Gwt java, so as you can deal with DOM using the popular jQuery API. It also adds some utilities like Promises, Easy Ajax, Json and Xml data binding etc.
Said that, the best practices for gwtquery could be:
Ajax
instead of dealing with RequestBuilder
.Promises
instead.console.log
instead of having to configure gwt loggers.if (Browser.isIE) ...
and take advantage of code removal.JsniBundler
JsUtils
from gQueryGQuery.on()
. Even you could replace the EventBus
to fire custom events with data (better performance btw).We (Julien and me) gave an interesting presentation last year in the GWT.create 2013 conferences. You have the interactive slides or its static version, and I am giving a presentation speaking about gQuery and its best practices on the GWT.create 2015