Your SlideShare is downloading. ×
0
Drupal Day 2011 - Drupal and the rise of the documents
Drupal Day 2011 - Drupal and the rise of the documents
Drupal Day 2011 - Drupal and the rise of the documents
Drupal Day 2011 - Drupal and the rise of the documents
Drupal Day 2011 - Drupal and the rise of the documents
Drupal Day 2011 - Drupal and the rise of the documents
Drupal Day 2011 - Drupal and the rise of the documents
Drupal Day 2011 - Drupal and the rise of the documents
Drupal Day 2011 - Drupal and the rise of the documents
Drupal Day 2011 - Drupal and the rise of the documents
Drupal Day 2011 - Drupal and the rise of the documents
Drupal Day 2011 - Drupal and the rise of the documents
Drupal Day 2011 - Drupal and the rise of the documents
Drupal Day 2011 - Drupal and the rise of the documents
Drupal Day 2011 - Drupal and the rise of the documents
Drupal Day 2011 - Drupal and the rise of the documents
Drupal Day 2011 - Drupal and the rise of the documents
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Drupal Day 2011 - Drupal and the rise of the documents

2,327

Published on

Talk di Claudio Beatrice | Drupal Day Roma 2011 …

Talk di Claudio Beatrice | Drupal Day Roma 2011

Sono passati quasi tre anni da quando il termine 'NoSQL' è stato coniato, contribuendo a formare nell'immaginario di sviluppatori e appassionati un gruppo definito di tecnologie che, allontanandosi dal vecchio e consolidato modello relazione, hanno dato il via all'esplorazione di nuove soluzioni e permesso la formulazione di nuove risposte volte a soddisfare le esigenze del mercato di oggi, che come tutti sappiamo è molto legato al web ed alla scalabilità. Assieme a CouchDB, Redis e molti altri ancora, MongoDB fa anch'esso parte di questa ormai nutrita schiera, trattandosi di un "database orientato al documento". Nella sessione verranno dunque presentati i suoi principali punti di forza e debolezza, assieme alle metodologie da utilizzare per integrarlo con Drupal.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,327
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Drupal and the rise of the DocumentsClaudio Beatrice (@omissis)
  • 2. It was a warm summer evening in ancient Greece, whenone of the greatest philosopher of all times(guess who? :)gave birth to the Theory of Forms, greatly contributing toOntology, eg the study of the nature of being, existence orreality as such.
  • 3. An entity(from greek εἶναι, “to be”) may be defined as athing which is recognized as being capable of anindependent existence and which can be uniquelyidentified. An entity is an abstraction from thecomplexities of some domain. When we speak of anentity we normally speak of some aspect of the realworld which can be distinguished from other aspects ofthe real world.
  • 4. Who did just say “yeah but whattabout relationships...Arelationshipcaptureshow two ormoreentities arerelated tooneanother.
  • 5. ... and tables?”
  • 6. and btw, a question:Awesome! Count to 3 and go askingmr. Boyce and mr. Codd then
  • 7. A quick look at Drupal’s system tableThis is quite a good example from “Master how to hammer ascrew vol. 666”: there must be a better solution!
  • 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
  • 9. Introducing MongoDBIt looks like an interesting compromise betweenperformance, scalability and number of functionalities
  • 10. Oh noes! Philosophy again!Flexibility PowerJSON documents provide a A consistent set of RDBMSschema-less, rich data features implemented suchmodel that maps to native as secondary indexes,programming language dynamic queries, sorting,types upserts, aggregation plus his own ones such as gridfs and map/reduceSpeed/Scaling Ease of useEmbedded documents help Installing, configuring,avoiding heavy joins, while maintaining and usingauto sharding makes quick MongoDB are all kept asand easy to scale out the easy as possible: more timedatabase for your app, less for your server configuration
  • 11. Ok then.. tell us about Drupal!mongodb - support library for the other modulesmongodb_block - stores block informationmongodb_cache - stores cachemongodb_field_storage - stores fieldsmongodb_session - stores sessionsmongodb_queue - DrupalQueueInterfaceimplementationmongodb_watchdog - store watchdog messagessearch_api_mongodb - backend storage mechanism forSearch API
  • 12. Time for a demo!
  • 13. Stuff & referenceshttps://github.com/omissis/Drupal-MongoDB-Playhousehttp://mongodb.orghttp://drupal.org/project/mongodbhttp://drupalwatchdog.com/1/1/performance-scalability-drupal-7http://groups.drupal.org/node/183279http://en.wikipedia.org/wiki/Entity-relationship_model
  • 14. Sessions from past DrupalconsSan Francisco 2010http://sf2010.drupal.org/conference/sessions/mongodb-humongous-drupal.htmlCopenhagen 2010http://www.archive.org/details/Mongodb-HumongousDrupal_491Chicago 2011http://www.archive.org/details/drupalconchi_day3_practical_mongo_db
  • 15. The Next Big Drupal ThingsDrupal Dev Days 2012 Drupalcon EU 2012Barcelona - June 15-17 Munich - August 20-23
  • 16. Claudio Beatricehttp://twitter.com/#!/omissishttp://agavee.comhttp://associazione.drupalitalia.org

×