Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Writing Apache Modules with Perl and C: The Apache API and mod_perl Paperback – Apr 11 1999


Amazon Price New from Used from
Paperback
"Please retry"
CDN$ 29.92 CDN$ 4.27

Join Amazon Student in Canada



Customers Who Bought This Item Also Bought

NO_CONTENT_IN_FEATURE

Product Details

  • Paperback: 750 pages
  • Publisher: O'Reilly Media; 1 edition (April 11 1999)
  • Language: English
  • ISBN-10: 156592567X
  • ISBN-13: 978-1565925670
  • Product Dimensions: 3 x 17.5 x 23 cm
  • Shipping Weight: 1 Kg
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (20 customer reviews)
  • Amazon Bestsellers Rank: #1,211,524 in Books (See Top 100 in Books)
  • See Complete Table of Contents

Customer Reviews

4.5 out of 5 stars
Share your thoughts with other customers

Most helpful customer reviews

Format: Paperback
Not much there for C, although it's not too difficult to make use of the Perl topics and covert them to C, it's more geared towards Perl (much more). That's too bad. Still, it's a good book and is very useful for referencing as well as for people looking to learn more about this topic.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback
It's all in Perl. The book says "Apache Modules with Perl and C" but really, it's all in Perl. The only mentions I've seen in C are the very very beginning, and the end that restates the Apache documentation.
If you bought this book thinking it will have sample C code, you would be wrong.
If you like Perl, then this is the book for you, but if you prefer C, as I do, then you will have wasted your money.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback
_Writing Apache Modules_ (WAM) is a high quality work, even amongst other O'Reilly books. Few/no typos and articulate writing, very usable index and good content organization, accurate and complete information, top notch Perl code. Yes, only about 5% of the code are in C, but the C API reference is there. I write Perl and C modules and I can use this book for both (though for specific C techniques, you'll probably be better off by reading the Apache developers and apache-modules mailing lists).
I haven't actually read the other mod_perl and developer-oriented Apache books out there but in my opinion this book is still indispensable if you plan to write Apache modules, either in Perl, C, or other languages. Especially if you write for mod_perl, this book is a great complement to the mod_perl guide. Stas' guide focuses on deployment and tuning issues (memory usage, speed, etc) while WAM focuses on the Apache API and how Apache can help you do the job by writing modules.
Personally, _Writing Apache Modules_ is still the most useful reference book to date. It's one that spends the largest amount of time on my desk.
And, oh yes, Amazon gives a good deal on this one ... .
Can't wait for the Apache 2 counterpart.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback
A good tutorial starts out with something basic and gradually builds on it. This book starts out with three chapters of pure reference material. Granted some of this is a half-assed description of setting up Apache and compiling in mod_perl. I found the docs that come with the Apache and mod_perl source code to be far more useful (and accurate). Then you get this long list of Perl API classes, request object functions, Perl handlers, etc. All of which is wonderfully useful information ... presented at the wrong time ... we have yet to begin writing a useful module.
When we do begin the writing of a module, it isn't a basic, stand-alone module, but a module to add footers to other content. So, the text digresses into a long and technical discussion of the various ways to configure Apache and associate MIME types so that this module will work with documents that we might or might not have on hand (It's just assumed that you have these laying around handy). During this discussion, we get bounced off of other Apache::xyz modules that apparently popped into the author's head in a moment of "As long as we're at it, why don't we throw this in too" inspiration. Wonderful information ... presented at the wrong time.
To give an example: A logical place to start learning Oracle SQL (or any other SQL) would be with the SELECT statement. However, the authors of this book would begin with a detailed discussion of PL/SQL exception handling, a listing of most of the built-in PL/SQL exceptions, and a listing of a number of the built-in Oracle packages. (Recall we were just starting with SQL. But what the heck! PL/SQL is cool, so why not talk about it now? We're going to use it eventually anyway.
Read more ›
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback
I once read that you could not consider yourself a Unix Wizard until you had hand written a SendMail configure script once, and that no sane person ever did it twice.
The first part of that truism can perhaps be said of Web Wizards and Apache modules. Fortunately Apache modules are a little easier to write than Sendmail configurations and this book makes it easier still.
Let's not mince words. Perl scripts and other CGI software can quickly become performance bottlenecks on any server, no matter the size of your hardware. The most powerful way of fixing this is to fold a fair amount of that programming inside the server where the overhead of loading interpreters, libraries and code is already taken care of, not to mention you find yourself with much more power and control over the dialogue between server and browser.
Unfortunately writing to an API as large and complex as that in Apache is not always easy. MacEachern and Stein go to a great deal of trouble and exert a fair degree of skill in breaking the learning down into manageable chunks and explaining it all with a large number of examples.
This was the first book I read that really made me understand the process going on, both between the two pieces of software and inside Apache, when a page is requested. From there the book goes on to give you a marvellous understanding of how to write a module in Perl that fits into that process. Finally the last three chapters are excellent API reference guides, one on the Perl API and two on the C API, and an excellent index (which indexes every function in the API's as well as key concepts) make this a superb tool when you get down to writing.
Read more ›
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.

Product Images from Customers

Most recent customer reviews

Search


Feedback