Javascript as a target language - GWT kickoff - part1/2

33
Javascript as a target language: GWT Kickoff (Part 1/2) Alberto Mancini - Francesca Tosi [email protected] - [email protected]

description

Javascript as a Target Language: GWT KickOff Alberto Mancini - Francesca Tosi @jooink

Transcript of Javascript as a target language - GWT kickoff - part1/2

Page 1: Javascript as a target language - GWT kickoff - part1/2

Javascript as a target language:GWT Kickoff (Part 1/2)

Alberto Mancini - Francesca Tosi [email protected] - [email protected]

Page 4: Javascript as a target language - GWT kickoff - part1/2

GW

T co

s’è

Google Web Toolkit (GWT) is an open source Java software development kit that makes writing AJAX applications like Google Maps and Gmail easy for developers.

http://www.gwtproject.org/

Page 5: Javascript as a target language - GWT kickoff - part1/2

GW

T St

ats Official GWT Report by Vaadin

[2012] - https://vaadin.com/gwt-report-2012-portlet/download/1871870899/Future-of-GWT-Report-2012.pdf

[2013] - (del 10/04/2014 → GWT in crescita)https://vaadin.com/documents/10187/42fbbec4-51c8-426b-8aa8-fe46129353a3

Page 6: Javascript as a target language - GWT kickoff - part1/2

GW

T St

ats

E’ una delle librerie più utilizzate

http://zeroturnaround.com/rebellabs/the-curious-coders-java-web-frameworks-comparison-spring-mvc-grails-vaadin-gwt-wicket-play-struts-and-jsf/

Page 7: Javascript as a target language - GWT kickoff - part1/2

GW

T St

ats

Come viene principalmente

utilizzato

Page 8: Javascript as a target language - GWT kickoff - part1/2

GW

T St

ats

Browser & platform support.

Page 9: Javascript as a target language - GWT kickoff - part1/2

GW

T St

ats GWT è

molto usato in Europa

Page 10: Javascript as a target language - GWT kickoff - part1/2

GW

T St

ats GWT

why i love it ;-)

Page 11: Javascript as a target language - GWT kickoff - part1/2

GW

T St

ats GWT

the dark side

Page 12: Javascript as a target language - GWT kickoff - part1/2

right

for ?

Page 13: Javascript as a target language - GWT kickoff - part1/2

GW

T St

ats as of Q4/2012

● SDK downloaded over 1 million times● 100,000+ Active Developers● Deep Integration with Eclipse, IntelliJ, Spring STS/Roo● Used by Google products such as AdWords, Flights,

Wallet● Fun things: GwtQuake, Angry Birds for the Web● GWT Today is a mature, high quality, code base.

Page 14: Javascript as a target language - GWT kickoff - part1/2

... n

ot a

Fra

mew

ork Frameworks that may help

https://github.com/ArcBees/GWTPmodel-view-presenter framework

http://www.jboss.org/erraiCDI, and JPA for GWT

http://www.tessell.org/app framework (on gwt-pectin)

Page 15: Javascript as a target language - GWT kickoff - part1/2

Ecos

yste

mSencha’s GXT - http://www.sencha.com/products/gxt/

https://vaadin.com/gwt

http://code.google.com/p/smartgwt/

Page 16: Javascript as a target language - GWT kickoff - part1/2

Why

Why?

Page 17: Javascript as a target language - GWT kickoff - part1/2

FOSS

The GWT Steering committee was founded in 2012 to help the GWT project become an even bigger success as an open source project.

● Ray Cromwell, Google● Artur Signell, Vaadin● Colin Alworth, Sencha● Mike Brock, RedHat● Thomas Broyer● Stephen Haberman, Bizo● Daniel Kurka, Google● Christian Goudreau, Arcbees● Konstantin Solomatov, Jetbrains

Page 18: Javascript as a target language - GWT kickoff - part1/2

Evol

ving

& M

atur

e Rev. Improvements

2006 GWT 1.0

2007 GWT 1.3/GWT 1.4 First Open Source Release, OSX support / JUnit and ImageBundle

2008 GWT 1.5 Java 1.5 support, Overlay Types, DOM API, CSS Themes, Linkers

2009 GWT 1.6/GWT 1.7GWT 2.0

EventHandlers, EMMA Support, WAR support, Parallelized Builds/Newer browser support, IE8, GPE and AppEngine/DevMode, DraftCompile, UIBinder, LayoutPanel, CodeSplitter, ClientBundle, CssResource

2010 GWT 2.1 RequestFactory, Editor Framework, Validation, MVP, Cell Widgets

2011 GWT 2.2/GWT 2.3GWT 2.4

GWT Designer, HTML5 support/Better AppEngine integration/Maven and RequestFactory enhancements

2012 GWT 2.5 SuperDevMode, Elemental, UiRenderers, FragmentMerging, ClosureCompiler

2013 GWT 2.5.1 ….

2014 GWT 2.6 ….

Page 19: Javascript as a target language - GWT kickoff - part1/2

Bro

wse

rs

Page 20: Javascript as a target language - GWT kickoff - part1/2

Bro

wse

rs

Page 21: Javascript as a target language - GWT kickoff - part1/2

xché

una codebase e tante 'incarnazioni' dell'applicazione.

Page 22: Javascript as a target language - GWT kickoff - part1/2

Bor

n to

be

...Why GWT? The beginnings of rich internet applications started taking off in 2004-2005 with Gmail/Google Maps. jQuery didn't even exist yet. There was a vacuum for tools to build large scale web applications, and leveraging the already mature Java toolchain of IDEs, libraries, build tools, testing frameworks, made good sense.

Ray Cromwell

Page 23: Javascript as a target language - GWT kickoff - part1/2

Now

aday

s ● Plethora of languages compiling to js (..., python, C/C++, Ocaml, Haskel, ...)

● Good and awesome js libraries & frameworks

Closure Tools

Page 24: Javascript as a target language - GWT kickoff - part1/2

Seco

ndo

noi

● non tutte le applicazioni sono uguali

● ed alle volte alcune richiedono strumenti inustitati

Page 25: Javascript as a target language - GWT kickoff - part1/2

GW

T-B

oofc

vGWT-Boofcv sample at:http://goo.gl/3IJQgs

Page 26: Javascript as a target language - GWT kickoff - part1/2

DEM

O

http://picshare.jooink.com

Page 27: Javascript as a target language - GWT kickoff - part1/2

Mar

ker B

ased

AR

http://code.google.com/p/gwt-webgl/http://code.google.com/p/gwt-nyartoolkit/

http://picshare.jooink.com

Page 28: Javascript as a target language - GWT kickoff - part1/2

Mob

ile (&

tab)

too

Page 29: Javascript as a target language - GWT kickoff - part1/2

Com

e Fu

nzio

na

<video/>

<canvas/>

http://code.google.com/p/gwt-nyartoolkit/

Ny

HTTP

Page 30: Javascript as a target language - GWT kickoff - part1/2

java

→ G

WT

Using Java libraries into the browser

Page 31: Javascript as a target language - GWT kickoff - part1/2

JS →

GW

T

Using js libraries with java

Page 32: Javascript as a target language - GWT kickoff - part1/2

Dee

per

Deeper.

Page 33: Javascript as a target language - GWT kickoff - part1/2

Than

ks

Alberto [email protected]

Francesca [email protected]