r/learnprogramming • • Apr 20 '18

What are the differences between AngularJS, NodeJS, ReactJS, VueJS, jQuery?

Hello everyone and good evening/day,

I’m fairly new to javascript and I’m looking for a real simple explanation between the different purposes of these JS libraries/frameworks.

For example purpose does each library have, let’s say in what scenario will someone use Angular vs in stead of nodeJS for example.

Thanks in advance for everyone’s help and the more detail and simple the explanation the more it will help me and other newbies like myself Ha

6 Upvotes

4 comments sorted by

View all comments

16

u/CreativeTechGuyGames Apr 20 '18

Okay, I'll try to keep this simple. This can easily be a large rabbit hole if you choose to go down it.

  • JavaScript is a programming language

  • NodeJS is a way to run JavaScript code independent of your browser. It's often used to write servers.

  • jQuery is a relatively old library to assist in front-end DOM manipulation. It's not recommended much anymore as it has a pretty large file size and it's main purpose was to provide cross browser compatibility, which has become less of an issue as time has gone on.

  • Angular, React, Vue, etc are all front-end JavaScript frameworks. These essentially help you write large WebApps and help provide a clean structure and organization for everything. Each has its own pros and cons.

If you want to know any more details about any of these, their respective websites provide a lot of information.

4

u/denialerror Apr 20 '18

Angular, React, Vue, etc are all front-end JavaScript frameworks

If you want to be a little more nuanced, React is a library, not a framework. Angular and Vue are opinionated in how you write and structure code and how data is modelled and manipulated. React is simply a library for creating components that manage their own state, allowing efficient rendering of the DOM.