AngularJS, An Introduction of Web Framework

  • Controller functions provided by JavaScript are bound to a particular scope and Services are objects singleton in nature which is instantiated only once during the run time of the application and has many inbuilt services.
  • The concept of switching views is called Routing and MVC is a design pattern for dividing an application into different parts (called Model, View, and Controller), each with significant functions.
  • AngularJS is a JavaScript-based open-source front-end web application framework that extends HTML attributes with Directives and binds data to HTML with Expressions.
  • It has three parts to link to HTML, ng-app to link an AngularJS application to HTML, ng-model − to bind the values of AngularJS application data to HTML input controls and ng-bind to bind the AngularJS Application data to HTML tags.
  • AngularJS extends HTML vocabulary for an application.

AngularJS was originally developed by Misko Hevery and Adam Abrons in 2009 and is currently being maintained by Google. The latest version of AngularJS is 1.4.3, is licensed under the Apache License version 2.0. It is a structural framework for dynamic web apps. It is a powerful development framework to create Rich Internet Application(RIA) and write client-side applications. It makes applications cross-browser compliant and handles JavaScript code suitable for each browser. It has many core features which make it widely used.

@Emveep_com: AngularJS gives the ability to make Single Page Application in a spotless and viable way.

AngularJS was originally developed by Misko Hevery and Adam Abrons in 2009 and is currently being maintained by Google. The latest version of AngularJS is 1.4.3, is licensed under the Apache License version 2.0. It is a structural framework for dynamic web apps. It is a powerful development framework to create Rich Internet Application(RIA) and write client-side applications. It makes applications cross-browser compliant and handles JavaScript code suitable for each browser. It has many core features which make it widely used.

Data-binding encourages the automatic synchronization of data between model and view components and scope to defines objects that refer to the model and act as a glue between controller and view. Controller functions provided by JavaScript are bound to a particular scope and Services are objects singleton in nature which is instantiated only once during the run time of the application and has many inbuilt services.

Filters select a subset of items from an array and return a new array while Directives are markers on Data Object Model elements which are useful in creating custom HTML tags that serve as new, custom widgets. AngularJS has built-in directives called Templates which are the information provided by the controller in a rendered view and can be single or multiple views using partials.

The concept of switching views is called Routing and MVC is a design pattern for dividing an application into different parts (called Model, View, and Controller), each with significant functions. AngularJS implements MVVM (Model-View-View Model) traditionally and not the MVC architecture. The Angular JS team refers it as Model View Whatever humorously. Deep Linking allows one to encode the state of an application in the URL then be restore from the URL to the same state while Dependency Injection helps the developer by making the application easier to develop, understand, and test.

AngularJS is a JavaScript-based open-source front-end web application framework that extends HTML attributes with Directives and binds data to HTML with Expressions. It has three parts to link to HTML, ng-app to link an AngularJS application to HTML, ng-model − to bind the values of AngularJS application data to HTML input controls and ng-bind to bind the AngularJS Application data to HTML tags.

Why AngularJS?

HTML is highly efficient for the development of static documents, but it fails at some points when used for declaring dynamic views in web-applications. AngularJS extends HTML vocabulary for an application. The resulting environment is remarkably expressive, coherent, and fast to create.

AngularJS is a toolset for building an application framework. It is highly extensible and can work well with other libraries. Each feature can be modified as per the applications requirement and future perspective.

RequireJS an extension to AngularJS is a JavaScript file and a module loader. It accomplishes the tasks which cannot be completed by AngularJS. RequireJS reduces the problem of loading a lot of JavaScript modules in correct order. Required modules can be loaded asynchronously; and can be combined from a number of modules into a single compact JavaScript file.

The main advantages of AngularJS are as follows:

Being a very powerful framework, AngularJS has some limitations, which are as follows:

AngularJS, An Introduction of Web Framework

You might also like More from author

Comments are closed, but trackbacks and pingbacks are open.