r/programming • • Jun 09 '16

jQuery 3.0 Released!

https://blog.jquery.com/2016/06/09/jquery-3-0-final-released/
1.1k Upvotes

354 comments sorted by

View all comments

Show parent comments

50

u/Prizephitah Jun 10 '16

If you know nothing about databases I would strongly suggest Postgres as your first encounter. Where it does many things right, Mongo does many things weird and comes with pretty bad defaults making it a bad learning experience.

Postgres is tried and tested. It's also well supported and pretty easy to work with. You pretty much can't go wrong with Postgres as a first encounter with databases.

Always use prepared statements!

4

u/judgej2 Jun 10 '16

It's not even as simple as which of the two are better. They are built on entirely different concepts, so reading up on relational databases and NoSQL databases is going to be important.

2

u/Prizephitah Jun 10 '16

I don't think that they are too different. It's mostly a question of normalization. In my opinion its more valuable and an easier transition to learn relational databases before document stores.

2

u/lalwanivikas Jun 10 '16

Any good resources that you can recommend for beginners?

(For server-side I just know Node)

1

u/cguess Jun 10 '16

What are you looking to do?

5

u/lalwanivikas Jun 10 '16

Nothing particular. Will make something random for learning purpose just like my other projects :)

http://vikaslalwani.com/projects/

0

u/[deleted] Jun 10 '16

[deleted]

2

u/lalwanivikas Jun 10 '16

This looks so cool! I would love to give it a try :-)

Which movie is it from?

1

u/[deleted] Jun 19 '16

You can give a try to this effect shown in the video. The infinite 3d grid of points.

https://www.youtube.com/watch?v=HvWWC9GwXQg

1

u/lalwanivikas Jun 19 '16

Hmm..looks cool!

But right now I am struggling with my site redesign :(

And after that there is a HUGE list of projects that I would like to do(yours first one included :) ).

Not sure when can I pick this up. But thanks for suggesting :)

0

u/[deleted] Jun 10 '16

[deleted]

1

u/DuoThree Jun 10 '16

I fail to see how using a database would help with this? Only because /u/lalwanivikas first posted saying he wants to pick a db to learn.

1

u/[deleted] Jun 10 '16

Because I went to his project page and saw what he has done. My suggestions are based on those one day projects.