Angularjs-JavaScript MVC Framework

Source: Internet
Author: User

Angularjs is a structural framework for Dynamic Web apps. it lets you use HTML as your template language and lets you extend HTML's syntax to express your application's components clearly and succinctly. out of the box, it eliminates much of the code you currently write throughData BindingAndDependency Injection. And it all happens in javascript within the browser making it an ideal partner with any server technology.

Angular is what HTML wowould have been had it been designed for applications. HTML is a great declarative language for static documents. it does not contain much in the way of creating applications, and as a result Building Web applications is an exercise inWhat do I have to do, So that I trick the browser in to doing what I want.

The impedance mismatch between dynamic applications and static events ents is often solved:

  • Library-A Collection of funich which are useful when writing web apps. Your code is in charge and it callinto the library when it sees fit. E. g., jquery.
  • Frameworks-A particle implementation of a web application, where your code fills in the details. the framework is in charge and it callinto your code when it needs something app specific. e. G ., knockout, sproutcore, etc.

Angular takes another approach. it attempts to minimize the impedance mismatch between document centric HTML and what an application needs by creating new HTML constructs. angular teaches the browser new syntax through a construct we call ctictives. examples include:

  • Data Binding as in {{}}.
  • Dom control structures for repeating/hiding Dom fragments.
  • Support for forms and Form validation.
  • Attaching code-behind to DOM elements.
  • Grouping of HTML into reusable components.

For more information, see http://jack-fx.com/net/2013/05/29/angularjs-a-perfect-javascript-mvc-framework/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.