On Fri, Nov 3, 2017 at 1:45 PM, Bryan Buchanan <email@example.com> wrote:--
If I was to start a new GWT project today, what is the recommended way to generate the UI (Elements, UIBinder, ??) and exchange data with a back end (RCP, ??)
There are as many different answers to this as there are people is my guess and a lot of the answers are contingent on j2cl/gwt3 not being vapourware.
Anyhoo we use the following libraries without reservation:
* Dagger 2 for dependency injection (https://google.github.io/dagger/)
* Elemental2 for Browser Integration (https://github.com/google/elemental2)
Elemental2 does not see frequent releases, is beta, and missing lots and is a PITA to build. However it is built by Google and presumably used internally quite heavily and based of closure which is even wider usage so we expect this to improve over time. It also covers all/most of our use cases so we have been happy with it. When we hit something that not yet covered it is simple to write your own jsinterop abstraction.
An interesting library that we are watching but have yet to use is VueGWT (https://github.com/Axellience/vue-gwt). It looks like it could be very nice and developers seem active and
We also have our own library that does state management which is a reimplementation of principles of Mobx in java with a few other libraries blended into it. It is probably one of the best things about our new architecture but it is still in flux but will hopefully stabilise by the start of December. Unfortunately it is yet to be properly documented but you can see the start of it at http://realityforge.org/arez/ and https://github.com/realityforge/arez
We are also working on a fork/rewrite of GWTReact (https://github.com/GWTReact/gwt-react) - you can see our work at http://realityforge.org/react4j/ and https://github.com/realityforge/react4j but it is in an early stage and I expect it will stabilise Mar next year. I am encouraged to see that react may also be moving towards being optimisable by closure compiler which would potentially make a lot of different in j2cl world.
You can see what an Arez+React4j applications looks like at https://github.com/realityforge/react4j/tree/master/todomvc/src/main/java/react4j/todomvc
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Post a Comment