Your SlideShare is downloading. ×
0
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
Mongo
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

Mongo

496

Published on

Things we learned while using Mongo and Scala at Udini.

Things we learned while using Mongo and Scala at Udini.

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

  • Be the first to like this

No Downloads
Views
Total Views
496
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
7
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
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript

    • 1. Papers
    • 2. Articles
    • 3. Dissertations
    • 4. 144.000.000
    • 5. NoSQL
    • 6. no ␣ SQL
    • 7. S3
    • 8. ...
    • 9. Mongo
    • 10. ♥Mongo
    • 11. ♥Scala
    • 12. 1
    • 13. Scala ⬍Mongo
    • 14. Java driver✗ Easy to use, hard to misuse✗ When in Rome, do as the romans do✗ Dont make the client do anything the library could do
    • 15. Java driver✗ Easy to use, hard to misuse✗ When in Rome, do as the romans do✗ Dont make the client do anything the library could do ☑
    • 16. Casbah✗ Easy to use, hard to misuse✓ When in Rome, do as the romans do✗ Dont make the client do anything the library could do✗ Obey the principle of least astonishment
    • 17. Casbah✗ Easy to use, hard to misuse✓ When in Rome, do as the romans do✗ Dont make the client do anything the library could do✗ Obey the principle of least astonishment Leaky abstractions
    • 18. codes: [ “foo”, “bar” ]obj.as[BasicDBList]("codes") .toList .map(_.asInstanceOf[String]) Don’t make me think
    • 19. Casbah:coll.findOne(“name” $ne “wilfred”)Mongo:db.coll.findOne({ name : { $ne : “wilfred” } })☹ Casbah:coll.findOne( MongoDBObject(“name” -> “wilfred”)) Don’t make me think!Mongo:db.coll.findOne({ name : “wilfred”})
    • 20. Casbah✗ Easy to use, hard to misuse✓ When in Rome, do as the romans do✗ Dont make the client do anything the✗ library could do Obey the principle of least astonishment ☑
    • 21. Salat✗ Easy to use, hard to misuse✓ When in Rome, do as the romans do✓ Dont make the client do anything the✗✗✓ library could do Obey the principle of least astonishment Control Symmetry ☒
    • 22. RogueBeaucatcher Lift Subset ?
    • 23. Homegrown
    • 24. obj.insert[Metadata] ("metadata", doc.metadata)obj.extract[Metadata] ("metadata") Doesn’t make me think!
    • 25. 2
    • 26. Versioning
    • 27. Version 1 { street: “Lingedijk”, housenumber: 132 } ⬍Version 2 { address: “Lingedijk 132” }
    • 28. { version: 1, street: “Lingedijk”, housenumber: 132} Read time ➡ reconciliation Memory{ ➡ version: 2, address: “Lingedijk 132”}
    • 29. Rollback
    • 30. 3
    • 31. Objectmapping
    • 32. Subclasses indifferent collections
    • 33. Conclusion
    • 34. ♥ Scala♥ Mongo☹ Libraries✎ Versioning D.I.Y.☼ Composition

    ×