Pyramid does 22, but how do you do zero lines of python?
There is an article talking about how in a certain configuration the Pyramid python framework uses 22 lines of python for a hello world app.
How would your python web app run zero lines of code for a hello world? By pre-generating the html at startup - or at deploy time, and serving the generated data.
Beat that Pyramid! ;) 6 minute Abs.
This is a silly blog post - but also slightly serious. Uploading static data to serve is a very valid approach for a web framework. It's performance, security, and complexity benefits are quite big.
How would your python web app run zero lines of code for a hello world? By pre-generating the html at startup - or at deploy time, and serving the generated data.
Beat that Pyramid! ;) 6 minute Abs.
This is a silly blog post - but also slightly serious. Uploading static data to serve is a very valid approach for a web framework. It's performance, security, and complexity benefits are quite big.
Comments
22 lines of profile output == 22 python function calls > 22 lines of python