Chapter 10. Extending the API

One of the major innovations in Apache 2 is the flexible and extensible API, which brings a hugely enhanced level of modularity and an applications architecture that is limited only by the developer’s imagination. We have encountered Apache’s hooks in earlier chapters, but we haven’t yet seen the full power they offer us, nor the other mechanisms for extending not merely the program, but also the API.

In this chapter, we will demonstrate a number of ways to extend the Apache API:

  • Implementing new API functions
  • Taking a closer look at hooks
  • Implementing new hooks
  • The provider API
  • Providing a service

You should familiarize yourself with these techniques, as selecting an appropriate extension framework may mean the ...

Get The Apache Modules Book: Application Development with Apache now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.