Actions

  Print Article
  BookMark Article

Categories    Category List

  Advice
  Aging
Arts
  Arts And Crafts
  Ask An Expert
  Automotive
  Banking
  Break-up
  Budgeting
Business
  Business Management
  Cancer Survival
  Career
Cars And Trucks
  Casinos
  Causes And Organizations
  Cell Phones
  Cheating
  College And University
Computers
  Computers And Technology
Cooking
Crafts & Hobbies
  Culture
Culture And Society
Current Affairs
  Dating And Relationships
  Death
Disease & Illness
  Domain Names
  Drop Shipping
  E-Commerce
  Electronics
Entertainment
  Environment
  Etiquette
  Ezines And Newsletters
  Family Concerns
Fashion
  Fiction
Finance
  Finances
  Financial Planning
  Food And Drinks
  Forums
  Gadgets And Gizmos
  Gambling
Gardening
Health & Fitness
Home
Home & Family
  Home Business
  Home Improvement
  Home Management
  Human Resources
  Import Export
  Infants And Toddlers
  Innovation
  Inspirational
  Insurance
  Intellectual Property
Internet
Internet Business
  Jobs
  K-12
  Medical Business
  Medicines And Remedies
Men Only
  Motivational
Motorcycles
  Nature
  Opinions
Our Pets
  Personal Development
  Pets And Animals
  Podcasting
  Pregnancy And Family Pla
  Presentation
Product Reviews
  Quotes
  Recreation
Recreation & Sports
  Recreation And Leisure
Reference & Education
Relationship
  Religion And Spiritualit
  Screenplay
  Search Engines
  Self Help
Self Improvement
  Selling
  Shopping
  Short Stories
  Society
  Speaking
  Sports
  Structured Settlements
  Supplements And Vitamins
  Team Building
  Technology
  Telecommuting
  Telesales
  Television
  Tools & Resources
  Travel
Travel & Leisure
  Video
  Web Development
Weddings
  Wellness, Fitness And Di
  Womens Interest
  Work Life Balance
  World Affairs
Writing & Speaking

Online Now    Online Now

Guests Online (111)

Baiduspider (33)

Bing (3)

Googlebot/2.1 (3)

Baiduspider (1)

Bing (1)

Yandex (Russia) (1)

Author Login    Author Login

Welcome Guest! Please login or create an account.

Username:

Password:



If you do not have an account yet, you can register ( Here ), or you may retrieve a lost user/pass ( Here ).

Navigation    Navigation

   10 newest articles RSS

Author Highlights    Featured Author

Joe Barclay
Chestertown

View My Bio & Articles


Anthony Taylor
city

View My Bio & Articles


Darrell Williams
Edmonton

View My Bio & Articles


DisclosureDisclosure

You should assume that the owner of this website is an affiliate for the provider of goods/services mentioned on this website. Sometimes the owner may get paid a commission if you purchase the product when following a link.

What Is The Philosophy Of Angular?

Author : Diatom Mobile

Submitted : 2013-08-29 00:00:00    Word Count : 941    Popularity:   1

Tags:   HTML5, AngularJS, single-page applications

Author RSS Feed   Author RSS Feed

What is the philosophy of Angular?

AngularJS is built around the belief that declarative programming should be used for building UIs and wiring software components, while imperative programming is excellent for expressing business logic. The framework adapts and extends traditional HTML to better serve dynamic content through two-way data-binding that allows for the automatic synchronization of models and views. As a result, AngularJS deemphasizes DOM manipulation and improves testability.

AngularJS design goals:



Angular follows the MVC pattern of software engineering and encourages loose coupling between presentation, data, and logic components. Using dependency injection, Angular brings traditional server-side services, such as view-dependent controllers, to client-side web applications. Consequently, much of the burden on the backend is reduced, leading to much lighter web applications.

Why have we chosen AngularJS?

Well, HTML is great for declaring static documents, but it falters when we try to use it for declaring dynamic views in web-applications. AngularJS lets us extend HTML vocabulary for our applications. The resulting environment is extraordinarily expressive, readable, and quick to develop. AngularJS is a great JavaScript framework that has some very compelling features for not only developers, but designers as well:

Two way data-binding

Data-binding is probably the coolest and most useful feature in AngularJS. It saves us from writing a considerable amount of boilerplate code. A typical web application may contain up to 80% of its code base, dedicated to traversing, manipulating, and listening to the DOM. Data-binding makes this code disappear, so we can focus on the application.

Templates

In AngularJS, a template is just plain-old-HTML. The HTML vocabulary is extended, to contain instructions on how the model should be projected into the view. The HTML templates are parsed by the browser into the DOM. The DOM then becomes the input to the AngularJS compiler. AngularJS traverses the DOM template for rendering instructions, which are called directives. Collectively, the directives are responsible for setting up the data-binding for the application view.

MVC

AngularJS incorporates the basic principles behind the original MVC software design pattern into how it builds client-side web applications. The MVC or Model-View-Controller pattern means a lot of different things to different people. AngularJS does not implement MVC in the traditional sense, but rather something closer to MVVM (Model-View-ViewModel).

Dependency Injection

AngularJS has a built-in dependency injection subsystem that helps our developers by making the application easier to develop, understand, and test. Dependency Injection (DI) allows us to ask for application dependencies, rather than having to go look for them or make them yourself.

Directives

Directives can be used to create custom HTML tags that serve as new, custom widgets. They can also be used to “decorate” elements with behavior and manipulate DOM attributes in interesting ways.

and + Extensibility

AngularJS is a toolset for building the framework most suited to your application development. It is fully extensible and works well with other libraries. Every feature can be modified or replaced to suit your unique development workflow and feature needs.

Are there any alternatives for AngularJS?

The one of the known alternative for the AngularJS is the Backbone.js. The most prominent feature that separates the two libraries is in the way models and views are synchronized. Whereas AngularJS supports two-way data-binding, Backbone.js relies heavily on boilerplate code to harmonize its models and views. Backbone.js communicates well with RESTful backend. A very simple use of REST APIs is also available with AngularJS using the $resource service. AngularJS also provide a $http service which is more flexible, connecting to remote servers either through a browser's XMLHttpRequest object or via JSONP. AngularJS templating uses a combination of customizable HTML tags and expressions. Backbone.js uses different templating engines such as Underscore.js.

Other frameworks deal with HTML’s shortcomings by either abstracting away HTML, CSS, and/or JavaScript or by providing an imperative way for manipulating the DOM. Neither of these address the root problem that HTML was not designed for dynamic views.

What do you think would be great to see in AngularJS framework?

Well, AngularJS has pretty many nice things that considerably simplify the development, although later we may come to:

Why wouldn’t we rewrite all our web sites on AngularJS?

The main reasons we did not go all the way with AngularJS are:

Author's Resource Box

http://www.diatommobile.com/
Takhir Mamirov has more than 10 years of web/client-based software development experience in a variety of areas such as real estate applications, Forex market trading systems and CRM. In the last 6 years he grew from QA-responsible person up to experienced and proficient project manager with skills to cope with the non-typical tasks.

Article Source:
www.1ArticleWorld.com

 

  Report Article
Badly Written Offensive Content Spam
Bad Author Links Mis-spellings Bad Formatting
Bad Author Photo Good Article!