Apache Tutor | Search for a title, author or keyword | ||||||||
Apache Tutor Apache Tutor. By Nick Kew. Apache Tutor aims to be the definitive independent online source of help and information for applications built on the Apache webserver. Its primary focus is on applications development - particularly modules - for Apache 2.0 and later, where it aims to fulfil the role of an interactive online book. ApacheTutor was created by applications developer Nick Kew, primarily in response to the lack of good developer documentation for working with Apache 2. The core of ApacheTutor, and our most unique resource, will be the collection of developer tutorials at all levels. Request Processing in Apache is an introduction to request processing in Apache: architecture, hooks and modules. Processing HTTP requests is central to most web applications. In this article, we present an overview of request handling in Apache, and how modules may insert hooks into the request processing to build custom applications and components. This article should help developers on the learning curve to working with apache modules, and equip you to work comfortably with the API documentation and code examples shipped with Apache itself. Configuration for Modules: how to implement configuration directives and manage configuration data and other variables. System administrators configure Apache using httpd.conf, while end users have more limited control through .htaccess files. Modules give control to them by implementing configuration directives that can be used in these files. Resource Management in Apache: introducing the APR ( Apache Portability Runtime ) Pools, and how to use them to manage your resources in Apache. The APR Pools are a fundamental building block of APR and Apache, and are the basis for all resource management. They serve to allocate memory, either directly (in a malloc-like manner) or indirectly (e.g. in string manipulation), and, crucially, ensure the memory is freed at the appropriate time. But they extend much further, to ensure that other resources such as files or mutexes can be allocated and will always be properly cleaned up. They can even deal with resources managed opaquely by third-party libraries. Connection Pooling in Apache: a database is a fundamental component of many web applications. But connecting to it is an overhead that affects traditional application architectures such as CGI and LAMP. In this article, we show how we can manage database connections more efficiently with Apache 2's threaded MPMs ( Multi-Processing Module ), and thus achieve improvements in performance and scalability.
|
|||||||||
Apache Tutor | Disclaimer: this link points to content provided by other sites. |