Monday 15 March 2021

What is AngularJS

 AngularJS looks like a JavaScript framework, but it's more than that. It's based on a Model-View-Controller framework. It's a framework with a purpose.  AngularJS helps developers in maintaining web infrastructures with ease & comfortability. It's built on the MVC architecture which commonly used for designing rich internet applications. The frameworks follow basic HTML & offer extension (in the form of directives) which has the capability to make the web site truly responsive & dynamic. It can automatically synchronize with models & views making AngularJS development an easy process. It follows the DOM methodology which focuses primarily on improvising testability & performance. 

So in short, Angular JS’s features are – Two-way data binding, templates, MVC structure, dependency injections, directives & testing features. Angular has the following key features which make it one of the powerful frameworks in the market. 

MVC – The framework is built on the famous concept of MVC (Model-View-Controller). This is a design pattern used in all modern day web applications. This pattern is based on splitting the business logic layer, the data layer, and presentation layer into separate sections. The division into different sections is done so that each one could be managed more easily. 

Data Model Binding – We don't need to write special code to bind data to the HTML controls. This can be done by Angular by just adding a few snippets of code. 

Writing less code – When carrying out DOM manipulation a lot of JavaScript was required to be written to design any application. But with Angular, you will be amazed at the lesser amount of code you need to write for DOM manipulation. 

Unit Testing ready – The designers at Google not only developed Angular but also developed a testing framework called "Karma" which helps in designing unit tests for AngularJS applications.

No comments:

Post a Comment