Percona Live: Data Performance Conference 2016 Logo

April 18-21, 2016

Santa Clara, California

Shifting the Paradigm: MongoDB and the MEAN Stack

Shifting the Paradigm: MongoDB and the MEAN Stack

 20 April 11:10 AM - 12:00 PM @ Ballroom B
Experience level: 
25 minutes conference


Several teams across The Washington Post collected content in different ways and it was not easily shared or accessible. So, we built a tool called Submission Platform to collect and curate the content in one location. We will cover why and how we chose to use MongoDB and MEAN (MongoDB, ExpressJS, AngularJS, NodeJS) a full Javascript stack to build this tool. With this stack it has been easy to scale and maintain our data. This stack also stands out from other types of architecture because the data format is the same from end to end - in Javascript and JSON (Javascript Object Notation). Our schema design allowed us to remain flexible to develop and prototype quickly as business needs changed with regards to features and user management. We will walk attendees through how we chose the technologies to build the Submission Platform and introduce them to development with the MEAN stack focusing on how we use the NodeJS middleware, MongooseJS, to interact with MongoDB. We will also explain how and why we decided to sync our data into ElasticSearch, and go over some of the problems we faced due to differences in how MongoDB and ElasticSearch type cast data. Using this stack with MongoDB leading the way forced us to rethink how our data should be structured and pushed our evolution as developers to a full stack understanding of web app design. This in turn influenced how we built other apps at The Washington Post. Purpose: To encourage attendees to try using MongoDB and a full javascript stack. To think about alternatives to using Java, .NET. etc for backend development. To see how powerful javascript can be beyond simple dom manipulation. Target audience: Developers interesting in MongoDB or a full Javascript stack Audience take away: That the MEAN stack encourages developers to work together across the entire stack and that MongoDB is a good solution for data sets that are very flexible/unpredictable.


Kat Styons's picture

Kat Styons

Senior Full Stack Developer, The Washington Post


Kat Styons is a Full Stack Developer at The Washington Post. Originally a Java developer, recently she has been working in the MEAN stack (MongoDB, Express, Angular, NodeJS). Kat contributes to the development community by organizing the DC MongoDB User Group and the DC Media Innovations meetup, and has presented at MongoDB World 2015 and MongoDB Days.

Share this talk