On Mon, Nov 17, 2008 at 10:42 PM, Clodoaldo Pinto Neto
<[EMAIL PROTECTED]> wrote:
>
> 2008/11/17 Graham Dumpleton <[EMAIL PROTECTED]>:
>>
>> Hmmmm, someone else who thinks they can do better than what is out
>> there for Python support in conjunction within Apache.
>>
>>  http://blog.code-head.com/lets-make-python-web-friendly
>
> There is nothing there other than vapor, if that much. One thing he
> has already demonstrated: he has no clue about CGI and mod_python.

While I agree with you on the cluelessness of that post, I do agree
with some of the points there.

If I understand his post correctly, he is setting out to bring
complete and total simplicity to the deployment of Python-based web
apps. That is, write a Python app. Upload it to server and it runs. No
frills, no conventions to follow, no standards to adhere to. No
fiddling around with Apache configuration files. No need for root
access to the server.

This is why PHP is so popular especially for noobs. The idea that you
can write a dynamic web-based application without caring about things
like the CGI standard. There is no need to import any special module
(import cgi). There is no need to adhere to conventions (def
application()) to get things to work properly. No need to fiddle
around with Apache configuration files to get URL-to-app mappings
(WSGIScriptAlias).

He just wants to upload a Python program and go. He wants to be able
to say print "Hello World" without having something on the server say,
"No I can't let you do that, Dave.". In mod_wsgi, if you wanted to do
that you need to set WSGIRestrictStdin off, something you cannot do if
you don't have root access to the server.

Horror of horrors, maybe he wants to be able to have <?py print "Hello
World" ?>. As far as I know there is nothing out there that lets you
do it that simple. In mod_python you still need to write a handler and
pass content to the psp module.

In other words, he wants to turn Python into a preprocessing language
in the same vein as PHP. If he pulls it off, then good for him.
-- 
Best Regards,
Nimrod A. Abing

W http://arsenic.ph/
W http://preownedcar.com/
W http://preownedbike.com/
W http://abing.gotdns.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to