Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Recommend a good mongodb/database tutorial for a beginner? [closed]

I'm a designer; proficient at HTML/CSS/JQuery. I know next to nothing about databases. I'm interested in learning mongodb (it seems simpler), but can't find any tutorials that will hold my hand from start to finish. Most tutorials I've found teach you how to use it in the command line or in their own web based shell. I'm looking for something that will show me how to actually deploy a site using it.

Or, if mongodb isn't appropriate for a database novice, then can you recommend some database tutorial that will be good for what I'm looking for?

like image 532
alex Avatar asked Oct 03 '11 16:10

alex


2 Answers

Here are a couple of great sources that I have checked while docummenting to create a course:

A grasp of classic Relational Databases:

  • http://net.tutsplus.com/tutorials/tools-and-tips/relational-databases-for-dummies/

And continue with visual creation of Databases:

  • http://net.tutsplus.com/tutorials/databases/visual-database-creation-with-mysql-workbench/

Next, you can go deeper in SQL knowledge:

  • http://net.tutsplus.com/tutorials/databases/sql-for-beginners/
  • http://net.tutsplus.com/tutorials/databases/sql-for-beginners-part-2/
  • http://net.tutsplus.com/tutorials/databases/sql-for-beginners-part-3-database-relationships/

Now, get to know the non-Relational "NoSQL" world:

  • http://net.tutsplus.com/tutorials/databases/getting-started-with-mongodb/
  • http://net.tutsplus.com/tutorials/databases/getting-started-with-mongodb-part-2/

Note: You can go directly to the MongoDB/NoSQL part directly, but I recommend at least reviewing the first link (Relational Databases) to get a good knowledge of the pros and cons of both paradigms.

p.s. I'm not part of tutsplus.com nor related to them. IMO, these matters are really well explained there

like image 150
stackex Avatar answered Sep 26 '22 00:09

stackex


Most tutorials I've found teach you how to use it in the command line or in their own web based shell. I'm looking for something that will show me how to actually deploy a site using it.

This is basically where MongoDB starts. It's not really at the level of MySQL or SQL Server where you click a few buttons and have everything magically working.

The tutorials will start you at the command-line so that you can do basic CRUD (Create/Read/Update/Delete). Then you'll need to learn the specific details for whatever language you're using on the web-server (PHP, Ruby, C#, etc.)

There are tutorials for getting started (installing MongoDB on your server, installing drivers, etc). But you'll have to let us know what language you're using in the back end.


PHP has a ton of "getting started" documentation.

Here's a good link of links. Here's one of the links with basic wrapper code. And here's a link with an extensive example.

You'll probably find that the PHP code is very similar to the shell. You use array('_id' => 'bob') instead of { _id: 'bob'} and db->coll->find() instead of db.coll.find().

like image 31
Gates VP Avatar answered Sep 24 '22 00:09

Gates VP