SlideShare una empresa de Scribd logo
1 de 17
Descargar para leer sin conexión
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

Más contenido relacionado

Similar a Drupal and the rise of the documents

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

Drupal Day 2011 - Drupal and the rise of the documents
Drupal Day 2011 - Drupal and the rise of the documentsDrupal Day 2011 - Drupal and the rise of the documents
Drupal Day 2011 - Drupal and the rise of the documents
 
CloudFoundry and MongoDb, a marriage made in heaven
CloudFoundry and MongoDb, a marriage made in heavenCloudFoundry and MongoDb, a marriage made in heaven
CloudFoundry and MongoDb, a marriage made in heaven
 
Practical Use of a NoSQL Database
Practical Use of a NoSQL DatabasePractical Use of a NoSQL Database
Practical Use of a NoSQL Database
 
Introducción a NoSQL
Introducción a NoSQLIntroducción a NoSQL
Introducción a NoSQL
 
"What is left to do?", Dublin Core 2012 Keynote
"What is left to do?", Dublin Core 2012 Keynote"What is left to do?", Dublin Core 2012 Keynote
"What is left to do?", Dublin Core 2012 Keynote
 
Dublin Core: What is left to do?
Dublin Core: What is left to do?Dublin Core: What is left to do?
Dublin Core: What is left to do?
 
NoSQL and MongoDB
NoSQL and MongoDBNoSQL and MongoDB
NoSQL and MongoDB
 
Building A Scalable Open Source Storage Solution
Building A Scalable Open Source Storage SolutionBuilding A Scalable Open Source Storage Solution
Building A Scalable Open Source Storage Solution
 
Morning with MongoDB Paris 2012 - Accueil et Introductions
Morning with MongoDB Paris 2012 - Accueil et IntroductionsMorning with MongoDB Paris 2012 - Accueil et Introductions
Morning with MongoDB Paris 2012 - Accueil et Introductions
 
Is multi-model the future of NoSQL?
Is multi-model the future of NoSQL?Is multi-model the future of NoSQL?
Is multi-model the future of NoSQL?
 
Elasticsearch vs MongoDB comparison
Elasticsearch vs MongoDB comparisonElasticsearch vs MongoDB comparison
Elasticsearch vs MongoDB comparison
 
Mongodb
MongodbMongodb
Mongodb
 
SWIB14 Weaving repository contents into the Semantic Web
SWIB14 Weaving repository contents into the Semantic WebSWIB14 Weaving repository contents into the Semantic Web
SWIB14 Weaving repository contents into the Semantic Web
 
On no sql.partiii
On no sql.partiiiOn no sql.partiii
On no sql.partiii
 
MongoDB 2.4 and spring data
MongoDB 2.4 and spring dataMongoDB 2.4 and spring data
MongoDB 2.4 and spring data
 
Thomas risberg mongosv-2012-spring-data-cloud-foundry
Thomas risberg mongosv-2012-spring-data-cloud-foundryThomas risberg mongosv-2012-spring-data-cloud-foundry
Thomas risberg mongosv-2012-spring-data-cloud-foundry
 
Rails ORM De-mystifying Active Record has_many
Rails ORM De-mystifying Active Record has_manyRails ORM De-mystifying Active Record has_many
Rails ORM De-mystifying Active Record has_many
 
SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in PracticeSemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in Practice
 
Drop acid
Drop acidDrop acid
Drop acid
 
Oslo baksia2014
Oslo baksia2014Oslo baksia2014
Oslo baksia2014
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

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