• Some taps are shorter • 'Fastclick' layer to detect very brief taps, and convert to clicks • Used for devices that fire touch events • Used eg. for tapping through pages of an article • Disables interactions like double tap to zoom • Open-sourced by Assanka, assanka.net/fastclick
using old code, then update itself • Not all users will see the same thing – We still have some running 6 month old code! • Don’t break the web – remember you have pages, not a monolithic single page app. – Avoid tedious start-up sequence on every real pageload.
bootstrap page and static files – seriously flakey. Use sparing. – extremely annoying. Set a dynamic comment or auto- change manifest when resources change • WebSQL / SQLite / IndexedDB is: – used for indexed content, articles, images etc. – slow. Consider local storage instead. • Local storage is: – used for key/val storage, app settings, config, prefs – fast and relatively reliable
the API from your JS application • Multiple API requests per HTTP request • Multiple ways of requesting a page: – Fully wrapped – Fragment – API request
er, you trust us. • Social media integration: Twitter/FB SSO mechanism can't be integrated into a one-page app • Offline adverts: No clicks, no live impression recording, no advanced targeting • Automated QA: Many times more complex than desktop apps