Answer the question
In order to leave comments, you need to log in
Do I understand the definition of libraries and frameworks correctly?
5 newbie questions about libraries and frameworks
Hello! I read and study a lot of python (web development - back-end), but nevertheless, I could not find answers to seemingly simple questions, in this regard, I will ask you to confirm / refute some of my guesses, and answer some questions. Thanks in advance to everyone who responded and explained)
1. As I understand it, a library is just a set of functions (usually solving a certain range of tasks, for example: the HTTP library actually gives functions for working with HTTP)
2. A framework is a library of libraries that also dictates the rules of architecture (that is, the framework already has a library for working with HTTP, for working with a database, that is, all the functions that can be useful for writing a server, and besides, there is a clear architecture that implements one or another design pattern)
3. What is the standard library of the language? Are these the basic functions that the creators of the language gave to programmers?
4. Do I understand correctly that all libraries and frameworks are based on standard libraries?Instead of five functions from the standard library, is it easier to write one from the user? That is, the standard libraries are, let's say, the basis on which everything is based? And if there is no functionality in the standard libraries, then it is unrealistic to implement it?
5. Do I understand correctly that you first need to familiarize yourself (at least just read and understand the functions that are in the standard library) with the standard library of the language in the area where I want to work? (For example, a backend programmer must be able to work with HTTP , with a database, etc.) because all libraries and frameworks are based on this? Or can you immediately learn the framework?
6. API is an external interface. That is, in fact, it is also a library only for working with some kind of service or technology?
Answer the question
In order to leave comments, you need to log in
in general - everything is correct.
Besides
6. API is an external interface, that is, in fact, it is also a library only for working with some kind of service or technology?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question