Python Forum
Python web app implementation - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html)
+--- Thread: Python web app implementation (/thread-27113.html)



Python web app implementation - Shruthi - May-26-2020

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


RE: Python web app implementation - ndc85430 - May-26-2020

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.


RE: Python web app implementation - snippsat - May-26-2020

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.