Link Details

Link 993667 thumbnail
User 1161311 avatar

By ashleyrobinson
via javascriptstyle.com
Submitted: Jul 07 2013 / 10:38

This article starts with the definition of JavaScript and Ajax and goes on to clearly point out the top 5 major differences between them to give a clear picture of the underlying differences between the two.
  • 2
  • 3
  • 244
  • 50

Comments

Add your comment
User 368782 avatar

Martyr2 replied ago:

0 votes Vote down Vote up Reply

First of all AJAX, as you pointed out in the first few paragraphs, IS JavaScript. So I am not sure you can compare the differences because you are talking about literally the same thing. Second you are comparing a language to a construct within that language. Third, you can't really get a clear picture because you talk very vaguely with no examples. Lastly, some points are just a bit in the wrong direction. While yes AJAX is typically asynchronous you can also make synchronous requests and I am not sure where you were going with the "understood by the browser" point because again, AJAX and JavaScript are both browser based. AJAX makes use of the JavaScript XMLHttpRequest object.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (2)



Voters Against This Link (3)



Java Performance Optimization
Written by: Pierre-Hugues Charbonneau
Featured Refcardz: Top Refcardz:
  1. Design Patterns
  2. OO JS
  3. Cont. Delivery
  4. Java EE7
  5. HTML5 Mobile
  1. Node.js
  2. Debugging JavaScript
  3. OO JS
  4. JSON
  5. Ajax