Ample MongoDB Examples

Greetings, adventurer!

MongoLab is excited to release a round of MongoDB examples to help you get started on your quest in the world of scalable document-orientation. Fortunately for all of us, the technology stack required to deal with MongoDB is delightfully short. The whole idea is to put a lightweight, flexible object store directly at your fingertips and that’s what we aim to do.

With that in mind you’ll need:

  • a language,
  • a driver, and
  • a MongoDB database.

These examples assume you know enough about what you’re doing in each language to be dangerous. What we’re offering is a satchel of syntax to get you out of the village. To start with, head over to MongoDB > Drivers and equip yourself with your driver of choice.

If you quickstart with a MongoDB on your localhost these examples should run right out of the stable.

However, if you’re ready to ride the cloud you should sign up for 240MB of free cloud database goodness from MongoLab. You can be connected to a MongoDB database and slinging JSON documents through our latest UI tools in less time than it takes to download and install MongoDB locally. During provisioning, MongoLab will provide you the URI to drop into these examples.

So, hop over to our mongodb-driver-examples github and take a look. You’ll notice the metaphors keep coming: Each example is themed around documents for a fictional game known as MongoQuest. Here are direct links for:

Not only that, you should check back later for more. We plan to expand our examples to include replica set connections and cover how to handle failover. Until then, good luck on your quest!

Sincerely,
Eric@MongoLab

P.S. Please send us an email at support@mongolab.com or comment below about your experience with these examples. We want them to work for the whole community, and you can help. Always remember that the world still needs adventurers.

, , , , , ,

  • http://www.facebook.com/nelsonr87 Nelson Rodrigues

    Just wanna say, I’m loving your service, it’s so easy to use it’s incredible! I’m a happy man! :D

    • http://mongolab.com MongoLab

      Thanks, Nelson! Let us know at any point if there’s anything we can do to make your experience with MongoLab and MongoDB even better.

  • http://www.facebook.com/nelsonr87 Nelson Rodrigues

    Just wanna say, I’m loving your service, it’s so easy to use it’s incredible! I’m a happy man! :D

    • http://mongolab.com MongoLab

      Thanks, Nelson! Let us know at any point if there’s anything we can do to make your experience with MongoLab and MongoDB even better.

  • Adrian Costia
  • Adrian Costia
  • http://twitter.com/Heuristocrat Kris Tuttle

    This type of material is *really* helpful and makes it easier for all of us. I shifted to Python and needed a stub file to set up my database connection and basic queries and this saved me an hour or two pulling it together. Who knows how much time saved debugging.

  • Abirami R

    these database concept is understandable…

    http://www.besanttechnologies.com