Advantages of using MongoDB in a Single Page Web Application
Share this Session:
  Josh Powell   Josh Powell
Senior Rocket Scientist
Rocket Fuel
www.jsjoshing.com
 


 

Wednesday, August 22, 2012
04:15 PM - 04:45 PM

Level:  Technical - Intermediate


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.


Josh Powell is an engineer at Rocket Fuel, the leading provider of artificial-intelligence advertising solutions that transform digital media campaigns into self-optimizing engines that learn and adapt in real-time, and deliver outstanding results from awareness to sales. He is currently working to build the single page web applications that monitor, control, and report on digital advertising campaigns across online display, video, mobile and social media. Prior jobs include a stint at Silver Spring Networks, working on the web applications responsible for managing millions of networked electrical meters in some of the biggest networks on the planet, and at Electronic Arts working on high traffic sites for some of the entertainment industries biggest names: Harry Potter, 007, Lord of the Rings, and others.


   
Close Window