6. User Persistence:
localStorage["bar"] = foo;
(this only stores strings)
7. Ease for users:
Make your web app look like a real application.
Add icon to homescreen run application as full
screen web app
<link rel="apple-touch-icon" href="bookmark-icon.png" />
<meta name="apple-mobile-web-app-capable" content="yes" />
8. Loss of connectivity:
• if(navigator.online){};
• Lots of local storage
• set a timeout on ajax requests and
store data until navigator.online=true;