SlideShare a Scribd company logo
Drupal and the rise of the Documents

   Claudio Beatrice (@omissis)




Monday, December 5, 11                    1
It was a warm summer evening in ancient Greece, when
  one of the greatest philosopher of all times(guess who? :)
  gave birth to the Theory of Forms, greatly contributing to
  Ontology, eg the study of the nature of being, existence or
  reality as such.


Monday, December 5, 11                                          2
An entity(from greek εἶναι, “to be”) may be defined as a
     thing which is recognized as being capable of an
     independent existence and which can be uniquely
     identified. An entity is an abstraction from the
     complexities of some domain. When we speak of an
     entity we normally speak of some aspect of the real
     world which can be distinguished from other aspects of
     the real world.




Monday, December 5, 11                                          3
Who did just say “yeah but whattabout relationships...


      A
      relationship
      captures
      how two or
      more
      entities are
      related to
      one
      another.




Monday, December 5, 11                                         4
... and tables?”




Monday, December 5, 11                      5
and btw, a question:




                         Awesome! Count to 3 and go asking
                         mr. Boyce and mr. Codd then


Monday, December 5, 11                                       6
A quick look at Drupal’s system table




 This is quite a good example from “Master how to hammer a
 screw vol. 666”: there must be a better solution!



Monday, December 5, 11                                           7
Introducing MongoDB

                                        • Document oriented
                                          • schema-less
                                          • json-style
                                        • Scalable
                                          • sharding
                                          • replica sets
                                        • Performant
                                        • Fully featured
                                          • indexes
                                          • queries
                                          • map/reduce
                                          • gridfs
                                          • geospatial functions
                                          • capped collections
                                          • journaling


Monday, December 5, 11                                             8
Introducing MongoDB




     It looks like an interesting compromise between
     performance, scalability and number of functionalities




Monday, December 5, 11                                        9
Oh noes! Philosophy again!

   Flexibility                         Power
   JSON documents provide a            A consistent set of RDBMS
   schema-less, rich data              features implemented such
   model that maps to native           as secondary indexes,
   programming language                dynamic queries, sorting,
   types                               upserts, aggregation plus
                                       his own ones such as gridfs
                                       and map/reduce

   Speed/Scaling                       Ease of use
   Embedded documents help             Installing, configuring,
   avoiding heavy joins, while         maintaining and using
   auto sharding makes quick           MongoDB are all kept as
   and easy to scale out the           easy as possible: more time
   database                            for your app, less for your
                                       server configuration


Monday, December 5, 11                                               10
Ok then.. tell us about Drupal!
   mongodb               - support library for the other modules

   mongodb_block               - stores block information

   mongodb_cache               - stores cache

   mongodb_field_storage               - stores fields

   mongodb_session               - stores sessions

   mongodb_queue                - DrupalQueueInterface
   implementation

   mongodb_watchdog                - store watchdog messages

   search_api_mongodb - backend storage mechanism for
   Search API


Monday, December 5, 11                                             11
Time for a demo!




Monday, December 5, 11                      12
Stuff & references



   https://github.com/omissis/Drupal-MongoDB-Playhouse

  http://mongodb.org

  http://drupal.org/project/mongodb

  http://drupalwatchdog.com/1/1/performance-scalability-
  drupal-7

   http://groups.drupal.org/node/183279

   http://en.wikipedia.org/wiki/Entity-relationship_model




Monday, December 5, 11                                      13
Sessions from past Drupalcons


      San Francisco 2010
      http://sf2010.drupal.org/conference/sessions/
      mongodb-humongous-drupal.html



      Copenhagen 2010
      http://www.archive.org/details/Mongodb-
      HumongousDrupal_491


      Chicago 2011
      http://www.archive.org/details/
      drupalconchi_day3_practical_mongo_db




Monday, December 5, 11                                   14
The Next Big Drupal Things




    Drupal Dev Days 2012        Drupalcon EU 2012
    Barcelona - June 15-17      Munich - August 20-23



Monday, December 5, 11                                  15
Claudio Beatrice


                         http://twitter.com/#!/omissis

                         http://agavee.com

                         http://associazione.drupalitalia.org




Monday, December 5, 11                                          16
Monday, December 5, 11   17

More Related Content

Similar to Drupal and the rise of the documents (20)

PDF
Drupal Day 2011 - Drupal and the rise of the documents
DrupalDay
 
PDF
CloudFoundry and MongoDb, a marriage made in heaven
Patrick Chanezon
 
PPTX
Practical Use of a NoSQL Database
IBM Cloud Data Services
 
PPTX
Introducción a NoSQL
MongoDB
 
PDF
Dublin Core: What is left to do?
knowledge Technology Week
 
PDF
"What is left to do?", Dublin Core 2012 Keynote
Dan Brickley
 
PPTX
NoSQL and MongoDB
Rajesh Menon
 
PDF
Building A Scalable Open Source Storage Solution
Phil Cryer
 
PDF
Morning with MongoDB Paris 2012 - Accueil et Introductions
MongoDB
 
PDF
Is multi-model the future of NoSQL?
Max Neunhöffer
 
PPTX
Elasticsearch vs MongoDB comparison
jeetendra mandal
 
PDF
Mongodb
ichangbai
 
PPTX
SWIB14 Weaving repository contents into the Semantic Web
Pascal-Nicolas Becker
 
PDF
On no sql.partiii
João Gabriel Lima
 
PPTX
MongoDB 2.4 and spring data
Jimmy Ray
 
PDF
Thomas risberg mongosv-2012-spring-data-cloud-foundry
trisberg
 
