Introduction to AnjularJS
Anjularjs is a open source javascript
framework available as library by google for building dynamic web applications,
we have many more clientside javascript frameworks available like(knockout/backbone),
but anjularjs provides all together in single client side framework that is
anjularjs.
Dynamic content, Responsive UI, Ajax calls, MVC pattern (more
maintainable script/code/speration of concerns) for web applications
development done with the help of anjularjs framework.
Anjularjs giving more
strength to all html elements(input,select,img..ect) to get good dynamic
content update & behaviors with the
help of directives(html attributes/properties).
Importance of Anjular JS :
1.
MVC Pattern( speration of concerns:
Model,View,Controller) design pattern.
2.
Single page application(SPA) development.
3.
HTML DOM manipulation &
Data Binding,
Basic templating directives,
Form validations,
Routing,
Dependence injection are making web application development much easier
& rapid web app development.
4.
Anjularjs promots declarative web programming with
the help of attributes/directives.
MVC Pattern
Model : Responsiable
for holding data of web application or state of the
application.
View
: Presentation
of data.
Controller : Getting data( usually web
api/REST calls) for building Model object,which we are going to present it in UI.
Notes:
1. This demo "ng-app" is built in derictive module by anjularjs framework
2. Controller is not required for validate to expressions
3. Every expression should be placed between {{ expression }}
No comments:
Post a Comment