SlideShare a Scribd company logo
MongoDB in 3 Minutes
Valeri Karpov
Kernel Tools Engineer, MongoDB
www.thecodebarbarian.com
github.com/vkarpov15
@code_barbarian
What makes MongoDB Special?
•Open source, 100% free
•Store data as objects, not columns
•Sophisticated query engine and indices
•Horizontal scalability built in
•Drivers - write code in your favorite language

And more: Go, C++, C, Perl, PHP, etc.
*
Storing Data As Objects
•MongoDB stores associative arrays:
{ name: “Val”, from: “MongoDB” }
{‘name’: “Val”,‘from’: “MongoDB” }
{“name”=>“Val”,“from”=>“MongoDB”}
new BasicDBObject(“name”, “Val”)
*
Getting Started with MongoDB
•Setting up MongoDB is simple:
•OSX: brew install mongodb
•Ubuntu: http://bit.ly/1eF0ZO8
•Windows: get zip from mongodb.org/downloads
•
•And run mongod, the MongoDB core server
•
*
Using the Shell

•Now you can do inserts and queries!

*
Using a Driver - PyMongo
•Github: http://bit.ly/1jgPAYq (or Google it)
•Available on pip: pip install pymongo
•Recommend version v2.6.3

*
Using a Driver - PyMongo

*
Who Uses MongoDB?

*
Big Financial Firms

*
Sites You Visited Recently

*
Products That You’ll Be Using Today

*
Thanks for Listening!
Tech talk tomorrow @ 4pm
Slides on Twitter, @code_barbarian

*

More Related Content

PPTX
Mongodb tutorial by Rajendra Arora
PDF
Rapid API development on MongoDB
PDF
Create a RESTful API with NodeJS, Express and MongoDB
PDF
Server-Side JavaScript Developement - Node.JS Quick Tour
PDF
MongoDB Israel June Meetup
PPTX
Dev Jumpstart: Build Your First App with MongoDB
PDF
Intro to HTTP and Node.js
KEY
MongoDB Command Line Tools
Mongodb tutorial by Rajendra Arora
Rapid API development on MongoDB
Create a RESTful API with NodeJS, Express and MongoDB
Server-Side JavaScript Developement - Node.JS Quick Tour
MongoDB Israel June Meetup
Dev Jumpstart: Build Your First App with MongoDB
Intro to HTTP and Node.js
MongoDB Command Line Tools

What's hot (20)

PPTX
Future-proof Development for Classic SharePoint
PPTX
Rails with MongoDB - RORLab 47th
PDF
Introduction to MongoDB
PPTX
What is AWS S3?
KEY
Mysqlnd uh
PDF
Mongodb
PDF
Node js first look - 2016
PDF
Distributed computing in browsers as client side attack
PDF
Philip Stehlik at TechTalks.ph - Intro to Groovy and Grails
PPTX
Shell Tips and Tricks
PDF
Data normalization weaknesses
PPTX
PDF
StripeEu Twistedbytes Presentation
PPTX
Schema-free Microsoft Azure development
ODP
Introduction to MongoDB with PHP
PDF
Mongo performance tuning: tips and tricks
PPTX
Sharding
PDF
A practical 10m intro to PHP on Heroku
KEY
iPhone/iPad开发讲座 第四讲 网络通讯和Xml处理
Future-proof Development for Classic SharePoint
Rails with MongoDB - RORLab 47th
Introduction to MongoDB
What is AWS S3?
Mysqlnd uh
Mongodb
Node js first look - 2016
Distributed computing in browsers as client side attack
Philip Stehlik at TechTalks.ph - Intro to Groovy and Grails
Shell Tips and Tricks
Data normalization weaknesses
StripeEu Twistedbytes Presentation
Schema-free Microsoft Azure development
Introduction to MongoDB with PHP
Mongo performance tuning: tips and tricks
Sharding
A practical 10m intro to PHP on Heroku
iPhone/iPad开发讲座 第四讲 网络通讯和Xml处理
Ad

Viewers also liked (11)

PDF
MongoDB Miami Meetup 1/26/15: Introduction to WiredTiger
PDF
AngularJS Meetup 11/19/13 - AngularJS for MongoDB Continuous Integration
PDF
JS-IL: Getting MEAN in 1 Hour
PDF
MEAN Stack Workshop at Node Philly, 4/9/14
PDF
Conquering AngularJS Limitations
PDF
JS-IL Keynote: MongoDB 2.6, Mongoose 4.0, and Beyond
PDF
Lessons in Open Source from the MongooseJS ODM
PDF
MongoDB: Queries and Aggregation Framework with NBA Game Data
PDF
NodeSummit - MEAN Stack
PDF
Nimrod: MongoDB Shell in NodeJS (JSConfUY 2015)
PDF
TDD a REST API With Node.js and MongoDB
MongoDB Miami Meetup 1/26/15: Introduction to WiredTiger
AngularJS Meetup 11/19/13 - AngularJS for MongoDB Continuous Integration
JS-IL: Getting MEAN in 1 Hour
MEAN Stack Workshop at Node Philly, 4/9/14
Conquering AngularJS Limitations
JS-IL Keynote: MongoDB 2.6, Mongoose 4.0, and Beyond
Lessons in Open Source from the MongooseJS ODM
MongoDB: Queries and Aggregation Framework with NBA Game Data
NodeSummit - MEAN Stack
Nimrod: MongoDB Shell in NodeJS (JSConfUY 2015)
TDD a REST API With Node.js and MongoDB
Ad

