In the field of computer science , libraries or libraries are collections of resources and implementations that are encoded in a certain programming language and that are functional. A programming language , meanwhile, is a formal language that details instructions to a computer to produce different data.
jQuery , in short, offers “prefabricated” functions that can be used on the web pages : some are free and others require payment. With jQuery it is possible to incorporate an image gallery, create transition effects between pages or establish a drop-down menu, for example.
jQueryEach function has demonstrations, configuration options, the explanation to implement and the files to be downloaded. That is why jQuery is very popular among website developers .
That said, the many advantages that jQuery offers us when developing a project are balanced with its disadvantages, which tend to go unnoticed thanks to the publicity made by its defenders. The main one is the same one that exists with any package: the lack of control for the user. Although jQuery is open source, when we download some of its many functions we do not know it beforehand, we have not developed it and we do not know all the processes that it performs in the background but we simply want it to help us achieve a certain objective.
Suppose we want to make an image gallery for our website, but we don’t have the time or experience to give it some sophisticated touches. We want to make it possible to enlarge each image to observe it in detail and then return it to its original size by pressing a cross, arrows appear at its sides dynamically to see one after another, that there is a blur effect to hide those that are not active and that there is the option of automatic presentation of the entire gallery, that is to say that they pass one by one with a delay of a few seconds. We refer to the huge list of resources of jQuery and find what we were looking for, but sooner or later an unforeseen arises .