HTML5: What you can do now that you couldn't do before

October 19
blog author



As browsers continue to implement HTML5 functionality, we are able to create a new family of web applications. These can be as capable as desktop applications while maintaining the advantages of a typical web application.

Web Storage

HTML5 introduces the idea of web storage. With web storage, you can store data on your local machine (localStorage) or within your session (sessionStorage). This allows you to

  • maintain the current state of your application
  • maintain user information instead of sending it with each page load

By storing this information on the local machine, we can optimize server requests to what users are really after - content.

Application Cache

Along with web storage, HTML5 adds an application cache to your web applications. Using a cache, you can store your site content and layout on your local machine. With this in mind, we can architect our applications so the business logic is maintained on local machines rather than the server. This structure allows users to seamlessly continue to use your application without the need of a constant internet connection. With these capabilities in mind, we can begin to create faster web applications with the strengths previously only desktop applications could offer.