3 ms·
You call a library, but a framework calls you. A framework IS the entry point to your application. If you use libraries you write your own entry point.
by iopq 12y ago
You call a library, but a framework calls you.
A framework IS the entry point to your application. If you use libraries you write your own entry point.
- andybak 12y agoAnd there's exceptions to each case. I can see the distinction that people are trying to make here but it's far from a binary one.
- deleted 12y ago[deleted]
- wedesoft 12y agoYes, if a library is implemented in a language which supports closures, the difference between it and a framework starts to vanish.
- adamnemecek 12y agoCan you name some of these exceptions?
- maemre 12y agoIn Flask, you call the framework, then it calls you back etc. It is a minimal framework that you can use as a library along other "plugins" (which are libraries in fact) you like.