Similar to Mongo db in 3 minutes BoilerMake (20)

PDF
MongoDB
PPTX
Database Workshop Slides
PDF
My first moments with MongoDB
PDF
Quick & Dirty & MEAN
PDF
Mongodb
PPTX
Python mongo db-training-europython-2011
PPTX
Kalp Corporate MongoDB Tutorials
PDF
Mongo db php_shaken_not_stirred_joomlafrappe
PPTX
Introduction to MongoDB
PDF
Mongodb
PPTX
KEY
Introduction to MongoDB
PDF
Use Your MySQL Knowledge to Become a MongoDB Guru
PPTX
Jumpstart: Building Your First MongoDB App
PPT
Introduction to MongoDB
PPT
Mongo db tutorials
PPT
mongodb-120401144140-phpapp01 claud camputing
PPTX
How to learn MongoDB for beginner's
PDF
MongoDB NoSQL database a deep dive -MyWhitePaper
PDF
MongoDB
MongoDB
Database Workshop Slides
My first moments with MongoDB
Quick & Dirty & MEAN
Mongodb
Python mongo db-training-europython-2011
Kalp Corporate MongoDB Tutorials
Mongo db php_shaken_not_stirred_joomlafrappe
Introduction to MongoDB
Mongodb
Introduction to MongoDB
Use Your MySQL Knowledge to Become a MongoDB Guru
Jumpstart: Building Your First MongoDB App
Introduction to MongoDB
Mongo db tutorials
mongodb-120401144140-phpapp01 claud camputing
How to learn MongoDB for beginner's
MongoDB NoSQL database a deep dive -MyWhitePaper
MongoDB

More from Valeri Karpov (12)

PDF
A Practical Introduction to GeoJSON
PDF
A Practical Introduction to Functions-as-a-Service
PDF
A Gentle Introduction to Functions-as-a-Service
PDF
Introducing Async/Await
PDF
TAO and the Essence of Modern JavaScript
PDF
Mastering Async/Await in JavaScript
PDF
React, Redux, and Archetype
PDF
MongoDB MEAN Stack Webinar October 7, 2015
PDF
MEAN Stack NYC Meetup 20150717: TDD Your AngularJS + Ionic Directives With jQ...
PDF
MongoDB API Talk @ HackPrinceton
PDF
MEAN Stack WeNode Barcelona Workshop
PDF
MEAN Stack - Google Developers Live 10/03/2013
A Practical Introduction to GeoJSON
A Practical Introduction to Functions-as-a-Service
A Gentle Introduction to Functions-as-a-Service
Introducing Async/Await
TAO and the Essence of Modern JavaScript
Mastering Async/Await in JavaScript
React, Redux, and Archetype
MongoDB MEAN Stack Webinar October 7, 2015
MEAN Stack NYC Meetup 20150717: TDD Your AngularJS + Ionic Directives With jQ...
MongoDB API Talk @ HackPrinceton
MEAN Stack WeNode Barcelona Workshop
MEAN Stack - Google Developers Live 10/03/2013

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPT
Teaching material agriculture food technology
PPTX
Big Data Technologies - Introduction.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Approach and Philosophy of On baking technology
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Cloud computing and distributed systems.
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Encapsulation theory and applications.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Teaching material agriculture food technology
Big Data Technologies - Introduction.pptx
MIND Revenue Release Quarter 2 2025 Press Release
Chapter 3 Spatial Domain Image Processing.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Machine learning based COVID-19 study performance prediction
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Encapsulation_ Review paper, used for researhc scholars
Programs and apps: productivity, graphics, security and other tools
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Approach and Philosophy of On baking technology
“AI and Expert System Decision Support & Business Intelligence Systems”
Agricultural_Statistics_at_a_Glance_2022_0.pdf
The AUB Centre for AI in Media Proposal.docx
Spectroscopy.pptx food analysis technology
Cloud computing and distributed systems.
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx

Mongo db in 3 minutes BoilerMake

  • 1. MongoDB in 3 Minutes Valeri Karpov Kernel Tools Engineer, MongoDB www.thecodebarbarian.com github.com/vkarpov15 @code_barbarian
  • 2. What makes MongoDB Special? •Open source, 100% free •Store data as objects, not columns •Sophisticated query engine and indices •Horizontal scalability built in •Drivers - write code in your favorite language And more: Go, C++, C, Perl, PHP, etc. *
  • 3. Storing Data As Objects •MongoDB stores associative arrays: { name: “Val”, from: “MongoDB” } {‘name’: “Val”,‘from’: “MongoDB” } {“name”=>“Val”,“from”=>“MongoDB”} new BasicDBObject(“name”, “Val”) *
  • 4. Getting Started with MongoDB •Setting up MongoDB is simple: •OSX: brew install mongodb •Ubuntu: http://bit.ly/1eF0ZO8 •Windows: get zip from mongodb.org/downloads • •And run mongod, the MongoDB core server • *
  • 5. Using the Shell •Now you can do inserts and queries! *
  • 6. Using a Driver - PyMongo •Github: http://bit.ly/1jgPAYq (or Google it) •Available on pip: pip install pymongo •Recommend version v2.6.3 *
  • 7. Using a Driver - PyMongo *
  • 10. Sites You Visited Recently *
  • 11. Products That You’ll Be Using Today *
  • 12. Thanks for Listening! Tech talk tomorrow @ 4pm Slides on Twitter, @code_barbarian *