Is a framework based on a programming language?

11

I know that a framework is like an application to be used in applications, but is it correct to say that a framework is based on a certain language? Example:

  

jQuery is a JavaScript-based framework

And what's the difference of a framework for a library? Is there?

    
asked by anonymous 13.04.2015 / 03:54

1 answer

13

A specific framework is done for a specific language. I do not know if you can say "language-based". It depends on the interpretation of what this means, but in general this is not the correct term.

an answer already exists for the second part of the question. And based on it we can say that a framework is 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 the language, as in the case of jQuery, but this 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 in>, so I consider the whole statement to be incorrect.

  

jQuery is a library written in JavaScript (or for JavaScript)

I take this opportunity to make it clear that jQuery is not a programming language , as many find.     

13.04.2015 / 04:04