the-benchmarker / web-frameworks

Which is the fastest web framework?
MIT License
6.99k stars 669 forks source link

Clarify readme #3639

Closed waghanza closed 3 years ago

waghanza commented 3 years ago

There is an open discussion made on https://github.com/the-benchmarker/web-frameworks/discussions/3641#discussion-81919 to collect everyone's idea / clarify README


Any feedback is welcome @the-benchmarker/web-frameworks ❤️

System-Glitch commented 3 years ago

A definition of framework in that case would be that it has more than one purpose. For example, gorilla/mux is not a framework because its only purpose is routing, therefore, it is a library.

My own definition differs but I don't think there is any real consensus over the exact meaning of "framework". In my opinion, a framework is necessarily opinionated, because of the etymology of the word "framework".

I like your definition initiative, because it is important to think about what the library/framework does in the background while checking the results. It is normal that a full-stack framework is slower than a micro library. Adding this kind of information or grouping each type of library/framework together in the results would make them more relevant. 👍🏻

Edit: This conversation would be suited for the new Github Conversation feature.

dominikzogg commented 3 years ago

@waghanza i like the categories chubbyphp for example would be micro, non opiniated

@System-Glitch my opinion is the following: framework => calls your code library => get called by your code

Router itself can be a library, the code code calling the controller/action what ever would be a framework by that definition.

waghanza commented 3 years ago

Edit: This conversation would be suited for the new Github Conversation feature.

👍 feel free to open one

System-Glitch commented 3 years ago

Edit: This conversation would be suited for the new Github Conversation feature.

+1 feel free to open one

You need to enable Discussions in the repository settings first.

waghanza commented 3 years ago

Edit: This conversation would be suited for the new Github Conversation feature.

+1 feel free to open one

You need to enable Discussions in the repository settings first.

I opened https://github.com/the-benchmarker/web-frameworks/discussions/3641#discussion-81919 @System-Glitch