Deutsch   English   Français   Italiano  
<674cd15d@news.ausics.net>

View for Bookmarking (what is this?)
Look up another Usenet article

Message-ID: <674cd15d@news.ausics.net>
From: not@telling.you.invalid (Computer Nerd Kev)
Subject: Re: Joy of this, Joy of that
Newsgroups: comp.os.linux.misc
References: <vhigot$1uakf$1@dont-email.me>   <vhp646$12c7u$1@dont-email.me> <pgidnQQYp91K_dz6nZ2dnZfqnPqdnZ2d@earthlink.com> <vhsdhp$1m6qu$2@dont-email.me> <X4KcnQQzFNko49_6nZ2dnZfqnPWdnZ2d@earthlink.com> <vhvdmo$2900d$3@dont-email.me> <vhvdqu$28p7r$7@dont-email.me> <vhvm34$2aerk$2@dont-email.me> <1b166410-ecc1-f9e5-7218-cde9618f4686@example.net> <lqi4odFdu06U3@mid.individual.net> <77840736-c143-e896-5da0-d0afae4915ed@example.net> <vi1p3r$2oh05$7@dont-email.me> <vi2rd9$318ah$5@dont-email.me> <8xidnV6HZos6I9v6nZ2dnZfqnPadnZ2d@earthlink.com> <vi85j6$6ct6$7@dont-email.me> <eOqcnUPJTdkXetr6nZ2dnZfqnPqdnZ2d@earthlink.com> <lqqeduFo61aU3@mid.individual.net> <vRWdna-Hi8nZv9X6nZ2dnZfqn_SdnZ2d@earthlink.com> <vianoa$na9e$3@dont-email.me> <5cKdndZFvPPeD9T6nZ2dnZfqn_udnZ2d@earthlink.com> <vidcgc$18mjb$1@dont-email.me> <9PucnWZylb39Pdf6nZ2dnZfqn_QAAAAA@earthlink.com> <vieavl$1idmm$1@dont-email.me> <hZednefWNZ5HvdH6nZ2dnZfqn_ednZ2d@earthlink.com> <vihg3u$2di13$6@dont-email.me>
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
NNTP-Posting-Host: news.ausics.net
Date: 2 Dec 2024 07:13:01 +1000
Organization: Ausics - https://newsgroups.ausics.net
Lines: 46
X-Complaints: abuse@ausics.net
Path: ...!3.eu.feeder.erje.net!feeder.erje.net!tncsrv06.tnetconsulting.net!news.bbs.nz!news.ausics.net!not-for-mail
Bytes: 3383

The Natural Philosopher <tnp@invalid.invalid> wrote:
> On 01/12/2024 08:39, 186282@ud0s4.net wrote:
>> On 11/30/24 1:22 AM, Lawrence D'Oliveiro wrote:
>>> On Sat, 30 Nov 2024 00:19:28 -0500, 186282@ud0s4.net wrote:
>>>> On 11/29/24 4:42 PM, Lawrence D'Oliveiro wrote:
>>>>> On Fri, 29 Nov 2024 05:06:58 -0500, 186282@ud0s4.net wrote:
>>>>>
>>>>>> [Python] isn't REALLY meant for interactive web apps.
>>>>>
>>>>> There are quite a few frameworks for using Python to do exactly that.
>>>>
>>>> Yea, sort of, but they seem kinda clunky work-arounds to me.
>>>
>>> Really? Which ones would you describe that way? Work-arounds for what?
>> 
>>    Server-side, PHP is about all that's properly
>>    supported. The Server-Lords don't like even that,
>>    uses up too many cycles. They'd LIKE to see all
>>    the hard work done on YOUR box instead. That's
>>    what JS does.
>> 
> Well thats php.
> 
> Of course you can write CGI in any language if you like, it just gets 
> harder and more involved.
> 
>>    As such, you really won't find any straight-up
>>    Python based server-side web interpreters. What
>>    exists are ALL sort of kludges, some evoking
>>    PHP to get things done.
> 
> AFAIK Apache can be configured to use any language for 'active pages' .
> PHP is however the default.

Yes I've done simple CGI scripts in Bash even. Apache and PHP have
an extra link in the form of mod_php. That runs PHP scripts from 
Apache without starting a separate process for the interpreter.
Apparantly there was a mod_Python but development was abandoned.

PHP also has OPcache for caching compiled copies of scripts for
performance. I'm not sure if that can be done so transparently with
Python (since I dislike Python anyway, I'm not that interested).

-- 
__          __
#_ < |\| |< _#