Two-Tier Architecture for Web Mapping with NoSQL Database CouchDB
Mario Miler, Damir Medak, Dražen Odobašić · 2011
Two of the greatest challenges of mobile data collecting applications are replication and synchronicity. This paper deals with these challenges and offers a new solution: two-tier architecture using CouchDB. CouchDB is a RESTful non-relational (NoSQL) document-oriented database with the ability to serve web pages directly from the database. CouchDB is acting as a web server and data storage on the server side and as a web browser on a client side. Although cloud functions on a mobile device can be used, the main advantage of CouchDB is the ability to work offline with both data and application, replicating the results back to the server. Combining such a solution with GPS we get simple mobile GIS data collector in a standard browser application. Many smartphones and mobile devices can be transformed to mobile data collectors with ease. In this paper, we will show the fundamental CouchDB concepts as a data and application storage.