component based frameworks

3 JavaScript Frameworks that have Embraced the Components Based Future of Web Development

A framework is a library that structures each aspect and the level at which the application runs. Level means databases, models, controllers, views, networks and so on.

A good framework solves problems that an application may encounter – for that, it already has the necessary built-in solutions.

JavaScript (JS) is the most popular in the world. Web developers actively use JS for designing, animation and creating web pages. Along with HTML and CSS, JavaScript can make the web page interactive and more interesting for users.

This article presents the three JavaScript frameworks that embrace the components-based future in web development.

  1. Vue.js.

Vue.js is a JavaScript library for creating web interfaces using the MVVM (Model-View-ViewModel) template.

Since Vue only works at the “presentation level” and isn’t exploit for middleware and backend, it can easily integrate with other projects and libraries. Vue.js contains extensive functionality for the presentation layer and can be exploited to create powerful single-page web applications.

Vue is suitable for small projects that need to add a bit of reactivity, submit a form using AJAX, display values when entering user data, authorization, or other similar tasks. Vue easily scales and is well suited for large projects, so it is called a progressive framework.

  1. Angular 2.

Angular 2 is the next generation of JavaScript frameworks from Google. Its functionality differs from the previous version, this is due to two main factors – updating JS to the next version (ECMAScript 6), as well as full language processing in accordance with the new web development standards. The new Angular 2 exploits a very interesting thing – the rxjs library. With it, you can simply implement the Publisher-Subscriber (pub/sub) pattern – this is one of the Observable pattern implementations.

React is a tool for creating user interfaces. Its main task is to provide the output of what can be seen on the web pages. React greatly facilitates the creation of interfaces by splitting each page into smaller fragments. We call these fragments and components.

The React component is a piece of code that represents a part of a web page. Each component is a JavaScript function that returns a piece of code that represents the fragment of the page.


To form a page, we call these functions in a certain order, collect the results of the calls together and show them to the user. React uses a programming language called JSX, which is similar to HTML, but works in JavaScript, which distinguishes it from HTML.

Igor Grigorenko

Add comment