JavaScript framework

From Wikipedia, the free encyclopedia
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[edit]