MongoDB - Overview - Doctrine ODM - Symfony2 with Doctrine ODM.

Slides:



Advertisements
Similar presentations
Introduction to MongoDB
Advertisements

WordPress from Start to Finish Day 1: Installing and Using WordPress Looking at the WordPress database.
Aqua Data Studio. Find the application We are using Aqua Data Studio v11.
Juozas Kaziukėnas /
Relational Database Alternatives NoSQL. Choosing A Data Model Relational database underpin legacy applications and meet business needs However, companies.
Introduction to Backend James Kahng. Install Node.js.
Neo4j Adam Foust.
Session-01. Hibernate Framework ? Why we use Hibernate ?
DR. MOHAMMAD IQBAL THANKS TO ADITYA SENGUPTA Comparing Web Frameworks.
What is MongoDB? Developed by 10gen It is a NoSQL database A document-oriented database It uses BSON format.
Jeff Lemmerman Matt Chimento Medtronic Confidential 1 9th Annual CodeFreeze Symposium Medtronic Energy and Component Center.
SQL Server Reporting Services
A Social blog using MongoDB ITEC-810 Final Presentation Lucero Soria Supervisor: Dr. Jian Yang.
TS School school administration software Product of Time Software niche.
Module 11 : Backup and Restore Jong S. Bok
SQL HW1 Turn in as a hardcopy at the start of next class period. You may work this assignment in groups.
True or False? Programming languages can be used to update databases and communicate with other systems. True.
Web Application Development. Define ER model in QSEE Generate SQL Create Database mySQL Write Script to use TableEditor class Process to create A simple.
Real-time Web Application with Node.js CENTRE FOR NETWORK RESEARCH COMPUTER ENGINEERING, PRINCE OF SONGKLA UNIVERSITY 1 Aj. Suthon, Nong Gun, Nong Pop.
MongoDB An introduction. What is MongoDB? The name Mongo is derived from Humongous To say that MongoDB can handle a humongous amount of data Document.
NoSQL continued CMSC 461 Michael Wilson. MongoDB  MongoDB is another NoSQL solution  Provides a bit more structure than a solution like Accumulo  Data.
WTT Workshop de Tendências Tecnológicas 2014
Goodbye rows and tables, hello documents and collections.
WordPress Fast Track. What Is WordPress? Learn what WordPress is Know why WordPress is a popular tool in making websites and blogs Discover some of the.
NOSQL DATABASES Please remember to read the NOSQL Distilled book and the Seven Databases book.
Symfony2 - Step-by-step Portfolio 3.0 ◦ Symfony 2.0 ◦ MongoDB ◦ jQuery UI ◦ RESTfull services.
WEEK 1, DAY 2 STEVE CHENOWETH CSSE DEPT CSSE 533 –INTRO TO MONGODB.
Chapter 10 Files/Folders needed: \Chapter10\Samples \Chapter10\Labs.
A Brief Documentation.  Provides basic information about connection, server, and client.
MongoDB - Rockmongo - Overview - Query - Import, export - Execute/Command line.
Chapter 11 Using SAS ® Web Report Studio. Section 11.1 Overview of SAS Web Report Studio.
Introduction to MongoDB
OM. Brad Gall Senior Consultant
MongoDB Jer-Shuan Lin.
Modeling MongoDB with Relational Model Proposed by Christopher Polanco.
Tweets Discrimination Analysis
Some notes on NoSQL, in particular MongoDB Bettina Berendt (with thanks to Matthijs van Leeuwen for some of the slides) 8 December 2015.
Storing and Publishing Water Observations Data Services Tim Whiteaker The University of Texas at Austin.
NoSQL: Graph Databases. Databases Why NoSQL Databases?
Introduction to MongoDB. Database compared.
NoSQL databases A brief introduction NoSQL databases1.
Introduction to MySQL  Working with MySQL and MySQL Workbench.
Google Analytics Graham Triggs Head of Repository Systems, Symplectic.
Microsoft Power BI Stack
Dive into NoSQL with Azure Niels Naglé Hylke Peek.
NoSQL: Graph Databases
Introduction to Mongo DB(NO SQL data Base)
Fundamental of Databases
INTRODUCTION TO DATABASES (MICROSOFT ACCESS)
NoSQL: Graph Databases
DBSI Teaser Presentation
NoSQL Databases NoSQL Concepts Databases Telerik Software Academy
MongoDB Er. Shiva K. Shrestha ME Computer, NCIT
Overview of Data Access
Principles of Software Development
Dineesha Suraweera.
javascript for your data
Database Management  .
Overview of Data Access
CIS 111 STUDY Education for Service-- cis111study.com.
Eric Hill, Software Developer, JMP
Russ Thomas Director, Information Services, TSYS
MongoDB for the SQL DBA.
Advanced Topics in Concurrency and Reactive Programming: MongoDB, Mongoose Majeed Kassis.
PHP and MySQL.
Drupal and MongoDB or the road to APIs.
CS5220 Advanced Topics in Web Programming Introduction to MongoDB
PHP Forms and Databases.
Visual Studio + SQL Server Is Better
Reports Report builder meets the challenge by making it easy to design, publish, and distribute professional, production-quality reports in a variety of.
Presentation transcript:

MongoDB - Overview - Doctrine ODM - Symfony2 with Doctrine ODM

MongoDB vs MySQL MySQLMongoDB Termsdatabase tablescollection rowdocument QuerySELECTfind INSERTinsert …… Operator>$gt <=$lte DataTypeSame String (json/serialized)Mixed

MongoDB - Overview Collection Relationships: ◦ Embedding ◦ Linking JSON (BSON) Case study: ◦ Blog ◦ Post ◦ Category

Case Study - Blog Mysql: ◦ 4 tables + 3 references MongoDB: ◦ Case 1: 3 collections (2 linkings)  Blog  Post  Category ◦ Case 2: 2 collections (1 embeded + 1 linking)  Blog  Post  Category

Case 1 – All linking Pros ◦ Same as SQL ◦ Easy to setup Cons ◦ Slow ◦ Query same as SQL ◦ It’s not a NonSQL

Case 2 – Embed & Link Pros ◦ Fast ◦ NonSQL query Cons ◦ Hard to setup

MongoDB - Installation Installation: ng_Started_with_MongoDB ng_Started_with_MongoDB RockMongo

Doctrine ODM Document (Entity) DocumentManager (EntityManager) Mapping:

Doctrine ODM – Query Builder Repository QueryBuilder

Doctrine ODM – Symfony DoctrineMongoDBBundle doctrine_mongodb: connections: default: server: mongodb://localhost:27017 options: connect: true default_database: test_database document_managers: default: auto_mapping: true