Sunday, July 11, 2021

Web Application Related question

 

What is ES6?

-----------------------------------------------
ECMAScript is generally used for client-side scripting, and it is also used for writing server applications and services by using Node.js. ES6 allows you to make the code more modern and readable. By using ES6 features, we write less and do more, so the term 'Write less, do more' suits ES6. ES6 introduces you many great features such as scope variable, arrow functions, template strings, class destructions, modules, etc.

What are the new features introduced in ES6?

  • Let and const keywords.
  • Default Parameters.
  • Arrow functions.
  • Template Literals.
  • Object Literals.
  • Rest and spread operators.
  • Destructuring assignment.
  • Modules, Classes, Generators, and iterators.
  • Promises, and many more.

What is Vue.js?

Vue.js is an open-source progressive JavaScript framework used to develop interactive web user interfaces and single-page applications (SPAs). Vue.js is commonly referred to as Vue and pronounced as "view.js" or "view." Vue.js is mainly focused on the view part of the application that is also called front end development. 

Vue.js is going popular day by day because it is very easy to integrate with other projects and libraries. It is very simple to install and use. Even beginners can understand it easily and start building their own user interfaces

What is MongoDB

MongoDB is an open-source document database that provides high performance, high availability, and automatic scaling. "MongoDB is a scalable, open source, high performance, document-oriented database.

What is Express.js

Express.js is a web framework for Node.js. It is a fast, robust and asynchronous in nature. Express is a fast, assertive, essential and moderate web framework of Node.js. You can assume express as a layer built on the top of the Node.js that helps manage a server and routes. It provides a robust set of features to develop web and mobile applications.

Let's see some of the core features of Express framework:

  • It can be used to design single-page, multi-page and hybrid web applications.
  • It allows to setup middlewares to respond to HTTP Requests.
  • It defines a routing table which is used to perform different actions based on HTTP method and URL.
  • It allows to dynamically render HTML Pages based on passing arguments to templates.

Why use Express

  • Ultra fast I/O
  • Asynchronous and single threaded
  • MVC like structure
  • Robust API makes routing easy

What is Node.js

Node.js is a cross-platform runtime environment and library for running JavaScript applications outside the browser. It is used for creating server-side and networking web applications. It is open source and free to use

Features of Node.js

Following is a list of some important features of Node.js that makes it the first choice of software architects.

  1. Extremely fast: Node.js is built on Google Chrome's V8 JavaScript Engine, so its library is very fast in code execution.
  2. I/O is Asynchronous and Event Driven: All APIs of Node.js library are asynchronous i.e. non-blocking. So a Node.js based server never waits for an API to return data. The server moves to the next API after calling it and a notification mechanism of Events of Node.js helps the server to get a response from the previous API call. It is also a reason that it is very fast.
  3. Single threaded: Node.js follows a single threaded model with event looping.
  4. Highly Scalable: Node.js is highly scalable because event mechanism helps the server to respond in a non-blocking way.
  5. No buffering: Node.js cuts down the overall processing time while uploading audio and video files. Node.js applications never buffer any data. These applications simply output the data in chunks.
  6. Open source: Node.js has an open source community which has produced many excellent modules to add additional capabilities to Node.js applications.
  7. License: Node.js is released under the MIT license.

Webpack

webpack is an open-source JavaScript module bundler. It is made primarily for JavaScript, but it can transform front-end assets such as HTML, CSS, and images if the corresponding loaders are included. webpack takes modules with dependencies and generates static assets representing those modules.

Babel

Babel is a free and open-source JavaScript transcompiler that is mainly used to convert ECMAScript 2015+ code into a backwards compatible version of JavaScript that can be run by older JavaScript engines. Babel is a popular tool for using the newest features of the JavaScript programming language

No comments:

Post a Comment