Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Databases Mongo Basics Go Further With Mongo Review: Where to Next?

Mango 'Shell' vs. Node 'Language Driver' using IDE

I use the Brackets IDE with Node installed and would like clarification as to whether it is the equivalent of using the Mongo Shell (with Mongo-Hacker for syntax highlights)?

I understand how to use the Mongo-Shell I'm just seeking confirmation that I have indeed been using Language Drivers (ie NodeJS) and determine the best method for me to use Mongo.

Any advice would be appreciated.

3 Answers

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Mister Moody;

Ah, sorry for the confusion. Yes, use an IDE for development... or text editor. As you stated, you will need to make sure that you have a mongod instance running so that there is an active server, but definitely do your development outside of mongo shell.

Hope that helps. Ken

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Mister Moody;

The mongo shell is an interactive JavaScript interface to MongoDB. You can use the mongo shell to query and update data as well as perform administrative operations. It is not, however a true development environment like the Brackets IDE is.

Post back if you have further questions.

Ken

Thanks Ken. I guess I should have asked if I can use my IDE instead of the Mongo shell?

I remember @hdngr stating that a console must be open for Mongo and Mongo Shell. But I believe that using a Language Driver.(ie Node) integrated into my IDE is a more suitable development environment.

I simply want to ascertain if I should / if I can / if it's best practice to use the Language Driver as opposed to Mongo Shell~

Thanks. I'm gonna push forward with me text editor using Mongo.

Cheers