Más contenido relacionado Similar a Gwt, die bessere spinne (20) Gwt, die bessere spinne1. GWT, die bessere Spinne für
das Web?
papick g.taboada | pgt technology scouting GmbH
1
2. GWT,
die bessere Spinne für das Web?
Mit welchem Framework soll ich das Web von
heute (und das von morgen) entwickeln?
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
3. GWT,
die bessere Spinne für das Web?
Warum steckt Google soviel Kraft in GWT und
nicht in eine eigene JSF-Implementierung?
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
4. GWT,
die bessere Spinne für das Web?
In diesem Vortrag werden verschiedene Aspekte
aus der Webentwicklung beleuchtet - unter
anderem Politik, Architektur, Produktivität,
Laufzeitumgebung, Skills - und erklärt, warum
GWT die bessere Spinne ist.
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
6. ‣ The Web?
‣ RIAs - The architectural shift
‣ Standards?
Session ‣ Developing smarter
Topics
7. Web 2.0, 3.0 ?!?
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
8. Web 2.0 by apps?
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
9. Web 2.0 by buzzwords?
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
10. Web 2.0 by technologies?
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
11. Web 2.0 by what we see
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
14. XML
JavaScript
HTML
DOM/ DOM-Scripting
XMLHttpRequest
JSON
Dynamic HTML
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
15. copyright 2006, Leland Scott, Musings from Mars
Native DHTML speakers
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
16. The Ajax
slippery slope
‣ Try “a little bit of script”
‣ Every body loves it!
‣ More!!!
‣ Errr - Do we know
Javascript?
‣ Does it work with…
‣ Wait – this is hard!
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
17. Fear browsers
with all of mind,
body and spirit
When in danger,
when in doubt,
run in circles
cry and shout
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
18. HTML5 Chrome Firefox Safari Opera
canvas
video
geolocation
appcache
database
Vic Gundotra
workers Google IO Keynote
HTML 5 here and now
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
19. ‣ The Web?
‣ RIAs - The architectural
shift
Session ‣ Standards?
Topics ‣ Developing smarter
20. The web THEN
and now
Browsers where dumb html
terminals
High server side resource
consumption
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
21. Browser Server
event
espo nse
full html r
event
spo nse
fu ll html re
event
spo nse
fu ll html re
22. Browser Server
event
espo nse
full html r
event
spo nse
fu ll html re
event
spo nse
fu ll html re
23. Browser Server
event
espo nse
full html r
event
spo nse
fu ll html re
event
spo nse
fu ll html re
24. Browser Server
event
espo nse
full html r
event
spo nse
fu ll html re
event
spo nse
fu ll html re
28. something to
remember
measuring web
performance
is
measuring
latency
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
29. The web then
and NOW
Rich user interfaces in the
Browser
Server resource consumption
reduced to a minimum
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
31. Browser Server
first reques
t
e sp o n se
full html r
event
event
data reque
st
event
data
event
data reque
st
data
33. JAX
honour the A in AJAX
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
34. AJAX stands for
Asynchronous
JavaScript and XML
JAX
honour the A in AJAX
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
35. AJAX stands for
Asynchronous
JavaScript and XML
JAX
honour the A in AJAX
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
36. AJAX stands for
Asynchronous or
JavaScript and XML JSON...
JAX
honour the A in AJAX
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
41. RPC
RIAs == Rich Clients
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
42. yes we can!
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
43. © 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
48. yes, we can.
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
49. Eventbus,
Model-View-Presenter,
Command Pattern,
Dependency Injection...
Ray Ryan - lessons learned
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
50. ‣ The Web?
‣ RIAs - The architectural shift
‣ Standards?
Session ‣ Developing smarter
Topics
52. http://de.wikipedia.org/wiki/ Standard
• De-facto- oder Quasi-Standards
• Industriestandard
• Herstellerspezifische Standards
• Offener Standard
53. Java Web Standard?
Industriestandard
• Java EE ist ein De-facto oder Quasi-Standard in
der Entwicklung von unternehmenskritischen
Anwendungen
Standard
• JSF Spezifikation ist Teil der Java EE Spezifikation
54. To JSF or not to JSF,
that‘s the question
55. http://de.wikipedia.org/wiki/ Proprietär
• Juristisch „urheberrechtlich geschützt“
• IT: Dinge, die nicht allgemein anerkannten
Standards entsprechen („hauseigene
Entwicklungen“)
• Freie-Software-Bewegung: alles was nicht frei
(Lizenztechnisch) und Quelloffen ist.
56. WEB Standards Java EE Standards
klassische
dynamische
RIAs
Webanwend
ungen
Where is the magic?
58. cloud
HTML5
IE6
IE10
IE9
HTML4
JS
Support
Websphere
5... 6... 7...
Mobile
Zukunftsicherheit
62. JBoss
Sencha
Google (RichFaces)
(GXT) GWT Prime Technology JSF
(PrimeFaces)
Isomorphic Software
(Smart GWT) Icesoft Technologies
(IceFaces)
Blau oder Rot?
64. there is some commitment
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
65. there are some commiters
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
66. ‣ The Web?
‣ RIAs - The architectural shift
‣ Standards?
Session ‣ Developing smarter
Topics
67. Google Web Toolkit
Google Web Toolkit (GWT) is an open source Java
development framework that lets you escape the matrix
of technologies that make writing AJAX applications so
difficult and error prone.
With GWT, you can develop and debug AJAX
applications in the Java language using the Java
development tools of your choice. When you deploy
your application to production, the GWT compiler
translates your Java application to browser-compliant
JavaScript and HTML.
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
68. GWT
Google Web Toolkit (GWT) is an open source Java
development framework that lets you escape the matrix
of technologies that make writing AJAX applications so
difficult and error prone.
With GWT, you can develop and debug AJAX
applications in the Java language using the Java
development tools of your choice. When you deploy
your application to production, the GWT compiler
translates your Java application to browser-compliant
JavaScript and HTML.
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
70. JS app can be anything
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
71. GWT designer Plugin for Eclipse
Speed Tracer
SDK
unboxing
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
72. GWT SDK
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
74. Develop in Java
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
75. Develop in Java
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
76. Checkstyle
Develop in Java
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
77. Checkstyle
Findbugs,
PMD
Develop in Java
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
78. Checkstyle
Findbugs,
PMD
Patterns
Develop in Java
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
79. Checkstyle
Findbugs,
PMD
Patterns
Unit testing
Develop in Java
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
80. Checkstyle
Findbugs,
PMD
Patterns
Unit testing
Refactoring!
Develop in Java
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
82. One click start
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
83. Use the webapp
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
84. Debug in Java
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
85. Cross compile to JS
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
87. GWT does
more than just
compile.
Much more.
The sky is the limit?
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
89. Helping where help is needed
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
91. !=
project layout vs. deployment layout
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
95. GWT is
extensible
Module concept
Extensible GUI model
Code Generator
JSNI
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
98. • Sponsored/ developed by Google
• Apache 2 license
• Leverage Java knowledge for RIA development
• Software engineering suitable for product
development
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
100. • End to end debugging
• No package/ deploy roundtrips
• Leverage Java knowledge and tooling
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
102. • Split points reduce initial download
• Minimal server load by just loading data
• Reduced number of requests
• Uses client/ browser resources to free up server
resources
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de
104. • Build-What-You-Need (tm)
• Leverage browser capabilities
© 2011 P. G. Taboada | pgt technology scouting GmbH | http://pgt.de