Shubhojoy Mitra’s answer to What is the difference between JavaScript, Ruby, jQuery, Angular.js, Node.js, Ajax, and JSON?

  • Node.js is a JavaScript runtime environment that runs on servers using Google’s V8 JavaScript engine unlike built in JavaScript engines of browsers to write server based web applications or the server side components of a web application.
  • While Ruby was not created for exclusive use in web application development, it’s use became quite popular since the mid-00s when many developers started using the RoR framework to create websites and web applications.
  • It must be also noted that all the technologies listed in the question belong to the realm of scripting languages (there are various kinds of programming languages: compiled, scripting/interpreted, markup).
  • While all the listed technologies were developed and used predominantly for web based applications and websites with the exception of Ruby, some of them are either used separately on their own while others may be used in conjunction in different projects.
  • Primarily written to handle file uploads asynchronously in web applications it has since been adapted to perform all kinds of server side tasks including that of a web server as well as operations involving databases.

What is the difference between apples, oranges, apple juice, apples cider, mixed fruit juice and fruit salad? Well, that is what the question sounds me like.

@shubhojoymitra: What is the difference between JavaScript, Ruby, jQuery, Angular.js, Node.js, Ajax, and JSON?

This page may be out of date. Save your draft before refreshing this page. Submit any pending changes before refreshing this page.

What is the difference between apples, oranges, apple juice, apples cider, mixed fruit juice and fruit salad? Well, that is what the question sounds me like.

Some answers have attempted to define the list of technologies (scripting/interpreted languages, frameworks and data representation formats) to explain the differences. But I think, firstly, one has to try and highlight what is common among them to clarify things as the questioner seems to be a little confused about the listed technologies or is perhaps wondering where to start from. Then, it would be instructive to explain how each technology is used in real life.

While all the listed technologies were developed and used predominantly for web based applications and websites with the exception of Ruby, some of them are either used separately on their own while others may be used in conjunction in different projects.

Secondly, again with the exception of Ruby, all the above technologies are either used, or is derived or based on JavaScript (jQuery, Angular, Node, Ajax or JSON).

Ruby, a scripting or interpreted language which predates JavaScript by at least two years is a full fledged Object oriented language. At this point, it must be also noted that all the technologies listed in the question belong to the realm of scripting languages (there are various kinds of programming languages: compiled, scripting/interpreted, markup). To learn about the differences between a compiled and interpreted language, see this link: What is the difference between interpreted languages and scripting languages?)

While Ruby was not created for exclusive use in web application development, it’s use became quite popular since the mid-00s when many developers started using the RoR framework to create websites and web applications. RoR stands for Ruby on Rails and in the beginning it used a JavaScript framework called PrototypeJS for user interaction in the front end which was replaced by jQuery later.

JavaScript, an ECMA scripting language, by far the most popular, was written exclusively for manipulation of the document object model of web pages loaded in the browser in 1995 for Netscape (now Mozilla). Since then, it has been adopted not only by other browsers but also many different applications to allow automation through scripting in their environments. But generally, when we talk about JavaScript, we are talking about its use in web browsers.

To put it simply, jQuery and Angular are JavaScript-based frameworks which make it easier to write JavaScript code or applications using their extensive libraries and tools. There are many, many more: PrototypeJS, Mootols, Django toolkit, Dojo, BackboneJS, ExtJS, React, Ember, and YUI just to name a few. Here’s a wikipedia link that compares their features: Comparison of JavaScript frameworks – Wikipedia

Node.js is a JavaScript runtime environment that runs on servers using Google’s V8 JavaScript engine unlike built in JavaScript engines of browsers to write server based web applications or the server side components of a web application. Primarily written to handle file uploads asynchronously in web applications it has since been adapted to perform all kinds of server side tasks including that of a web server as well as operations involving databases.

AJAX is Asynchronous JavaScript (xHttp) requests in browsers for data exchange using XML. However, the use of JavaScript Object Notation (JSON) for data has become more popular than using XML because it is more easily parsed using JavaScript rather than XML.

I hope this helps.

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Shubhojoy Mitra’s answer to What is the difference between JavaScript, Ruby, jQuery, Angular.js, Node.js, Ajax, and JSON?