24
Future of Web Apps Lakshan Perera RefreshColombo, July 2011

Future of web_apps

Embed Size (px)

Citation preview

Page 1: Future of web_apps

Future of Web Apps

Lakshan Perera

RefreshColombo, July 2011

Page 2: Future of web_apps
Page 3: Future of web_apps

Blog: laktek.com

Code: github.com/laktek

Rants: @laktek

Page 4: Future of web_apps

CONFESSION

Page 5: Future of web_apps

Internet Explorer 6 is great!

Flash is awesome!

....But that was in 2001

Page 6: Future of web_apps

EVERYDAY IM

SUFFERIN

Page 7: Future of web_apps
Page 8: Future of web_apps

“There are more important problems to be solved than sharing Cat pictures.”

Steve Yegge – OSCON 2011

Page 9: Future of web_apps

Future Web...

● Realtime

● Collaborative

● Ubiquitous

Page 10: Future of web_apps

R E A L T I M E

Page 11: Future of web_apps

Polling

<meta http-equiv="refresh" content="5">

AJAX Based Techniques - Short Polling, Long Polling (COMET)

Dirty Old way :)

Page 12: Future of web_apps

Are we there yet??

Page 13: Future of web_apps

Push Technologies

Server-sent Events - No special protocol is needed.

Web Sockets

- Just like traditional sockets, but via HTTP http://websockets.org

Page 14: Future of web_apps

C O L L A B A R A T I V E

Page 15: Future of web_apps

Text Based

Operational Transformations

- Google Wave protocol is based on this.

ContentEditable

- Realie (github.com/laktek/realie)- Aloha Editor (aloha-editor.org)

Page 16: Future of web_apps

Beyond Text

Web Audio API

- https://wiki.mozilla.org/Audio_Data_API

Canvas/ WebGL

- Colorilo (colorillo.com/)- Mozilla Markup (markup.mozilla.org)

Streaming API

- http://my.opera.com/core/blog/2011/03/23/webcam-orientation-preview

Page 17: Future of web_apps

U B I Q U I T O U S

Page 18: Future of web_apps

“The Web is thoroughly integrated into our daily lives. We take it for granted,

expecting it to “be there” at any instant, like electricity.”

Tim Berns Lee

Page 19: Future of web_apps

Device Independent

Responsive Layouts

Mobile First philosophy

- http://www.lukew.com/ff/entry.asp?933

CSS Media Queries

Page 20: Future of web_apps

Offine Access

Local Storage

- Client side key value storage- Maximum storage varies on browser- http://dev.w3.org/html5/webstorage/

Application Cache

- Fine grain control over asset caching.- Provides a manifesto.- http://www.whatwg.org/specs/web-apps/current-work/multipage/offine.html

Page 21: Future of web_apps

Location Based

Geolocation API

- Guarantees to give you latitude, longitude and accuracy- http://diveintohtml5.org/geolocation.html

Page 22: Future of web_apps

More Interesting Stuff

Web Workers

- http://www.whatwg.org/specs/web-apps/current-work/complete/workers.html

History API

- https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history

Page 23: Future of web_apps

Time to start changing the future!

Page 24: Future of web_apps

Questions?