Creating Data Driven HTML5 Applications

  • 625 views
Uploaded on

My DevWeek 2014 session about storages options in HTML5.

My DevWeek 2014 session about storages options in HTML5.

More in: Technology , Design
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
625
On Slideshare
0
From Embeds
0
Number of Embeds
5

Actions

Shares
Downloads
4
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. SELA DEVELOPER PRACTICE December 20-25, 2013 Gil Fink Creating Data-Driven HTML5 Applications
  • 2. Agenda HTML5: Recap Storing Data in the Client-Side Q&A Summary
  • 3. HTML5: Recap HTML5 ~= HTML + CSS3 + JavaScript API The future of the web Still under development But a lot of features are available in modern browsers
  • 4. What’s Under the HTML5 Umbrella?
  • 5. Storing Data in the Client-Side
  • 6. Demo Using HTML5 Storages and AppCache
  • 7. Web Storage Key/value string storage Simple API sessionStorage Data is accessible to any page from the same site opened in that window localStorage Data spans multiple windows and lasts beyond the current session
  • 8. AppCache Create offline web applications Uses a manifest file to configure the cache Introduces API to interact with cache events and the navigator.onLine property
  • 9. IndexedDB Advanced key/value data management Made of records holding simple values and hierarchical objects Enables Storage of large numbers of objects locally in the browser Fast insertion and extraction from the store Asynchronous/Synchronous API
  • 10. Web Application APIs Support – Web Storage http://caniuse.com
  • 11. Web Application APIs Support – Offline Web Applications http://caniuse.com
  • 12. Web Application APIs Support – IndexedDB http://caniuse.com
  • 13. What We Saw Web Storage AppCache IndexedDB We didn’t cover other storage APIs such as File API FileSystem API
  • 14. Questions
  • 15. Summary You can start depending on client-side storages Will help you: To decrease the load on server-side and databases To create offline web apps
  • 16. Resources Session slide deck and demos – API specs – http://www.w3.org/TR/webstorage/ http://www.w3.org/TR/IndexedDB/ http://dev.w3.org/html5/spec/offline.html My Website – http://www.gilfink.net Follow me on Twitter – @gilfink
  • 17. Thank You Gil Fink Senior Architect gilf@sela.co.il @gilfink http://www.gilfink.net