Upload
colombia30
View
580
Download
3
Embed Size (px)
DESCRIPTION
Ponencia en Colombia 3.0
Citation preview
DJONDB AND THENOSQL REVOLUTION
Juan Pablo Crossley
@djondb
http://djondb.com
INTRODUCTION TO NOSQLUnstructured data
Cloud friendly
Scalable by commodities
Horizontal scalable
Map/Reduce enabled
{ "name": "Bruce", "lastName": "Wayne", "company": "Wayne Corp.", "nicknames": [ {"name": "Batman"}, {"name": "Dark knight"} ] }
WHY DJONDB?Consistency ensured
Transaction support
Easy query language
Unified Drivers: Features, Documentation, Bug fixing.
Linux, Windows and OSX support
DEVELOPING WITH DJONDB AND NOSQL
LIVE DEMO!
MAINTENANCE PHASEWhat if you decided to include a new product?
MAINTENANCE PHASECreate a new screen
Change your data model
Change all the underlined SQL code
Separate all the queries
Create upgrade scripts
Migrate your data
Change all the classes that maps objects <-> db
Live?
RDBMS MODEL
RDBMS MODELNew model
USING DJONDB?Create a new screen
Change your data model
Change all the underlined SQL code
Separate all the queries
Create upgrade scripts
Migrate your data
Change all the classes that maps objects <-> db
Live
Yes Live!
NOSQL MODELBooks
{ "_id": "1", "_revision": "c216a6e7-bc3e-4777-8823-20c23bd920c1", "_status": 1, "name": "NoSQL Distilled", "author": "Martin Fowler", "isbn": "0321826620", "picture": "nosql.jpg", "price": "$29.29", "prodtype": "book", "releasedate": "2012/08/08"}
NOSQL MODELNew Model
{ "_id": "1", "_revision": "c216a6e7-bc3e-4777-8823-20c23bd920c1", "_status": 1, "name": "NoSQL Distilled", "author": "Martin Fowler", "isbn": "0321826620", "picture": "nosql.jpg", "price": "$29.29", "prodtype": "book", "releasedate": "2012/08/08"},{ "_id": "5089dbb014f72", "_revision": "77e18890-fe23-4757-a60e-a2d8056e66c9", "_status": 1, "name": "iPhone 5", "capacity": "32 Gb", "manufacturer": "Apple", "picture": "iphone5.jpg", "price": "$550", "prodtype": "phone", "releasedate": ""}
USING DJONDB TO IMPROVE YOURPRODUCT
LIVE DEMO!
DJONDB ROADMAP