Skip to content

Instantly share code, notes, and snippets.

View leostratus's full-sized avatar

Leo Stratus leostratus

View GitHub Profile
leostratus / gist:9905175
Last active August 29, 2015 13:57 — forked from cube-drone/gist:9903789
Angelina's edit of Curtis' script on basic usability for apps
5 Crucial Usability Tips for App Designers and Developers
Hey, everyone. I'm Curtis Lassa, and I'm here to share some very simple
usability guidelines with you for application development.
By the end of this video, you should have a better understanding of how to design a UI that is intuitive and easy for your users to make sense of.
Let's begin by examining one of the fundamental pieces of applications on the web: hyperlinks. On a dekstop, it's much easier to be precise about where you want to click because your mouse cursor is small. You know what's not small? Our fingers. Relative to the pointer, of course. So, this means that when you're considering your application for touch-screen devices, you need to adapt accordingly.

localForage Offline Storage, Improved

Web apps have had offline capabilities like saving large data sets and binary files for some time now. You can even do things like that you could write an app that cache MP3 files. Browser technology can store data offline and plenty of it. The problem, though, is that the technology choices for how you do this are fragmented.

localStorage gets you really basic data storage, but it's slow and can't handle binary blobs. IndexedDB and WebSQL are asynchronous, fast, and support large data sets, but their APIs aren't very straightforward. Even still, neither IndexedDB nor WebSQL have support from all of the major browser vendors and that doesn't seem like something that will change in the near future.

If you need to write a web app with offline support and don't know where to start, then this is the article for you. If you've ever tried to start working with offline support but it made your head spin, this article is for you to