AngularJS Web Application Framework
AngularJS is a Java Script
library that acts as a structural framework to develop dynamic web
applications. AngularJS is licensed under the Apache version 2.0 license. It is
open source and free which can be used by most of the developers around the
world. AngularJS uses HTML as the template language and extends HTML's syntax
to develop components of web application clearly and easily. AngularJS follows Model
View Controller (MVC) architecture so that developers can write client side applications
using JavaScript in a clean way. AngularJS is a helpful web framework to develop
Rich Internet Applications (RIA). AngularJS automatically handles JavaScript
code suitable for each browser; it means that it is a cross-browser compliant
framework. AngularJS can be used to maintain web applications easily and build
large scale web applications with high performance.
Let’s take a look at the features
of AngularJS,
Feature
|
Description
|
Data binding
|
Data binding
is the process of synchronizing data between model and view components of MVC
architecture automatically.
|
Scope
|
Scope considered as an object
that refers to the model. It acts as a link between controller and view of
MVC architecture.
|
Controller
|
Controllers
are JavaScript functions attached to a particular scope.
|
Services
|
Services are singleton
objects which are instantiated only at one time in an application. AngularJS consists
of built-in services like $http.
|
Filters
|
Filters
choose required items as a subset of items from an array and return a new
array.
|
Directives
|
Directives are mainly
used to create customized HTML tags and they act as markers on Document
Object Model (DOM). AngularJS has built-in directives as well.
|
Templates
|
Templates
are used to render view with data from the controller and model.
|
Routing
|
Routing used to switch
views.
|
Deep Linking
|
Deep
linking used to encode the state of application in the URL. Then application
can be restored from the URL to the same state.
|
Dependency Injection
|
Built-in dependency
injection subsystem helps the developer to create, understand and test the
applications easily.
|
Advantages of AngularJS
§ AngularJS
facilitates data binding to HTML increasing responsiveness of the application.
§ AngularJS
facilitates to create clean and maintainable Single Page Application.
§ AngularJS
facilitates unit testing of the code.
§ AngularJS
facilitates to complete functions with short codes due to reusable components.
§ AngularJS
applications run on different browsers and different operating systems.
Disadvantages of AngularJS
§ AngularJS
applications are not secure because it uses only the JavaScript framework. To
keep these applications secure, application should have server side authentication
and authorization.
§ AngularJS
applications are not degradable because if JavaScript is not supportive, then nothing
displayed on the user interface except the basic page.
Comments
Post a Comment