Chapter 4. Programming Techniques and Caveats
Before we start actually developing modules, we need to discuss matters of good practice for safe, efficient, and portable programming. There are a number of “gotchas” for the unwary, including thread safety and resource sharing between processes, that arise from the behavior of different MPMs. Some of the techniques in this chapter may be considered advanced, and the code examples will be easier to follow after reading some further relevant background in the following chapters, particularly Chapters 5, 6, and 9.
4.1. Apache Coding Conventions
A number of coding conventions apply within the Apache source code to ensure consistency and facilitate readability and review. These conventions are, of ...