Python Forum

Full Version: Python web app implementation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am doing a POC to create a webpage to upload an image file and save the file in RDBMS using python code.
Can I do this without any framework ?
I don't want to append much time to set up learn any framework to implement this , I need to easy and quick way of doing the POC.
Kindly suggest me the approach
You'd find it more work if you didn't use a framework. Think about it, you'd need to implement routing, form handling, templating, creating and sending the HTTP responses and lots more things besides. Consider a small framework like Flask or Bottle.
The old way of doing CGI(no framework) is dead in Python,the new way is using WSGI(not directly).
The way is using a thinner layer above WSGI like eg Flask then is close to HTML/CSS with very little overhead,simper and much powerful than the old CGI way.