The difference between Frameworks and Libraries
Often when discussing any programming related technology, the words Frameworks and Libraries are used interchangeably. However, there is a difference between the two. A library is a collection of functions which your code can call whenever it needs them. Libraries can save lots of time by providing pre-written code for commonly used functions.
A framework is often a collection of software libraries which provide a proper, defined interface to application programming (i.e. creating apps). Frameworks are different from libraries due to some unique features like inversion of control. This basically means that in a framework, unlike in libraries or normal user applications, the overall program’s flow of control is not dictated by the caller, but by the framework.
Angular even lets you create new HTML elements, using a feature called directives. Components are one of the most useful features of AngularJS. Using Components you can create code that is easily reusable. It also lets you hide complex DOM structures, CSS, and behaviors.
[vc_button title=”Visit Site” target=”_blank” color=”default” size=”size_small” href=”https://angularjs.org”]
One of 2015’s most popular frameworks, Backbone.js, as the name suggests, gives structure to web applications. Backbone uses data represented in models. Models can be created, validated, destroyed and saved to the server. UI actions cause changes to the models, and when this happens the Views which display the models’ state get re – rendered.
You can read more about how models, key-value bindings, and views (which can perform declarative event handling) come together to form Backbone’s API, in their documentation.
[vc_button title=”Visit Site” target=”_blank” color=”default” size=”size_small” href=”http://backbonejs.org/”]
Ember uses jQuery to fetch data models from the server, so if you know jQuery, you can easily retrieve JSON stored on the server.
[vc_button title=”Visit Site” target=”_blank” color=”default” size=”size_small” href=”http://emberjs.com/”]
[vc_button title=”Visit Site” target=”_blank” color=”default” size=”size_small” href=”http://knockoutjs.com/”]
[vc_button title=”Visit Site” target=”_blank” color=”default” size=”size_small” href=”http://getskel.com/”]
[vc_button title=”Visit Site” target=”_blank” color=”default” size=”size_small” href=”http://jquery.com”]
Additionally, Modernizr also supports a script loader, so you can use polyfills to support some never functionalities to an older browser.
[vc_button title=”Visit Site” target=”_blank” color=”default” size=”size_small” href=”http://modernizr.com/”]
[vc_button title=”Visit Site” target=”_blank” color=”default” size=”size_small” href=”http://mootools.net/”]
[vc_button title=”Visit Site” target=”_blank” color=”default” size=”size_small” href=”http://yuilibrary.com/”]
[vc_button title=”Visit Site” target=”_blank” color=”default” size=”size_small” href=”http://dojotoolkit.org/”]
SEE ALSO: Best Free PHP Frameworks for 2015
If you have any suggestions regarding this article, please leave it in the comments below.