Live data from Hacker News

MongoDB interactive tutorial

mongly.com

1–10 of 26 posts

Re: MongoDB interactive tutorial

#2
I found this insanely helpful! At first I thought the tutorial was just a scripted app which only listened for the right queries to move on. I was a little blown away when I realized I could run other queries against the tutorial db.

Re: MongoDB interactive tutorial

#3
post #2

I found this insanely helpful! At first I thought the tutorial was just a scripted app which only listened for the right queries to move on. I was a little blown away when I realized I could run other queries against the tutorial db.

once you get to lesson 10 or about, it limits the input quite a bit since the lessons start to build atop each other. Before that, or after you are done, you can do a lot.

The commands are executed against a real unicorns mongodb collection (each user having his or her own)...so you are only limited by what's been implemented in the javascript shell and on the thin proxy backend.

This does mean that someone who wanted to take the server down probably wouldn't have to try very hard.

Re: MongoDB interactive tutorial

#4
This tutorial was totally cool! Props to the guy who made this, and for doing something like this while in his bored spare time... 1 complaint however is that it doesn't explain much about the difference between MongoDB and MySQL, or other databases. I was really hoping to get to hear how it compares, what the pros and cons are out of using this vs. other databases

Re: MongoDB interactive tutorial

#5
Funny easter egg: If you do db.unicorns.remove({}) after it asks you to list the collections, typing "db.unicorns.count()" will redirect you here: http://www.thinkgeek.com/caffeine/wacky-edibles/e5a7/

(At least I think it's an easter egg, I didn't get all the way through. Maybe murdering unicorns is a normal part of the tutorial)

Re: MongoDB interactive tutorial

#6
I tried the first one "It's easy, just enter db.getCollectionNames();"

Received: "undefined method `collection_names' for nil:NilClass"

Edit: It's relying on my cookie which wasn't enabled, oops.

The official MongoDB interactive tutorial: http://try.mongodb.org/

Seems to be a clone of redis: http://try.redis-db.com/

Re: MongoDB interactive tutorial

#8
The DOM has exactly eight words of content and no forms or links at all. I'm worried about this trend of tutorials from authors who fail to get the very basics like progressive enhancement right. We should be showing pages with better authoring than average to novices, because most of the web will eventually converge on the quality of the average tutorial today.
Post reply on HN