CGI Programming with Perl 2e (2ND)

個数:

CGI Programming with Perl 2e (2ND)

  • 提携先の海外書籍取次会社に在庫がございます。通常3週間で発送いたします。
    重要ご説明事項
    1. 納期遅延や、ご入手不能となる場合が若干ございます。
    2. 複数冊ご注文の場合、分割発送となる場合がございます。
    3. 美品のご指定は承りかねます。
  • 【入荷遅延について】
    世界情勢の影響により、海外からお取り寄せとなる洋書・洋古書の入荷が、表示している標準的な納期よりも遅延する場合がございます。
    おそれいりますが、あらかじめご了承くださいますようお願い申し上げます。
  • ◆画像の表紙や帯等は実物とは異なる場合があります。
  • ◆ウェブストアでの洋書販売価格は、弊社店舗等での販売価格とは異なります。
    また、洋書販売価格は、ご注文確定時点での日本円価格となります。
    ご注文確定後に、同じ洋書の販売価格が変動しても、それは反映されません。
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 472 p.
  • 言語 ENG
  • 商品コード 9781565924192
  • DDC分類 005.133

Full Description

Programming on the Web today can involve any of several technologies, but the Common Gateway Interface (CGI) has held its ground as the most mature method--and one of the most powerful ones--of providing dynamic web content. CGI is a generic interface for calling external programs to crunch numbers, query databases, generate customized graphics, or perform any other server-side task. There was a time when CGI was the only game in town for server-side programming; today, although we have ASP, PHP, Java servlets, and ColdFusion (among others), CGI continues to be the most ubiquitous server-side technology on the Web. CGI programs can be written in any programming language, but Perl is by far the most popular language for CGI. Initially developed over a decade ago for text processing, Perl has evolved into a powerful object-oriented language, while retaining its simplicity of use. CGI programmers appreciate Perl's text manipulation features and its CGI.pm module, which gives a well-integrated object-oriented interface to practically all CGI-related tasks. While other languages might be more elegant or more efficient, Perl is still considered the primary language for CGI.
CGI Programming with Perl, Second Edition, offers a comprehensive explanation of using CGI to serve dynamic web content. Based on the best-selling CGI Programming on the World Wide Web, this edition has been completely rewritten to demonstrate current techniques available with the CGI.pm module and the latest versions of Perl. The book starts at the beginning, by explaining how CGI works, and then moves swiftly into the subtle details of developing CGI programs. Topics include: * Incorporating JavaScript for form validation * Controlling browser caching * Making CGI scripts secure in Perl * Working with databases * Creating simple search engines * Maintaining state between multiple sessions * Generating graphics dynamically * Improving performance of your CGI scripts

Contents

Preface 1. Getting Started History Introduction to CGI Alternative Technologies Web Server Configuration 2. The Hypertext Transport Protocol URLs HTTP Browser Requests Server Responses Proxies Content Negotiation Summary 3. The Common Gateway Interface The CGI Environment Environment Variables CGI Output Examples 4. Forms and CGI Sending Data to the Server Form Tags Decoding Form Input 5. CGI.pm Overview Handling Input with CGI.pm Generating Output with CGI.pm Alternatives for Generating Output Handling Errors 6. HTML Templates Reasons for Using Templates Server Side Includes HTML::Template Embperl Mason 7. JavaScript Background Forms Data Exchange Bookmarklets 8. Security The Importance of Web Security Handling User Input Encryption Perl's Taint Mode Data Storage Summary 9. Sending Email Security Email Addresses Structure of Internet Email sendmail mailx and mail Perl Mailers procmail 10. Data Persistence Text Files DBM Files Introduction to SQL DBI 11. Maintaining State Query Strings and Extra Path Information Hidden Fields Client-Side Cookies 12. Searching the Web Server Searching One by One Searching One by One, Take Two Inverted Index Search 13. Creating Graphics on the Fly File Formats Outputting Image Data Generating PNGs with GD Additional GD Modules PerlMagick 14. Middleware and XML Communicating with Other Servers An Introduction to XML Document Type Definition Writing an XML Parser CGI Gateway to XML Middleware 15. Debugging CGI Applications Common Errors Perl Coding Techniques Debugging Tools 16. Guidelines for Better CGI Applications Architectural Guidelines Coding Guidelines 17. Efficiency and Optimization Basic Perl Tips, Top Ten FastCGI mod_perl A. Works Cited and Further Reading B. Perl Modules Index