|
| Recent
Articles |

Perl, CGI And SSI Advice One of the goals of our WebProWorld forum is for people to help each other with problems that may be having whether it be in marketing, eCommerce, or coding.
Review: Wicked Cool Perl Scripts Order (or just read more about) Wicked Cool Perl Scripts from Amazon.com. Bah, humbug. Well, maybe not that bad. Actually, not "bad" at all: I have no real complaints about this book, but I didn't like it and can't...
A Perl And C# Comparison A search that I have noticed that has been passed to my site was "perl c# comparison", I would assume that the person that asked this was trying to compare...
Handling Missing Data I have an old Perl project that goes out to a Government web site, ftp's some files, massages them in various ways, and spits out some output. Over time, the project grew, and now does more than it used to. To keep it...
Help, My Script Isn't Working! Here's a list of tips and tricks to consult at two a.m. when you're trying to put your site to bed and that d*mn script just won't work. 1. Make a note of the error message...
Perl Loop Causes Strange Read-only Error Ok, folks: I don't understand this. It must have something to do with anonymous arrays in Perl (no, it doesn't, I realize now), but I don't grok the connection. I ran into this in attempting a seemingly simple...
|
|
04.03.07
Review: The Apache Module Book
By
A.P. Lawrence
Aaargh.. C code. I never thought I'd say that, but there it is. I must be getting old.
Oh well, at least I can still read it. And this book did open my eyes to the inner workings of Apache - I had really never thought much about any of this before.
As simple examples are presented, I was tempted to try them out (you can download from http://www.apachetutor.org).
Actually, as I looked at those, I realized that many of the things I do with Perl could be accomplished directly wih a custom module, which of course would have far less overhead and would run considerably quicker.
Sucked in by that, I looked deeper and thought that most of what I'm doing wouldn't give me any real headaches in C (heck, I'm rusty but not completely locked up yet).
So..
So I futzed around a bit.
Nick's book is easy to follow and the examples he uses are really simple frameworks that I could easily extend to the functionality I really need.
I may never get to the point of actually replacing all my current cgi scripts with a module, but it is eye opening to realize that I actually could.
That surprised me a bit. I don't mean to trivialize this at all, and there are plenty of things to be concerned about in more complex modules (Nick does cover the "gotcha's" and all that), but I didn't expect that useful functionality would be this easy to obtain.. might even be fun!
Well written, easy to follow, seems comprehensive to me.
You will need at least read-only comfort with C and of course would need a bit more to actually implement this stuff.
The Apache Module Book
• Nick Kew
• Prentice Hall
• 9780132409674
Order (or just read more about) The Apache Module Book from Amazon.com
*Originally published at APLawrence.com
|