Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding front-end frameworks to GWT

I normally do my web development in java using wicket or php building my UI using zurb foundation. Recently though I was asked to do some development using GWT. I am coming up to speed but am wondering if there is a way to add in a front-end framework like foundation. I found a bootstrap implementation here and am wondering if creating such a wrapper is the only way to do something like this.

like image 649
nerdlyist Avatar asked Dec 03 '25 15:12

nerdlyist


1 Answers

There's a @JsInterop in GWT 2.8.0 - Something that should ease the integration between native JavaScript frameworks and GWT. If you want to import a widget library yourself - this should be the way.

Also you can just access your JS-widget through JSNI (but having lots of js code kills the idea of using GWT if you ask me)

Another way - Use existing GWT frameworks: Sencha GXT, Vaadin and maybe SmartGWT Also check the jQuery~ish library for GWT if you like your selectors https://github.com/ArcBees/gwtquery

like image 112
Роман Гуйван Avatar answered Dec 06 '25 03:12

Роман Гуйван



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!