Showing posts with label cgi. Show all posts
Showing posts with label cgi. Show all posts

CGI Programming with Perl free book download




Product Details
  • Paperback: 451 pages
  • Publisher: O'Reilly Media, Inc.; 2 edition (January 15, 2000)
  • Language: English
  • ISBN-10: 1565924193
  • ISBN-13: 978-1565924192
Amazon.com
The appearance of the second edition of CGI Programming with Perl heralds the beginning of the neoclassical era of Web service. CGI--or common gateway interface--is the original back end for client-driven, dynamic Web-page service and deserves consideration as the Romulus of the Internet Empire. But, where first-edition author Gundavaram described the lonely Romulus laying the brick foundation of dynamic Web-page service in 1996, second-edition collaborators Guelich and Birznieks have pitched in to resurrect Romulus amid the crowded streets of modern Rome. Why bother? Surely four years have brought technological revolutions (Java, PHP, ASP, ColdFusion) that render CGI's original brick-by-brick approach as obsolete as, say, Roman mythology--or bricks and mortar.

And yet not. It is an ambiguous blessing that the original CGI persists, adhering to the underside of Web service by the duct tape that is Perl. This point is not missed by Guelich, Gundavaram, and Birznieks, whose advocacy of CGI is both bolstered by the growing applications module base of Perl and tempered by their awareness of CGI's structural limitations. Both new and returning readers of CGI Programming with Perl should browse the last chapter first in order to appreciate the proposed solutions to CGI's greatest sin: its impractical slowness in a world of a million-hits-per-day Web service. The chapter describes CGI-compatible FastCGI and mod_perl technologies that circumvent the process-spawning slowness of the simple CGI. Advanced users might want to skip directly to O'Reilly's fine mod_perl tome, Writing Apache Modules with Perl and C, by Lincoln Stein and Doug MacEachern.

The authors' second pass at CGI pedagogy is a lucid, honest, and expanded account that develops functionality of dynamic Web pages in a rational progression--from HTML client-server and CGI syntax basics to general input/output, forms, e-mail, graphics, and simple database applications, including maintaining client state and data persistence under the otherwise stateless HTTP protocol. The authors offer synopses of cookies, JavaScripting, server security, and XML, all of which are described in detail in other books.

Whether or not neoclassical CGI is fast enough for your purposes--perhaps for guarded intranets--bear in mind that CGI is the standard to which every other Web server has had to respond. The second edition of CGI Programming with Perl is still the best introduction to the classics. --Peter Leopold

Book 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


CGI Programming 101: Programming Perl for the World Wide Web ebook free download




Product Details

  • Paperback: 300 pages
  • Publisher: CGI101.com; 2nd edition (March 1, 2004)
  • Language: English
  • ISBN-10: 0966942612
  • ISBN-13: 978-0966942613
CGI Programming 101: Programming Perl for the World Wide Web is a concise presentation of the key elements of Perl CGI, which makes it perfect for programmers who are under the gun. If you need to get up to speed on text strings, for example, you can read that chapter and be a pro within about 10 minutes.

Form processing is addressed early on, followed by searching and sorting techniques, illustrations of how to use server-side includes (SSI), and other critical issues. There's also a chapter on using MySQL--an open-source SQL database. In general, if you want to get the most out of this book, you'll be better off having some programming experience, be it in BASIC or C++.

The only element missing from this introductory course is an appendix containing Perl's reserved characters, operators, and functions; instead, this material is presented throughout the book. But CGI Programming 101 is still one of the most efficient ways to get up to speed with Perl CGI. --Stephen W. Plain

Topics covered: Perl variables, CGI environment variables, form processing, data file I/O, searching/sorting, server-side includes (SSI), random number generation, strings, date and time manipulation, HTTP cookies, e-mail processing, securing scripts, Perl modules, database programming, and custom Perl modules.

Book Description
If you build web pages you may eventually want to add a guestbook, order form, page counter, or other interactive elements to your website. CGI Programming 101 explains how to do this in simple, easy-to-understand terms. The book shows you how to write useful, real-world web programs, starting with simple guestbook forms and building up to more advanced applications.

You'll learn:

* The Basics: where to write your CGI programs; how to upload them and set file permissions; how to run them, and how to debug them when things go wrong

* How to decode form data and save it to a file or e-mail it to yourself

* How to create, read, write, and search data files

* How to use Server-Side Includes to add dynamic content to your web site, plus a complete list of Apache SSI directives

* How to use random numbers for displaying banner ads and random images

* How to redirect visitors to another site

* How to extend your programs by using modules

* How to create a MySQL database, and write programs that interact with databases using the DBI module

* How to build an online shopping cart program

* How to e-mail attachments using a CGI program

* How to write secure programs, and protect your programs against hackers and spammers

* How to password-protect an area of your website

...and more.

The second edition has been substantially revised, with 100 pages of new material. It teaches good programming practices from the beginning, including use of the industry-standard CGI.pm Perl module. You'll learn how to protect your form-to-mail programs from being hijacked by spammers, how to build a cookie-based shopping cart, and how to develop a password-protected website. Quick-reference pages and an improved index help you find information easily.

There are also several online tutorials to help you set up your own web server and write CGI programs on any computer system - including Windows, Mac OS X, and Unix.



 

Try More Free Books

CATEGORIES

If you get any link broken please inform me. I will solv the problem within 24 hours.For contact with me Click here.

Top Commenters

Widget by SamSumon
    If you enjoyed this post, make sure you subscribe as an Reader!