Python Forum
Thread Rating:
  • 2 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WSGI vs CGI
#10
(Jun-01-2017, 05:04 AM)wavic Wrote: 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
this all makes sense.  but i don't know if i need the framework now, or when i will need it in the future.  saying i can get hot water right from the wall so i don't have to trek through the mud outside, is detailed enough to tell me what kind of good thing i can have.  but i am still wanting to know enough specifics to change my 'no frameworks' decision.

so a framework is better. but is it 'for me', yet? i don't know.

FYI, where i live, we added broadband and wifi to our outhouses several years ago (running hot and cold water and electric heat and light were added decades ago).
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
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,492 Jul-10-2017, 01:31 AM
Last Post: Skaperen
  mod-wsgi Skaperen 2 3,878 Jun-06-2017, 05:12 AM
Last Post: Skaperen
  WSGI working examples Skaperen 1 3,524 May-29-2017, 10:45 AM
Last Post: snippsat
  trying to figure out WSGI Skaperen 10 7,978 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