March 2015 archive

Why should we learn AngularJS?

What is AngularJS?

According to Wikipedia, “ AngularJS, is an open-source web application framework maintained by Google and a community of individual developers and corporations to address many of the challenges encountered in developing single-page applications. Angular provides a framework for client-side model–view–controller (MVC) architecture for simplifying development and testing of single-page applications. Angular is a Javascript library with embedded custom tag attributes.  ngApp, ngBind, ngModel etc., are few examples of custom tag attributes in AngularJS.”

Few reasons why developers need to explore AngularJS are:

  • Angular handles the MVC components of an app.
  • User interface of apps in AngularJS is built using HTML.
  • We can implement a pure parallel workflow between different components.
  • In Angular, markup for the UI and the underlying logic that fetches and processes data have a parallel workflow between them.
  • Angular allows us to load Javascript dynamically whenever needed using RequireJS.
  • Angular has filters which are standalone functions separated from the app and are used for performing data transformations.
  • Angular allows us to implement complex applications with less code.
  • Angular supports single-page applications.

Debugging is quite complicated in AngularJS. This is the main drawback of AngularJS. When compared to the advantages of Angular, this drawback is negotiable. Hope this post gave a brief introduction about this emerging technology.

References: