Ayo Softech

Wednesday 4 February 2015

What is AngularJS?

AngularJS is a JavaScript framework for organizing HTML code in a more structural, clear and succinct mode. This client-side technology provides easy and light code in order to make developing and even designing as a simple task. AngularJS eliminates most of redundant code specially in CRUD web application. It is a MV(Whatever you like) pattern and not just a MVC.
There are two kinds of accessories which help us to make a bridge between user interface and the core of business and data layer.
Library: These types are set of functions such as JQuery and whenever you use some of them ($.ajax) it will call related function to handle functions.
Frameworks: These types are specific structure for implementation application and developer have to follow these structure. Such as durandal and ember.
AngularJS has different approach to work out our needs, angular embeds new properties inside HTML tags such as “ng-model”, “ng-repeat” which are known as Directives in order to fade our barriers to match and transform data.
On the other hand AngularJS has mingled Ajax and HTML DOM in a good structure which I will describe it more as follow:

Angular Advantages:
  1. It is very good for CRUD web application
  2. It makes testing easy in CRUD web application
  3. You need to write less code
  4. You can run your code more quickly
  5. One of the most popular and famous features in the AngularJS is two way and simple binding
    <input type="text" ng-model="simpleBinding" /><span>{{simpleBinding}}</span>
  1. You do not need to modify HTML DOM
  2. By the aid of directives your tasks are more easy and time saving
  3. By its architecture in MVC or in the better word MVW, decoupling is real and excellent

1 comment:

  1. Thank you for sharing this knowledge in a blogpost.Really simple and even more effective and this worked great, very useful tips
    Angularjs Training In Hyderabad

    ReplyDelete