JavaScript framework

A JavaScript framework is a web application framework 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


This article is issued from Wikipedia - version of the Thursday, March 17, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.