5

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?

7
  • 6
    JavaScript > jQuery + AJAX > JSON would be a logical order (note: JSON is the JavaScript Object notation. "JSON" comes last, because it's often used in web services). Commented Aug 9, 2012 at 23:17
  • The question will be closed I guess, because it will lead to expressing opinions. You should certainly learn Javascript first. Commented Aug 9, 2012 at 23:18
  • I agree with Rob W. You must learn the base language before you start learning libraries. jQuery makes AJAX so much easier, so learn it before AJAX. Same with jQuery/JSON Commented Aug 9, 2012 at 23:19
  • This question is inappropriate here. It calls for opinion and discussion. The FAQ is quite clear about these types of questions being a poor fit for the SO format. Voting to close as "not constructive". Commented Aug 9, 2012 at 23:21
  • I've worked my way through this JavaScript tutorial, am I ready for jQuery? tizag.com/javascriptT in other words is there anything specific I should no about JavaScript? Commented Aug 9, 2012 at 23:22

3 Answers 3

9
  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 :)

Sign up to request clarification or add additional context in comments.

Comments

2
  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.

2 Comments

I noticed the change and changed my comment
Still surprised at the downvotes since my answer was actually posted before the accepted answer and lists the same items in the same order.
0

Javascript is the language itself so you should learn it first. JSON is the javascript object notation so while you're learning Javascript you will be learning it too. Ajax is the API for async calls to the server so it has its own object which is consumed using JS. jQuery is a library which is built on top of JS.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.