Monday, January 27, 2014
Due to all these reasons, client side languages like JS and Jquery are used. As websites are mostly browser/ device dependent, so JS is heavily used. This can impact loading time and performance of the website. To overcome this, many JS frameworks and libraries are launched in the market. All these have their own pros and cons.
Difference between Framework and library.
A library is essentially a set of functions that you can call, these days usually organized into classes. Each call does some work and returns control to the client.
A framework embodies some abstract design, with more behavior built in. In order to use it you need to insert your behavior into various places in the framework either by subclassing or by plugging in your own classes. The framework's code then calls your code at these points.