Back to search

Chalmers University of Technology

Offline First Undersökning av lagringstekniker på klientsidan för webbapplikationer

Abstract

dc:description.abstract

Web applications that are tailored for mobile platforms have become a popular solution among developers instead of native applications. It is primarily the cross-platform feature that is of interest to the developer when developing web applications. But in order to compete against native applications, it is important that the web applications are able to run offline. This means that the functionalities that do not require Internet access operate in the same manner as if the Internet connection existed. When HTML5 was released, a couple of storage technologies were also introduced. These technologies allow developers to store data on the users' devices. By combining these storage technologies with the right architecture, it is possible to create web applications that are not dependent on an Internet connection. This report describes storage technologies such as Application Cache, Web SQL, IndexedDB and Web Storage that are currently available in users' browsers, as well as an in depth analysis of each storage technology to determine which technology is best suited for certain types of data. This report also includes a case study to illustrate how these technologies along with AngularJS can be used in practice. The web application is developed using HTML's latest standard HTML5, which includes CSS3 and JavaScript. To achieve a more content rich theme and custom mobile application, the framework jQuery Mobile was also used. The application is an implementation of an amusement park's website and the data is downloaded from a public API. The conclusion in this report is that the different storage technologies are sufficiently mature to be used in production. It is recommended that larger amount of data are cached in either Web SQL or IndexedDB, simpler data sets in Web Storage and important files are recommended to be cached in the Application Cache.

Degree

thesis:*
Level thesis:degree_level
M
Department dc:contributor.department
Chalmers tekniska högskola / Institutionen för data- och informationsteknik (Chalmers)
Year dc:date.issued
2014

Author and committee

dc:creator, dc:contributor.*
Authors dc:creator
  • Forsman, Erik Gil
  • Ha, Jonas

Subjects

dc:subject × 2

Rights

Language dc:language.iso
swe

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Chalmers University of Technology
Base URL
odr.chalmers.se/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Forsman, Erik Gil; Ha, Jonas. Offline First Undersökning av lagringstekniker på klientsidan för webbapplikationer. M thesis, 2014. https://hdl.handle.net/20.500.12380/203854