Skip to Content
Perl Graphics Programming
book

Perl Graphics Programming

by Shawn Wallace
December 2002
Beginner
478 pages
17h 55m
English
O'Reilly Media, Inc.
Content preview from Perl Graphics Programming

The Server and CGI

Hopefully, you have access to some sort of web server. When people talk about a “web server,” they are generally referring to two things: a program that accepts a request for resources (HTML pages, images, applets, DOM objects, etc.) and returns resources, as well as the actual collection of resources to return (and, I guess, the computer where everything lives, if you want to get picky). When we talk about a web server here, we refer only to the program that does the serving; we assume that there is also a corresponding collection of web pages and images to be served.

The requests made to and responses returned by the web server must be in the standard form described by the HyperText Transfer Protocol (HTTP). Web servers are an inherently simple concept that in practice may be very simple programs or very complicated affairs. The popular Apache web server falls somewhere in between. Apache takes a modular design approach; it has a very fast, simple core set of operations that may be extended with other modules. Whichever web server you run, the basic capabilities of handling requests and returning resources are the primary function of the server.

When a web browser requests an image from a server, the request is in the form of a URL, just like any other HTTP request. This URL points to a file that resides on the same computer as the web server, in its collection of resources. Generally the web server points to a specific root directory, which it uses to determine ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Advanced Perl Programming

Advanced Perl Programming

Sriram Srinivasan
Perl One-Liners

Perl One-Liners

Peteris Krumins
Perl Template Toolkit

Perl Template Toolkit

Darren Chamberlain, Andy Wardley, David Cross

Publisher Resources

ISBN: 9781449358280Errata Page