AW: Mod_Perl2 getting started

<[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <DE3E901B104957409FFC4EA8DCE5B0A5018C20A687CC@HE113566.emea1.cds.t-internal.com>
http://perl.apache.org/docs/1.0/guide/porting.html

--
Deutsche Telekom AG
Seamless ICT Security Infrastructure & Management
im Auftrag T-Systems International GmbH
Dipl. Inf Alexander Elgert
Langwadener Strasse 17
64625 Bensheim
+49 176 22 717 661 (Mobil)
+49 671 83419-12 (Tel)
+49 671 83419-30 (Fax)
E-Mail: [email protected]

________________________________________
Von: Keywan Ghadami [[email protected]]
Gesendet: Mittwoch, 22. August 2012 10:11
An: [email protected]
Betreff: Re: Mod_Perl2 getting started

Hi Joe,
have also a look at Frameworks and Interfaces like PSGI or Catalyst.
They provide a more generic way to do these things:

"parsed request, handles args as querystrings and Post data, uploads a file or two, and returns an html page to the requestor"

that way you can use mod_perl in the background wich give you the flexibility to switch to other Interfaces (e.g. fcgi) and servers on need.

best regards

keywan

Am 21.08.2012 23:13, schrieb Randolf Richardson:

Hi,
I´m finding the online documentation regarding mod_perl2 confusing
with regards to all the various modules dealing with request structures etc:
APR::Request, Apache2::Request, Apache2::RequestRec, Apache2::Upload,
etc.
Does anyone know of a tutorial or example code that sorts these out?
Ideally a simple one module working code response handler that illustrates access to the
parsed request, handles args as querystrings and Post data, uploads a file or
two, and returns an html page to the requestor. Anyone have something like that?
Thanks very much in advance,
Joe N


        Hi Joe.  I wrote one guide that has helped a few people get started:

                http://www.modperl.pl/how-to/

        It's still a work-in-progress, and although it doesn't show you
everything that you're asking for, it will get you started.

        Accessing query strings is covered in the Apache::Request module
documentation -- "param" is the keyword to search for.  I recommend
that you develop a clear understanding of how this works before
tackling file uploads, because it will make the learning process with
regard to handling file uploads a lot easier.

Randolf Richardson - [email protected]<mailto:[email protected]>
Inter-Corporate Computer & Network Services, Inc.
Beautiful British Columbia, Canada
http://www.inter-corporate.com/





--
Keywan Ghadami
Entwicklung
ibson
Fritz-Arnold-Str. 23
78467 Konstanz
Tel.: +49 (0)75 31 / 81 39 7 93
Fax: +49 (0)75 31 / 81 39 7 89
E-Mail: [email protected]<mailto:[email protected]>
Web: www.ibson.com<http://www.ibson.com/>
QuickLinks: Produkte<http://www.ibson.com/Produkte> | Lösungen<http://www.ibson.com/Loesungen> | Services & Support<http://www.ibson.com/Services> | News<http://www.ibson.com/News> | Kunden & Referenzen<http://www.ibson.com/Referenzen> | Kontakt<http://www.ibson.com/Kontakt>

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das Kopieren sowie die Weitergabe dieser E-Mail ist nicht gestattet.

This E-Mail contains confidential and/or legally protected information. If you are not the correct addressee or have received this E-Mail erroneously, please inform the sender immediately and delete this E-Mail. The copying as well as the transmitting of this E-Mail is not permitted
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.