In a Single Page Web Application, much of the data that is in active usage is stored on the client side, reducing the amount of chatter that needs to happen over the wire. In the client, this data is stored in JSON. In a Single Page Web Application, much of the communication between the client and server is done over AJAX, with data transmitted in JSON strings. Because the data is transmitted and stored and used in the same format, there is no impedance mismatch requiring marshalling data from one format to another. This results in both quicker development and execution time.
On the server side of a typical application, there is a rather high impedance mismatch between the object oriented language the server is written in and the relational SQL database the data is stored in. This requires developers to think in two different modes when developing: object oriented development mode and relational database mode. It also requires that a great deal of development effort and server side processing go into converting SQL query results into objects.
A new paradigm has emerged in the form of some NoSQL databases that store data in JSON, giving rise to the opportunity for data to be stored in the format that it is ultimately consumed in the client. In this talk, you’ll discover how a Single Page Web Application can maintain zero impedance mismatch from the client to the server to the database, resulting in an increase of engineering productivity (not to mention happiness) and in server performance.
Video Producer: http://www.dataversity.net/