Upgrade to Pro — share decks privately, control downloads, hide ads and more …

MongoDB with PHP

MongoDB with PHP

An introduction into using MongoDB with PHP
I. Basics of NoSQL
II. Dive into MongoDB
III. Live Coding with PHP+Doctrine+MongoDB (https://github.com/dlaxar/modo)

Daniel Laxar

July 02, 2014
Tweet

More Decks by Daniel Laxar

Other Decks in Programming

Transcript

  1. NoSQL  vs  SQL SQL NoSQL Postgres, Oracle, MySQL, MariaDB, Microsoft

    SQL, … MongoDB, CouchDB, Cloudant, Neo4j, OrientDB, Dynamo, Redis, Merkely DB, BigTable, …

  2. NoSQL  vs  SQL SQL NoSQL Postgres, Oracle, MySQL, MariaDB, Microsoft

    SQL, … MongoDB, CouchDB, Cloudant, Neo4j, OrientDB, Dynamo, Redis, Merkely DB, BigTable, …
 Joins Nested
  3. NoSQL  vs  SQL SQL NoSQL Postgres, Oracle, MySQL, MariaDB, Microsoft

    SQL, … MongoDB, CouchDB, Cloudant, Neo4j, OrientDB, Dynamo, Redis, Merkely DB, BigTable, …
 Joins Nested Schema Schema-Less
  4. NoSQL  vs  SQL SQL NoSQL Postgres, Oracle, MySQL, MariaDB, Microsoft

    SQL, … MongoDB, CouchDB, Cloudant, Neo4j, OrientDB, Dynamo, Redis, Merkely DB, BigTable, …
 Joins Nested Schema Schema-Less SQL Not Only SQL
  5. NoSQL  vs  SQL SQL NoSQL Proven New Scaling added Scaling

    from start Indexing Well… Transactions Well…
  6. NoSQL  vs  SQL SQL NoSQL Proven New Scaling added Scaling

    from start Indexing Well… Transactions Well… Consistent Flexible
  7. Names Daniel Franz Armin Ages 19 20 19 Professions Code

    Design Design select  sum(age)  —>  58
  8. Name:  Daniel   Age:  19   Worked  At:
   GT:

     [1.8.2011,  31.8.2011]
   GT:  [1.8.2012,  31.8.2012]
   25th:  [1.8.2013,  31.8.2013],
   25th:  [1.7.2014,  null]