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

Introduction to RavenDB

Introduction to RavenDB

Slide deck from my "Introduction to RavenDB" session at CVO Antwerp (5 May 2012)

Avatar for Stijn Volders

Stijn Volders

May 09, 2012
Tweet

More Decks by Stijn Volders

Other Decks in Programming

Transcript

  1. Introduction to RavenDB Stijn Volders Freelance .NET developer Solution Architect

    at Avalon Automation Twitter http://twitter.com/ONE75 Blog http://blog.one75.be Mail [email protected]
  2. RavenDB in a nutshell • Written in C#, open source

    • Schema free • Safe by default • Transactional • High performance • Free for open source (but not for commercial use)
  3. Some important buzzwords • JSON: JavaScript Object Notation • POCO:

    Plain Old CLR Object • Document: a POCO, serialized to JSON • Lucene: Text search engine • Indexes: Static and Dynamic
  4. Document design • Rows are flat, documents are not! •

    Based on the Aggregate Root pattern A cluster of associated objects that are treated as a unit for the purpose of data changes.
  5. Document design { "Status": "Not done", "Story": "As a user

    of ScrumR, I want to see all BacklogItems", "StoryPoints": 4, "Summary": null, "Tasks": [ { "Description": null, "EstimatedHours": 2, "Name": "Create asp.net mvc listview", "Owner": "Stijn Volders" }, { "Description": null, "EstimatedHours": 1, "Name": "Create BacklogItemController with listview support", "Owner": "Stijn Volders" } ], "SprintId": null, "Owner": "Stijn Volders", "BusinessValue": "XL" }
  6. More? • I’m doing a RavenDB session at Visug on

    29 May with more advanced stuff like custom indexes, Map/Reduce,... Register here: http://bit.ly/IUy9sW • Visit http://ravendb.net and check out the “Learn” section • Visit the RavenDB room on JabbR