Re: Raku

John Dunlap <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CAC5eUStiQu6GbxV-=VTHJ-rvuJ7Td7YbARhqA4FObX31P4dJig@mail.gmail.com>
"An essential part of mod_perl (and something for which I believe there is
no equivalent in
*any* language), is the ability to insert itself deeply into Apache httpd,
and controlling
what happens inside httpd at virtually any stage of an HTTP request
processing."

Like this?
https://httpd.apache.org/docs/trunk/mod/mod_lua.html

On Wed, Dec 22, 2021 at 8:45 AM André Warnier (tomcat/perl) <[email protected]>
wrote:

> On 22.12.2021 13:19, Wes Peng wrote:
> > Raku has its own WSGI httpserver?
> >
>
> Yes, as there are several similar things for Apache/perl (such as
> Plack/PSGI).
>
> But these frameworks only do *partially* what mod_perl allows one to do.
>
> An essential part of mod_perl (and something for which I believe there is
> no equivalent in
> *any* language), is the ability to insert itself deeply into Apache httpd,
> and controlling
> what happens inside httpd at virtually any stage of an HTTP request
> processing.
>
> This page : https://perl.apache.org/docs/2.0/user/handlers/http.html
> contains a diagram of all the "phases" which a HTTP request goes through
> in Apache httpd.
> WSGI/PSGI Frameworks give you access to what happens in the bottom
> "response" block.
> mod_perl gives you access to what happens in *all* the blocks.
>
> For many developers, being able to act at the Response stage is enough,
> and in such a
> case, they will be happy with what a WSGI/PSGI/proxy solution provides.
>
> However, if you want to do deeper things within Apache httpd (such as for
> instance create
> your own authentication/authorization mechanism, or creating your own
> input/output
> filters), and you want to do that using perl as a language, then mod_perl
> is your thing.
>
> >
> >
> >> Has anyone considered having a mod_raku version of mod_perl?
> >>
> >> Merry Christmas to all.
> >>
> >> -Tom
> >>
> >>
> >
>
>

-- 
John Dunlap
*CTO | Lariat *

*Direct:*
*[email protected] <[email protected]>*

*Customer Service:*
877.268.6667
[email protected]
100x60.png (image/png, 2.1 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.