Html5 apps - GWT oriented

23
HTML5 Apps GWT oriented Francesca Tosi - Alberto Mancini 27 Settembre 2014 Francesca Tosi [email protected] @francescatosi +FrancescaTosi Alberto Mancini [email protected] +AlbertoMancini

description

Html5 apps - GWT oriented Alberto Mancini - Francesca Tosi 27 Settembre 2014 Todi AppyDays

Transcript of Html5 apps - GWT oriented

Page 1: Html5 apps - GWT oriented

HTML5 AppsGWT oriented

Francesca Tosi - Alberto Mancini27 Settembre 2014

Francesca Tosi [email protected]@francescatosi+FrancescaTosi

Alberto Mancini [email protected]+AlbertoMancini

Page 2: Html5 apps - GWT oriented

Alberto Mancini

[email protected]

http://github.com/jooink

http://www.jooink.com

http://jooink.blogspot.com

Intel Software Innovator

● Software Developer ● Linux Sysadmin● DevOp.

Page 3: Html5 apps - GWT oriented

Francesca tosi

[email protected]

http://github.com/jooink

http://www.jooink.com

http://jooink.blogspot.com

Intel Software Innovator

● Web and mobile dev● software engineer and

architect

Page 4: Html5 apps - GWT oriented

#HTML5 #Android

Parlare di html5 in un

ambiente con dev

android … forse è

meglio nascondersi

o fare gli indifferenti!!

Page 5: Html5 apps - GWT oriented

#html5 #Android

Ma noi siamo impavidi … ;-)

e vi presenteremo come

poter sviluppare app

Android (e non solo) via

#MGWT

Page 6: Html5 apps - GWT oriented

BTW … #GWtcon

Spot pubblicitario

Page 7: Html5 apps - GWT oriented

it just was’nt ready

Si riferiva a FB su mobile che era web based e stava facendo la prima intervista “After the company’s continuous stock price drop” (ndr)

http://mashable.com/2012/09/11/mark-zuckerberg-post-ipo-interview/

Page 8: Html5 apps - GWT oriented

Fastbook

fastbook, Sencha’s FB demo Client

http://www.sencha.com/blog/the-making-of-fastbook-an-html5-love-story

It's a technology demo that shows what developers can do with HTML5 if they take the right approach, and use the right frameworks and tools

"... is really promising, but it is running in the “browser”. When you make an “installable” app, you can only use WebView, which is a second-class and slower browser."

Page 9: Html5 apps - GWT oriented

Web-Apps ?

● cached● offline capable ● mobile-webapp-capable● homescreen-installed● hosted app● packaged app

https://developers.google.com/chrome/apps/

https://developer.mozilla.org/en-US/Apps/Build/installable_apps

secondo alcuni sono una liberazione dai marketplace (i.e. Google Play & AppStore)

secondo alcuni tra l’altro alcune tecnologie vengono ritardate dai produttori per non perdere il potere che viene dai marketplace

Page 10: Html5 apps - GWT oriented

NATIVE-LIKE-Apps

essenzialmente una web-view (o il motore di un browser) che ‘incartano’ una applicazione web

installabili nel senso che le pubblicate su play !!!

usano api che i browser si sognano

possono essere estese con plugin nativi (SIMD.js su crosswalk)

Page 11: Html5 apps - GWT oriented

Techs

TEcnologie:● tante● in evoluzione

Page 12: Html5 apps - GWT oriented

Techs

in generale un programma e’ piu’ complicato di una pagina web e quindi sono indispensabili anche strumenti diversi

Page 13: Html5 apps - GWT oriented

OPINIONATED - FRAMEWORKS

…. ne nasce una nuova ogni giorno (http://hood.ie/ ad esempio)

Page 14: Html5 apps - GWT oriented

Fast ...

… targeted alla velocita’

(non del prodotto, del

tempo di sviluppo)

dal sito di Hoodie

Very fast app development“to build complete web apps

in days..“

Page 15: Html5 apps - GWT oriented

Bug-Fix & Dev Time

1:1 ?

molti framework hanno piattaforme di testing …e la questione si complica

Page 16: Html5 apps - GWT oriented

Bug-Fix & Dev Time

ridurre il tempo di sviluppo (acriticamente) riduce il tempo di testing & Bug Fixing ?

Page 17: Html5 apps - GWT oriented

Java compiled into JS

… a statically typed language does …

… a Compiler DOES …

(biased opinions)

Page 18: Html5 apps - GWT oriented

Java compiled into JS

● se siete programmatori java

● se il vostro progetto diventa grosso (in termini di codice)

● se immaginate di dover mantenere il codice per lungo tempo

● se il vostro programma non deve essere identico ad uno degli esempi dei framework

Page 19: Html5 apps - GWT oriented

#GWT #mgwt

Java to Javascript compilerEmulated JREWidgets

Deferred BindingMultiple BrowsersCompiled Resources...

Page 20: Html5 apps - GWT oriented

Perchè

una codebase e tante 'incarnazioni' dell'applicazione.

Page 21: Html5 apps - GWT oriented

DEMO

https://github.com/mgwt/mgwt

(older, suppoRts gecko based browesers)

https://github.com/jooink/mgwt

Page 22: Html5 apps - GWT oriented

pischsare

demo

http://picshare.jooink.com

Page 23: Html5 apps - GWT oriented

Thanks!!!

Francesca [email protected]

Alberto [email protected]

github.com/jooink/

www.jooink.com

jooink.blogspot.com