PDF
Rails ORM De-mystifying Active Record has_many
Blazing Cloud
 
ZIP
SemWeb Fundamentals - Info Linking & Layering in Practice
Dan Brickley
 
PPTX
Drop acid
Mike Feltman
 
PDF
Oslo baksia2014
Max Neunhöffer
 
Drupal Day 2011 - Drupal and the rise of the documents
DrupalDay
 
CloudFoundry and MongoDb, a marriage made in heaven
Patrick Chanezon
 
Practical Use of a NoSQL Database
IBM Cloud Data Services
 
Introducción a NoSQL
MongoDB
 
Dublin Core: What is left to do?
knowledge Technology Week
 
"What is left to do?", Dublin Core 2012 Keynote
Dan Brickley
 
NoSQL and MongoDB
Rajesh Menon
 
Building A Scalable Open Source Storage Solution
Phil Cryer
 
Morning with MongoDB Paris 2012 - Accueil et Introductions
MongoDB
 
Is multi-model the future of NoSQL?
Max Neunhöffer
 
Elasticsearch vs MongoDB comparison
jeetendra mandal
 
Mongodb
ichangbai
 
SWIB14 Weaving repository contents into the Semantic Web
Pascal-Nicolas Becker
 
On no sql.partiii
João Gabriel Lima
 
MongoDB 2.4 and spring data
Jimmy Ray
 
Thomas risberg mongosv-2012-spring-data-cloud-foundry
trisberg
 
Rails ORM De-mystifying Active Record has_many
Blazing Cloud
 
SemWeb Fundamentals - Info Linking & Layering in Practice
Dan Brickley
 
Drop acid
Mike Feltman
 
Oslo baksia2014
Max Neunhöffer
 

Recently uploaded (20)

PPTX
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
introduction to computer hardware and sofeware
chauhanshraddha2007
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
PDF
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PDF
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
introduction to computer hardware and sofeware
chauhanshraddha2007
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Ad

Drupal and the rise of the documents

  • 1. Drupal and the rise of the Documents Claudio Beatrice (@omissis) Monday, December 5, 11 1
  • 2. It was a warm summer evening in ancient Greece, when one of the greatest philosopher of all times(guess who? :) gave birth to the Theory of Forms, greatly contributing to Ontology, eg the study of the nature of being, existence or reality as such. Monday, December 5, 11 2
  • 3. An entity(from greek εἶναι, “to be”) may be defined as a thing which is recognized as being capable of an independent existence and which can be uniquely identified. An entity is an abstraction from the complexities of some domain. When we speak of an entity we normally speak of some aspect of the real world which can be distinguished from other aspects of the real world. Monday, December 5, 11 3
  • 4. Who did just say “yeah but whattabout relationships... A relationship captures how two or more entities are related to one another. Monday, December 5, 11 4
  • 5. ... and tables?” Monday, December 5, 11 5
  • 6. and btw, a question: Awesome! Count to 3 and go asking mr. Boyce and mr. Codd then Monday, December 5, 11 6
  • 7. A quick look at Drupal’s system table This is quite a good example from “Master how to hammer a screw vol. 666”: there must be a better solution! Monday, December 5, 11 7
  • 8. Introducing MongoDB • Document oriented • schema-less • json-style • Scalable • sharding • replica sets • Performant • Fully featured • indexes • queries • map/reduce • gridfs • geospatial functions • capped collections • journaling Monday, December 5, 11 8
  • 9. Introducing MongoDB It looks like an interesting compromise between performance, scalability and number of functionalities Monday, December 5, 11 9
  • 10. Oh noes! Philosophy again! Flexibility Power JSON documents provide a A consistent set of RDBMS schema-less, rich data features implemented such model that maps to native as secondary indexes, programming language dynamic queries, sorting, types upserts, aggregation plus his own ones such as gridfs and map/reduce Speed/Scaling Ease of use Embedded documents help Installing, configuring, avoiding heavy joins, while maintaining and using auto sharding makes quick MongoDB are all kept as and easy to scale out the easy as possible: more time database for your app, less for your server configuration Monday, December 5, 11 10
  • 11. Ok then.. tell us about Drupal! mongodb - support library for the other modules mongodb_block - stores block information mongodb_cache - stores cache mongodb_field_storage - stores fields mongodb_session - stores sessions mongodb_queue - DrupalQueueInterface implementation mongodb_watchdog - store watchdog messages search_api_mongodb - backend storage mechanism for Search API Monday, December 5, 11 11
  • 12. Time for a demo! Monday, December 5, 11 12
  • 13. Stuff & references https://github.com/omissis/Drupal-MongoDB-Playhouse http://mongodb.org http://drupal.org/project/mongodb http://drupalwatchdog.com/1/1/performance-scalability- drupal-7 http://groups.drupal.org/node/183279 http://en.wikipedia.org/wiki/Entity-relationship_model Monday, December 5, 11 13
  • 14. Sessions from past Drupalcons San Francisco 2010 http://sf2010.drupal.org/conference/sessions/ mongodb-humongous-drupal.html Copenhagen 2010 http://www.archive.org/details/Mongodb- HumongousDrupal_491 Chicago 2011 http://www.archive.org/details/ drupalconchi_day3_practical_mongo_db Monday, December 5, 11 14
  • 15. The Next Big Drupal Things Drupal Dev Days 2012 Drupalcon EU 2012 Barcelona - June 15-17 Munich - August 20-23 Monday, December 5, 11 15
  • 16. Claudio Beatrice http://twitter.com/#!/omissis http://agavee.com http://associazione.drupalitalia.org Monday, December 5, 11 16