Skip to main content

Is jQuery a framework or a library? Discuss.

The very definition of library and framework in JavaScript is quite inseparable. By definition, a library is one which helps you write code faster and probably better without affecting your codding style or adding effects.

On the other hand a framework is something that usually forces a certain way of implementing a solution, wheres J Query is just a tool to make implementing what you want to do easier. It largely affects your coding patten.

Now consider J Query, It can be library as it's mostly  assist your coding without affecting. Or it can be framework as it allows you to writes small set of codes to achieve likes of animations.

Comments

Popular posts from this blog

Events supported by jQuery and benefits of using jQuery event handling over HTML event attributes

One of the main benefits of using jQuery event handlers are that they can be set on elements, which will then be triggered by different events. for example: Below are some of the events supported by jQuery:

Discuss the selectors and their use in jQuery

J Query selectors allow you to select and manipulate HTML elements. All selectors in J Query start with the dollar sign and parentheses: $(). The element selector The J Query element selector selects elements based on the element name. - $("p") The #id selector #id selector uses the id attribute of an HTML tag to find the specific element. - $("test") The .class selector .class selector finds elements with a specific class. - $(".test") More Examples of J Query Selectors

References

https://stackoverflow.com/questions/7062775/is-jquery-a-javascript-library-or-framework# https://www.quora.com/Is-jquery-a-library-or-framework https://www.quora.com/What-is-the-advantages-disadvantages-between-Angular-JS-and-JQuery https://softwareengineering.stackexchange.com/questions/166273/advantages-of-using-pure-javascript-over-jquery https://www.quora.com/What-are-the-disadvantages-of-jQuery https://www.programering.com/a/MTM0gTNwATQ.html https://www.w3schools.com