Feeds

The Apache Modules Book

Is this the missing Apache manual?

New hybrid storage solutions

Review Subtitled Application Development With Apache, this is a book for web developers who want to take their web applications to the next level – running them inside their web servers.

Apache's modular architecture makes it possible to build applications into server modules, but there's a catch: there's not much documentation, and most of that is out of date.

Starting with a look at Apache and the history and philosophy of the Apache project, this book takes a good look at the Apache API. If you're going to build your own modules, you'll need to be familiar with the API and how you can use it to interact with the web server.

Apache development isn't just for the web server. The Apache Portable Runtime is also at the heart of tools like Subversion, so there's also plenty of information on how to work with APR, including how it can be used to access databases.

The APIs are only part of the story, and there's a lot of information about Apache coding conventions and about how modules work with data and communicate with each other. One key issue is working with callbacks and how Apache works around C's restrictions. There's also information on how to manage persistent data, something that's becoming more and more important with Web 2.0 style applications.

The first module the book shows you how to build is a simple Content Generator. It's a useful place to start, as the worked example shows how you can use an Apache module to deliver content to a web browser – which you'll need to do in nearly every module you'll write. The exercise also walks you through adding inputs and processing the HTTP data delivered to your module. Handling requests is an important piece of any web application, and module request handling gets it own chapter.

You'll also find one on access control – something that's critical if you're aiming to build a set of modules to deliver a secure web application. Apache lets you chain modules together, using them as data filters. This can be a complex process, but the book simplifies the design and development process, and clarifies much of the rationale for filter implementation.

There's a lot here – with the book covering everything from module configuration, to deployment, to extending the Apache API yourself. And, of course, any self-respecting development title wouldn't be the same without a chapter on debugging, and this book isn't an exception to the rule...

You don't need to be a C programmer to work with this book either. While many Apache modules are written in C, there's a lot of scope for working with any high level language, including dynamic languages like Ruby. Worked examples show how to develop modules, and API calls are clearly documented.

The Apache Modules Book

apache modules bookVerdict: There's a line of consumer IT books called the Missing Manuals. This clear, well-written and, above all, helpful book is, effectively, one of Apache's Missing Manuals. It plugs a well known hole in the online documentation, and gives you the tools you need to go out and build your own custom Apache modules.

Author: Nick Kew

Publisher: Prentice Hall

ISBN: 0-13-240967-4

Media: Book

List Price: £35.99

Current Reg price: £23.75 (inc VAT) Buy this book at Register Books at Reg Developer's special discounted price (subject to change). ®

Reducing the cost and complexity of web vulnerability management

More from The Register

next story
New 'Cosmos' browser surfs the net by TXT alone
No data plan? No WiFi? No worries ... except sluggish download speed
'Windows 9' LEAK: Microsoft's playing catchup with Linux
Multiple desktops and live tiles in restored Start button star in new vids
iOS 8 release: WebGL now runs everywhere. Hurrah for 3D graphics!
HTML 5's pretty neat ... when your browser supports it
Mathematica hits the Web
Wolfram embraces the cloud, promies private cloud cut of its number-cruncher
Google extends app refund window to two hours
You now have 120 minutes to finish that game instead of 15
Mozilla shutters Labs, tells nobody it's been dead for five months
Staffer's blog reveals all as projects languish on GitHub
SUSE Linux owner Attachmate gobbled by Micro Focus for $2.3bn
Merger will lead to mainframe and COBOL powerhouse
iOS 8 Healthkit gets a bug SO Apple KILLS it. That's real healthcare!
Not fit for purpose on day of launch, says Cupertino
Profitless Twitter: We're looking to raise $1.5... yes, billion
We'll spend the dosh on transactions, biz stuff 'n' sh*t
prev story

Whitepapers

Secure remote control for conventional and virtual desktops
Balancing user privacy and privileged access, in accordance with compliance frameworks and legislation. Evaluating any potential remote control choice.
WIN a very cool portable ZX Spectrum
Win a one-off portable Spectrum built by legendary hardware hacker Ben Heck
Intelligent flash storage arrays
Tegile Intelligent Storage Arrays with IntelliFlash helps IT boost storage utilization and effciency while delivering unmatched storage savings and performance.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Beginner's guide to SSL certificates
De-mystify the technology involved and give you the information you need to make the best decision when considering your online security options.