Intro to mongo and using it with nodejs or through mongoose

preview_player
Показать описание
This is an introduction to mongodb, along with how to use mongo from nodejs via either node-mongodb-native or mongoose. This is for people new to using mongo and who know what nodejs is. I use ubuntu in this screencast, but much of the video content doesn't depend on your OS. If you happen to be using ubuntu 12 from an ec2 instance, then you will be able to exactly duplicate everything I do in the video easily.
Рекомендации по теме
Комментарии
Автор

Thank you.  I appreciate you editing the video, rather than making everyone sit and watch bug fixes, crashes, etc.  Quick and concise.

bradcavanaugh
Автор

Nice video. Very clear and informative. A bit more info about advantages and disadvantages between native and mongoose would have been great. Thank you

chimeces
Автор

Thanks for the quick and dirty introduction Tyler!

astyanax
Автор

Hey Tyler - Thanks for the video!  Great pace and full circle to getting started using mongodb with nodejs.  Exciting times ahead!

jonthompson
Автор

Hi Jiří - There are some videos that focus directly on mongoose (just search for "mongoose tutorial" to see what others have made). I wanted to give a good sense of what mongoose is doing behind the scenes. Whenever I use a library that wraps other code, it's good to know this to better understand performance and limitations based on the underlying system.

tylerneylon
Автор

Excellent tut :) thanks .. BTW was it raining outside?

JosephKJ
Автор

Webstorm does such a thing, but since Javascript is not an interpreted language it won't be a lot of help. I swear by IntelliJ IDEA when developing using Java, but I find a simple text editor like Sublime Text 2 much better when writing in languages like Python, Ruby and Javascript.

Great screencast btw

robbert-vdh
Автор

This helped me get past a road block in my code.  thank you!

xhouston
Автор

Also you do not need to "createCollection" - simply inserting a document will create the collection if it doesn't exist

alexmcauley
Автор

Good info... thanks... ?wouldn't be nice to have an editor with intellisense and autocomplete for nodejs.... that also recognises the installed modules... ?anybody know of such a thing???

Anonymouzee
Автор

You missed out adding the apt repo for 10gen to apt-get install mongodb

alexmcauley
Автор

I can't type mongo in terminal after install it with npm. any one know why?

Ones_
Автор

Couldn't you make a bigger video focused just on mongoose?