Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Writing Apache Modules with Perl and C

Buy
This book was designed for application developers who already have some experience with web programming. We assume that you understand CGI scripting, know how to produce HTML pages dynamically, and can create fill-out forms and process their contents. We also assume that you know the basics of web server administration—if not with the Apache server itself, then with another Unix or Microsoft Windows-based web server.

A knowledge of the Perl programming language is definitely required! We use the Perl version of the Apache API to illustrate the central concepts of module design and implementation, and most of our example code is written in Perl as well. We chose to do it this way because we think there are more people who are comfortable developing web applications in Perl than in C or C++. You don't have to be a Perl guru to read this book, but there will be places where you'll find the going tough if you don't understand Perl syntax. We make particularly heavy use of the current features of Perl (Version 5.004 and higher), particularly in regard to Perl's object-oriented syntax. If you know Perl Version 4 but haven't gotten around to reading about the Version 5 features, now's the time to start learning about hash references, blessed objects, and method calls.

If you're an experienced C programmer, you can probably get what you need from the Perl chapters without necessarily understanding every line of the example code. Be forewarned, however, that our discussion of the C-language API tends toward terseness since it builds on the framework established by earlier chapters on the Perl API.

One of the minor miracles of the World Wide Web is that it makes client/server network programming easy. With the Common Gateway Interface (CGI) anyone can become a network programmer, creating dynamic web pages, frontends for databases, and even complex intranet applications with ease. If you're like many web programmers, you started out by writing CGI scripts in Perl. With its powerful text-processing facilities, forgiving syntax, and tool-oriented design, Perl lends itself to the small programs that CGI was designed for.

Unfortunately the Perl/CGI love affair doesn't last forever. As your scripts get larger and your server more heavily loaded, you inevitably run into the performance wall. A 1,000-line Perl CGI script that runs fine on a lightly loaded web site becomes unacceptably slow when it increases to 10,000 lines and the hit rate triples. You may have tried switching to a different programming language and been disappointed. Because the main bottleneck in the CGI protocol is the need to relaunch the script every time it's requested, even compiled C won't give you the performance boost you expect.

If your application needs go beyond simple dynamic pages, you may have run into the limitations of the CGI protocol itself. Many interesting things go on in the heart of a web server—things like the smart remapping of URLs, access control and authentication, or the assignment of MIME types to different documents. The CGI protocol doesn't give you access to these internals. You can neither find out what's going on nor intervene in any meaningful way.

To go beyond simple CGI scripting, you must use an alternative protocol that doesn't rely on launching and relaunching an external program each time a script runs. Alternatives include NSAPI on Netscape servers, ISAPI on Windows servers, Java servlets, server-side includes, Active Server Pages (ASP), FastCGI, Dynamic HTML, ActiveX, JavaScript, and Java applets.
(HTML tags aren't allowed.)

OpenGL 4 Shading Language Cookbook - Second Edition
OpenGL 4 Shading Language Cookbook - Second Edition

Acquiring the skills of OpenGL Shading Language is so much easier with this cookbook. You'll be creating graphics rather than learning theory, gaining a high level of capability in modern 3D programming along the way.

Overview

  • Discover simple and advanced techniques for leveraging modern OpenGL and...
Advances in Cryptology - Crypto 2004: 24th Annual International Cryptology Conference, Santa Barbara, California
Advances in Cryptology - Crypto 2004: 24th Annual International Cryptology Conference, Santa Barbara, California
Crypto 2004, the 24th Annual Crypto Conference, was sponsored by the International
Association for Cryptologic Research (IACR) in cooperation with the
IEEE Computer Society Technical Committee on Security and Privacy and the
Computer Science Department of the University of California at Santa Barbara.

The program committee
...
Design of High-Performance Microprocessor Circuits
Design of High-Performance Microprocessor Circuits

This book covers the design of next generation microprocessors in deep submicron CMOS technologies. The chapters in Design of High Performance Microprocessor Circuits were written by some of the world's leading technologists, designers, and researchers. All levels of system abstraction are covered, but the emphasis rests squarely...


Partial Differential Equations: Vol. 1 Foundations and Integral Representations (Universitext)
Partial Differential Equations: Vol. 1 Foundations and Integral Representations (Universitext)
From the reviews:

"Friedrich Sauvigny's remarkable two-volume opus constitutes the author's attempt to treat the beautiful and difficult subject of PDEs in a thorough and instructive way. is a fine place to learn PDEs with the goal of doing serious work in the field. Friedrich Sauvigny's scholarship is exemplary and thorough; at the same...

Microsoft Small Business Server SBS 2003: A Clear and Concise Administrator's Reference and How-To
Microsoft Small Business Server SBS 2003: A Clear and Concise Administrator's Reference and How-To
Microsoft Small Business Server is a comprehensive and powerful one machine server solution with a broad range of services. Whether you are an experienced sysadmin or an experienced user stepping up to servers for the first time, you'll need to navigate a quick and efficient route through both the software itself and the giant body of official...
International Conference on Innovative Computing and Communications: Proceedings of ICICC 2018, Volume 2 (Lecture Notes in Networks and Systems (56))
International Conference on Innovative Computing and Communications: Proceedings of ICICC 2018, Volume 2 (Lecture Notes in Networks and Systems (56))

The book includes high-quality research papers presented at the International Conference on Innovative Computing and Communication (ICICC 2018), which was held at the Guru Nanak Institute of Management (GNIM), Delhi, India on 5–6 May 2018. Introducing the innovative works of scientists, professors, research scholars, students...

©2021 LearnIT (support@pdfchm.net) - Privacy Policy