Résumé
This book offers a comprehensive explanation of CGI and related techniques for people who hold on to the dream of providing their own information servers on the Web.
Good scripting is not limited to a knowledge of CGI -- you need to know something about other programming tools that organize data and make the output look attractive. Gundavaram starts at the beginning, explaining the value of CGI and how it works, and takes you swiftly into the subtle details of programming. The book offers a comprehensive look at the job of providing information dynamically on the Web.
For most of the examples, this book uses the most common platform (UNIX) and the most popular language (Perl) used for CGI programming today. However, it introduces the essentials of making CGI work with other platforms and languages. The actual programming techniques are not too different from one platform and language to another; the lessons from this book can be applied to any tools you choose.
Topics include:
- Basic Perl techniques for parsing and output
- Embedding Server Side Includes (SSI)
- Graphics and simple animation
- Forms and magic cookies
- Gateways and SQL processing
- Internet communications
- Examples of games, imagemap manipulation, and other advanced applications
Table of contents
- Preface
- 1. The Common Gateway Interface (CGI)
- What Is CGI?
- CGI Applications
- Some Working CGI Applications
- Internal Workings of CGI
- Configuring the Server
- Programming in CGI
- CGI Considerations
- Overview of the Book
- 2. Input to the Common Gateway Interface
- Introduction
- Using Environment Variables
- Accessing Form Input
- Extra Path Information
- Other Languages Under UNIX
- Other Languages Under Microsoft Windows
- Other Languages on Macintosh Servers
- Examining Environment Variables
- 3. Output from the Common Gateway Interface
- Overview
- CGI and Response Headers
- Accept Types and Content Types
- The Content-length Header
- Server Redirection
- The "Expires" and "Pragma" Headers
- Status Codes
- Complete (Non-Parsed) Headers
- 4. Forms and CGI
- HTML Tags
- Sending Data to the Server
- Designing Applications Using Forms in Perl
- Decoding Forms in Other Languages
- 5. Server Side Includes 87
- Introduction
- Configuration
- Environment Variables
- Including Boilerplates
- File Statistics
- Executing External Programs
- Executing CGI Programs
- Tailoring SSI Output
- Common Errors
- 6. Hypermedia Documents 101
- Creating Dynamic Home Pages
- CGI Examples with PostScript
- The gd Graphics Library
- CGI Examples with gnuplot
- CGI Examples with pgperl
- Animation
- 7. Advanced Form Applications
- Guestbook
- Survey/Poll and Pie Graphs
- Quiz/Test Form Application
- Security
- 8. Multiple Form Interaction
- Hidden Fields
- CGI Side Includes
- Netscape Persistent Cookies
- 9. Gateways, Databases, and Search/Index Utilities
- UNIX Manual Page Gateway
- Mail Gateway
- Relational Databases
- Search/Index Gateway
- 10. Gateways to Internet Information Servers
- Overview
- What Are Sockets?
- Socket I/O in Perl
- Socket Library
- Checking Hypertext (HTTP) Links
- Archie
- Network News on the Web
- Magic Cookies
- Maintaining State with a Server
- Forking/Spawning Child Processes
- 11. Advanced and Creative CGI Applications
- Animated Clock
- Game of Concentration
- Introduction to Imagemaps
- Calendar Manager
- 12. Debugging and Testing CGI Applications
- Common Errors
- Programming/System Errors
- Environment Variables
- Logging and Simulation
- CGI Lint-A Debugging/Testing Tool
- Set UID/GID Wrapper
- A. Perl CGI Programming FAQ
- B. Summary of Regular Expressions
- C. CGI Modules for Perl 5
- D. CGI Lite
- E. Applications, Modules, Utilities, and
Documentation
- Index
L'auteur - Shishir Gundavaram
(pronounced she-sheer goon-da-vaar-um) is what he likes to call a "scholar-athlete." On the athletic side, he plays tennis and basketball, but his true passion is running. He started out as a long distance runner, but after numerous injuries became a sprinter.
On the scholarly side, Shishir graduated from Boston
University with a B.S. in biomedical engineering in May of
1995. For his undergraduate thesis, he developed a Windows
application for the Motor Unit Lab of the NeuroMuscular
Research Center that allowed researchers to acquire and
analyze muscle force output from
patients to indirectly observe the electrical activity of
muscles. He currently works for Viable Internet Solutions,
Inc. (VISO) in Cambridge, Massachusetts, developing
applications and tools involving Internet Commerce.
Caractéristiques techniques
PAPIER | |
Éditeur(s) | O'Reilly |
Auteur(s) | Shishir Gundavaram |
Poids | 735g |
EAN13 | 9781565921689 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse