JavaScript framework

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

A JavaScript framework is a web application framework[disambiguation needed] written in JavaScript and it differs from a JavaScript library.[1][2] A library offers a lot of useful predefined functions that you can call to improve and expand your application. A framework describes you the structure of the application and gives you a way to organize your code to make your app more flexible and scalable. You can't call a framework, but it is the framework that will call and use your code in some particular way.[3]

JavaScript frameworks are usually based on the MVC architectural pattern because they are also designed to separate the different aspects of a web application to improve the quality of your code and to make the developing easier.

Some famous examples of a JavaScript framework with a MVC architecture are AngularJS and Ember.js.

See also

References

<templatestyles src="Reflist/styles.css" />

Cite error: Invalid <references> tag; parameter "group" is allowed only.

Use <references />, or <references group="..." />


<templatestyles src="Asbox/styles.css"></templatestyles>

  1. http://www.c-sharpcorner.com/UploadFile/a85b23/framework-vs-library/
  2. http://stackoverflow.com/questions/11576018/what-is-the-difference-between-a-javascript-framework-and-a-library
  3. http://martinfowler.com/bliki/InversionOfControl.html