an interface, enabling people to use the computer as a tool to accomplish a specific task. ord processing, spreadsheet, and communications softare are all examples of applications.
• Navigation and interaction – Interpreting touches is a subtle art • Offline use – Just reinvent the hole ay the eb orks • Rethink backend architecture – Feer pages, more PIs • nalytics – Record activity hile user is offline
info Boot code Main app code Main app CSS App HTML templates • Check cookie for user authentication • Remove redundant content only needed for boot • Examine URL, read requested content from ebSQL • Render page
aful. • Other storage options don’t offer a URL • Base-64 encode image data • Store in localStorage or ebSQL • Insert into DOM as data: URIs • 30% bloat, but also avoids netork operator recompression
: 5MB / 50MB 10MB 5MB 4KB total Up to 50 per domain ndroid (4) ? Unlimited 5MB Safari (5.2) : 5MB / Unlimited Unlimited 5MB Chrome (18) : Unlimited 5MB 5MB IE (10) i: 500MB 50MB 10MB Opera (11) : 5MB / Unlimited 50MB / Unlimited 5MB / Unlimited Firefox (11) i: 50MB / Unlimited Unlimited 10MB Storage limits Two figures separated by / indicate limit with and without user consent prompt, which appears automaBcally when you try to store more than the lower limit. The user may not consent to more than the upper limit.
encoding • Great idea for processing: fast string operations, full support for Unicode BMP • Terrible idea for storage of English text or base-64 encoded images.
precious quota! • Can make compromises on compatibility to get more storage efficiency 00 48 00 45 00 4C 00 4C 00 4F 00 20 00 57 00 4F 00 52 00 4C 00 44 H E L L O W O R L D
But it needs to be tailored for size and interface tech. • eb technologies can do this • eb approach retains all the benefits of the eb that you give up hen building native.