A few days ago I tried MongoDB, my first encounter with what is called a NOSQL Database. No, it does not mean 'no' 'sql', rather Not only SQL, anyway I thought I would try mongodb, out of the many available there. It has both the document-oriented database design and ability to be accessed from Javascript, both features I really like. However, since I spend most time in Java, I thought I would start there. First, let me tell you you should try their web console before writing a line of code or downloading anything because it's a really good self-run tutorial, that lets you type real commands and get real output all from the browser! pretty awesome... Anyway, here is what I did to get started. 1. Download mongodb from http://www.mongodb.org/ 2. Create working dir for MongoDB to use as data directory 3. Open favorite IDE or editor, and start writing test, yes Test , not source, in the spirit of Test Driven Development. 4. In test package, create test such as: ...
I want to learn something new every day, but can I?