Jul 31, 2015

AngularJS Intro..!!

AngularJS is an open-source JavaScript framework developed by Google. 
It helps you to create single-page applications or one-page web applications that only require HTML, CSS, and JavaScript on the client side.
 It is based on MV-* pattern and allow you to build well structured, easily testable, and maintainable front-end applications.

AngularJS has changed the way to web development. It is not based on jQuery to perform its operations. In spite of using ASP.NET Web form, ASP.NET MVC, PHP, JSP, Ruby on Rails for web development, you can do your complete web development by using most powerful and adaptive JavaScript Framework AngularJS. There is no doubt, JavaScript frameworks like AngularJS, Ember etc. are the future of web development.

Why Angular JS?

There are numerous of reasons to choose AngularJS as you web development framework. Some of them are listed below:
  1. It is based on MVC pattern which helps you to properly organize your web apps or web application.
  2. It extends HTML by attaching directives to your HTML markup with new attributes or tags and expressions in order to define very powerful templates.
  3. It also allows you to create your own directives, crafting reusable components that fill your needs and abstracting away all the DOM manipulation logic.
  4. It supports two-way data binding i.e. connects your HTML (views) to your JavaScript objects (models) seamlessly. In this way your model will be immediately reflected into your view without the need for any DOM manipulation or event handling (with jQuery).
  5. It encapsulates the behavior of your application in controllers which are instantiated with the help of dependency injection.
  6. It supports services that can be injected into your controllers to use some utility code to fulfill your need.
    For example, it provides $http service to communicate with REST service.
  7. It helps you to structure and test your JavaScript code very easily.
  8. Also, AngularJS is mature community to help you. It has widely support over the internet.

    hy this is called AngularJS

    Html has angle brackets i.e. <,> and ng sound like Angular. That’s why it is called AngularJS

    AngularJS Developmet IDE

    AngularJS development can be done with the help of following IDEs.
  • Visual Studio 2012, 2013, 2015 or higher
  • Eclipse
  • WebStorm
  • Sublime Text
  • TextMate

Note

  1. AngularJS has no dependency on jQuery library. But it can be used with jQuery library.
  2. By default AngularJS use jQLite which is the subset of jQuery. If you want to use jQuery then simply load the jQuery library before loading the AngularJS. By doing so, Angular will skip jQLite and will started to use jQuery library.

Browser support

The latest version of AngularJS 1.3 support Safari, Chrome, Firefox, Opera 15+, IE9+ and mobile browsers (Android, Chrome Mobile, iOS Safari, Opera Mobile).
AngularJS 1.3 has dropped support for IE8 but AngularJS 1.2 will continue to support IE8

No comments:

Post a Comment