Python Forum
Thread Rating:
  • 2 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WSGI vs CGI
#9
In the beginning was cgi, then wsgi. Well, the web frameworks are on the stage now. This is evolution. If the wsgi was the ultimate solutions, no one would try to create something like zope, flask, django and so on. All the hard work is done by someone else so now is easier for us to get the same as a result.

It looks like you want to have a hot water to deal with the dirty dishes by boiling a water in the backyard on open fire. But you have to take it to the kitchen after that. It's not an easy task and could be risky. You will attach some pipes to the boiler, some isolation. Finally, you will end with something that you already have. A hot water right from the wall.

Eventually, you will end with a web framework.

If all you need is just to serve a request you don't even need a web server like Apache. Just use sockets. Asyncio sockets

By the way, you may see bottle.py. It is a 'micro framework' and is a single file. Look at how is done. I may do it too. I am a little curios
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Messages In This Thread
WSGI vs CGI - by Skaperen - May-29-2017, 06:50 AM
RE: WSGI vs CGI - by snippsat - May-29-2017, 10:38 AM
RE: WSGI vs CGI - by Skaperen - May-31-2017, 02:19 AM
RE: WSGI vs CGI - by snippsat - May-31-2017, 01:56 PM
RE: WSGI vs CGI - by metulburr - May-31-2017, 04:50 PM
RE: WSGI vs CGI - by Skaperen - Jun-01-2017, 01:17 AM
RE: WSGI vs CGI - by metulburr - Jun-01-2017, 01:49 AM
RE: WSGI vs CGI - by Skaperen - Jun-01-2017, 02:23 AM
RE: WSGI vs CGI - by wavic - Jun-01-2017, 05:04 AM
RE: WSGI vs CGI - by Skaperen - Jun-01-2017, 05:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  mod-wsgi in apache Skaperen 4 4,488 Jul-10-2017, 01:31 AM
Last Post: Skaperen
  mod-wsgi Skaperen 2 3,871 Jun-06-2017, 05:12 AM
Last Post: Skaperen
  WSGI working examples Skaperen 1 3,517 May-29-2017, 10:45 AM
Last Post: snippsat
  trying to figure out WSGI Skaperen 10 7,973 Apr-30-2017, 10:00 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020