Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is order relevant when learning JavaScript, Ajax, jQuery and JSON? [closed]

The number of jobs I could apply for would greatly increase if I knew JavaScript, AJAX, jQuery and JSON. I've begun teaching myself and figured out, in some sense or another, they have all evolved from JavaScript. My question is how well (if at all) do you need to know one before learning the other and in what order?

like image 527
Celeritas Avatar asked Aug 09 '12 23:08

Celeritas


2 Answers

  1. Javascript. As this is the language that surrounds the other things you want to learn, it's logical to start here. Find out what Javascript is, the syntax, what it can do (and CAN'T do).
  2. jQuery (mind the single r) is a Javascript-library, it means that it is just another way to write plain js-functions. You can do everything jQuery can in pure Javascript. The difference is that jQuery makes many things easier and corrects some flaws browsers have developed (hello IE).
  3. Ajax (transferring information without pageload) is a feature in Javascript. You could either learn the pure js-way, or the simplified jQuery-way. I love how simple jQuery have made ajax-calls. My ajax-calls before I began learning jQuery was a mess! This is just an aspect of the entire jQuery-library, so some basic knowledge of their syntax, event-handling and such is smart before beginning to learn this.
  4. JSON is just a way to encode a set of strings when you are using Ajax. With some basic knowledge of Javascript, this should not take you a long time to figure out.

That is the order I would suggest. With my comments you can see why I suggest them in this order.

Good luck :)

like image 89
OptimusCrime Avatar answered Nov 02 '22 05:11

OptimusCrime


  1. Javascript is the core of all the ones you listed as everything you've listed is written in javascript or uses its syntax. You will need to know core javascript in order to learn/use any of the other items you've listed.
  2. jQuery is a popular and useful library built on top of javascript that adds lot of useful functionality and implements a lot of cross browser compatibility for you.
  3. Ajax. You will probably want to learn the ajax stuff in jQuery as it makes ajax a lot easier than doing plain javascript ajax.
  4. JSON is the data format often used with Ajax so you will probably encounter it while learning ajax.

I would suggest the order above.

like image 38
jfriend00 Avatar answered Nov 02 '22 05:11

jfriend00