florimondmanca / www

Code for https://florimond.dev
MIT License
32 stars 10 forks source link

How I Built A Python Web Framework And Became An Open Source Maintainer #131

Open utterances-bot opened 4 years ago

utterances-bot commented 4 years ago

How I Built A Python Web Framework And Became An Open Source Maintainer

Inspirational thoughts and tips on starting and managing an open source project, based on my experience building Bocadillo, an asynchronous Python web framework.

https://florimond.dev/blog/articles/2018/12/how-i-built-a-web-framework-and-became-an-open-source-maintainer/

Matti50 commented 4 years ago

Hi! greetings from Argentina. It's really cool to see this kind of content on the Internet, specially for the ones (such as me) enjoys object-oriented programming. I wondered how did you learn about frameworks? Did you read any book during the development process or did you just read through Flask or Django repos for instance? I would really apreciate it if you could tell me where to start. Greetings!

florimondmanca commented 4 years ago

@Matti50 Hi! As far as I can remember, when starting work on Bocadillo my inspiration had come from reading the actual source code from frameworks, in particular Responder and Starlette.

I had used Django a fair bit before that, and still haven't gone through its source code except for specific bits. :-) The good thing about Starlette and Responder is how simple and small the source code is compared to a behemoth like Django, or a decade-old framework like Flask. Another lovely candidate is Falcon. For such small and "modern" frameworks, things feel fresh and simple. Not much grunt due to supporting old Python versions, or years of keeping backwards compatibility. :-)

So yup, reading the source code of recent frameworks is a great way to learn about the fundamental inner workings of a framework!