Tuesday, 28 February 2017

AngularJS Introduction

AngularJS is a structural Client side JavaScript Framework for develops Powerful Web Applications. It Supports MVC pattern in Front-end Applications. AngularJS use HTML as Template (view) Language. Also AngularJS allows users to extend existing HTML syntax to access many built in Function. Its called as Directives.

AngularJS is complete client side solution and this application only runs through web browsers only. AngularJS was Developed by Misko Hevery a Google Employee and Maintained by Google. Its also called as Single Page Application (SPA).

There are plenty of Front-end frameworks are available in the Web World. All the frameworks have some pros and cons. So the question may arise What’s special in AngularJS ?

Yes!! AngularJS allows its developer to write less code to get more functionality. Also it provides a magical function of Two-way Data Binding.

Most of the frameworks implement MVC by asking Developer to split the application in MVC components. Then the developer has to write the code to work together again. That’s a plenty of work. AngularJS implements MVC by asking Developer to split the application into MVC Components and then AngularJS do the Rest of the things. No need to write code again to work together again.

AngularJS have many directives and each directive do different functions. The amazing feature of Angularjs is you can call the function from your template. Since it supports two-way data binding. The directives allows you to use it as regular HTML Syntax.

AngularJS comes with many features.
1.     Two-way Data Binding.
2.     Provides more reusable components.
3.     You can create a template and you can reuse it in the application multiple times.
4.     Without writing a single code, you can validate the form even before you submit the form.
5.     You can directly call the business login from HTML using expression {{}}
6.     AngularJS allows you to control the complete HTML DOM structure.
7.     Starting an AngularJS Application is very easy.
8.     It support client side MVC Structure.
9.     In AngulrJS, your templates are treated as strings.
10. It provides plenty of Services, Directives, Filters, providers etc.,
11.Also it allows you to create custom services, directives, filters, providers etc.,

1.     Quick Start.
2.     Write less code for get more things.
3.     Time Saving.
4.     Better performance for large scale Applications.
5.     Rich UI.
6.     Fewer Codes.

To know more about the AngularJS, Please visit AngularJS all Topics.

Disadvantages of AngularJS

1. Confusion:

There are multiples ways to execute the same thing with AngularJS. So sometimes the developer may get confusion and hard to choose the better way.

2. Not afford for all the situations:

AngularJS is a framework of JavaScript, if someone’s browser disabled JavaScript means, the application is not Degradable. Then the user will get plain html page with raw AngularJs Code.

Just take a glance about the Booming framework Angularjs Here.