A framework specific is made for a specific language. I don’t know if you can say "based on a language," it depends on the interpretation of what this means, but generally speaking, this is not the correct term.
Already exists an answer for the second part of the question. And based on it we can say that a framework It’s just a library with a specific philosophy. And a library is just a collection of algorithms and data structures written in a language to perform some task. In some cases this task is to facilitate the use of language, as in the case of jQuery, but it is not always the case.
Note that according to the official page and understanding of most programmers, jQuery is a library and not a framework, therefore I consider all the statement incorrect.
jQuery is a library written in Javascript (or for Javascript)
I take this opportunity to make it clear that jQuery is also not a programming language, as many think.
The link you linked was very useful, I was able to understand the difference. So jQuery is not a framework because you don’t work on it, you just "use it," right?
– Rafael Almeida
That’s it. And in fact his creators make it clear.
– Maniero
Perfect, and it’s even because of that that some programmers are told to stop with the "freshness" of wanting all Javascript to be "converted" to jQuery, because all jQuery code is Javascript. Thank you.
– Rafael Almeida
@Rafaelalmeida It is not freshness, it is the great and correct saying of not having to reinvent the wheel when making a car. If in your application you are often manipulating DOM elements, jQuery is almost always the best option, since it has a wide community, well defined documentation, good performance and is rich in functionality.
– LF Ziron
@Lfziron I disagree radically, but I will not go into details not to provoke a discussion, after all is not our goal here. I just don’t want to let the people who are reading here think that.
– Maniero
@Yeah, thanks for the fix. I think by summarizing, I ended up saying in a very generic way about the use of a library, something that should be well studied before starting the project. Rectifying myself, I will leave the article below that has a neutral point on the subject, so that I can clarify to those who read: http://www.revista-programar.info/artigos/jquery-usar-ou-nao-use/
– LF Ziron