Jun-01-2017, 05:39 AM
(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.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.
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
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.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.