Commencez à lire CGI Programming with Perl sur votre Kindle dans moins d'une minute. Vous n'avez pas encore de Kindle ? Achetez-le ici Ou commencez à lire dès maintenant avec l'une de nos applications de lecture Kindle gratuites.

Envoyer sur votre Kindle ou un autre appareil

 
 
 

Essai gratuit

Découvrez gratuitement un extrait de ce titre

Envoyer sur votre Kindle ou un autre appareil

Désolé, cet article n'est pas disponible en
Image non disponible pour la
couleur :
Image non disponible
 

CGI Programming with Perl [Format Kindle]

Scott Guelich , Shishir Gundavaram , Gunther Birznieks

Prix conseillé : EUR 26,90 De quoi s'agit-il ?
Prix éditeur - format imprimé : EUR 39,12
Prix Kindle : EUR 18,83 TTC & envoi gratuit via réseau sans fil par Amazon Whispernet
Économisez : EUR 20,29 (52%)

App de lecture Kindle gratuite Tout le monde peut lire les livres Kindle, même sans un appareil Kindle, grâce à l'appli Kindle GRATUITE pour les smartphones, les tablettes et les ordinateurs.

Pour obtenir l'appli gratuite, saisissez votre adresse e-mail ou numéro de téléphone mobile.

Formats

Prix Amazon Neuf à partir de Occasion à partir de
Format Kindle EUR 18,83  
Broché EUR 35,42  




Descriptions du produit

Présentation de l'éditeur

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

Détails sur le produit

  • Format : Format Kindle
  • Taille du fichier : 1509 KB
  • Nombre de pages de l'édition imprimée : 472 pages
  • Utilisation simultanée de l'appareil : Illimité
  • Editeur : O'Reilly Media; Édition : 2 (29 juin 2000)
  • Vendu par : Amazon Media EU S.à r.l.
  • Langue : Anglais
  • ASIN: B006SOK3D6
  • Synthèse vocale : Activée
  • X-Ray :
  • Word Wise: Non activé
  • Classement des meilleures ventes d'Amazon: n°226.187 dans la Boutique Kindle (Voir le Top 100 dans la Boutique Kindle)
  •  Souhaitez-vous faire modifier les images ?


En savoir plus sur les auteurs

Découvrez des livres, informez-vous sur les écrivains, lisez des blogs d'auteurs et bien plus encore.

Commentaires en ligne

Il n'y a pas encore de commentaires clients sur Amazon.fr
5 étoiles
4 étoiles
3 étoiles
2 étoiles
1 étoiles
Commentaires client les plus utiles sur Amazon.com (beta)
Amazon.com: 0.0 étoiles sur 5  0 commentaires
32 internautes sur 33 ont trouvé ce commentaire utile 
4.0 étoiles sur 5 What's different about this book? 20 novembre 2001
Par "sherzodr" - Publié sur Amazon.com
Format:Broché
While there're a few boooks available on CGI/Perl, what's different in this book you'd ask. If we compare it with "CGI Programming 101" by Jaqueline, it's more advanced and excersices better programming style. Uses 'strict' pragma and -wT switches ALL THE TIME, which I liked a lot. The programs are also compatible in mod_perl enviroment, which prove the fluency of the authors in Perl and Web Programming. Unfortunately their those capabilities don't make them good writers. They don't spend enough time on some of the concepts they introduce. They sepend more time and space then requried on JavaScript(chapter 7), which is about 23 pages, and spend only 16 pages on Data Persistence (chapter 10). But in Data Persistence chapter they tried to cover Text files, all kinds of file lockings, temporary files, DB_File, MLDBM, SQL, DBI. Now you have a rough picture of how dEtAiLeD their topisc are. Here I'll try go over chapters with comments and will be suggesting alternatives for the topic wherever it's applicable
Chapter 1, 2 and 3 give some history of the WWW and CGI. Also provide a smaple CGI application for getting started. I think chapter 2, "Hypertext Transfer Protocol" was pretty informative, and I ejoyed it a lot.
Chapter 4, "Forms and CGI" go over some form anatomy and elementary ways of encoding and decoding form input, which you might find usefull.
Chapter 5 is entirely dedicated to CGI.pm and it's application. I still think CGI.pm's documentation available online (or with your Perl distribution) does way better job than this one chapter.
Chapter 6, "HTML Templates" gives some nice examples of HTML::Template and Embperl usage. They spend good space on these, but only about 3 pages to cover Mason. Of course, the chapter can't take you too far without the original documentations of those mentioned libraries which are available online.
Chapter 7, as I mentioned was dedicated to JavaScript and JS validation. I think they were not supposed to spend so much time on JavaScript. For this one, go get JavaScript Bible, 4th edition by Danny Goodman.
Chapter 8, Security covers the security guidelines already available online as W3C's security FAQ by L. Stein and John Stewart.
Chapter 9, "Sending Email" was probably my favorite. It covers 'sendmai', mailx and mail and procmail. Spends good 18 pages on the topic and shows an examile that uses Mail::Mailer
Chapter 11, Maintaining State, was really poor. There's nothing much to learn in that chapter. For more profesional session management examples, I suggest you "MySQL and Perl for the Web" by Paul DeBois and Apache::Session manual available online.
Chapter 12, "Searching the web" give some advanced examples of web searching. The example of Inverted Index Search using DB_File was my favorite.
Chapter 13, "Creating Graphics on the fly" give some examples of dynamic graphic generation using GD, Image::Magick and GD::Graph. I could give this chapter hmmm... 3 stars :)
Chapter 14, "Middleware and XML" was the one I just skipped over.
The last 3 chapters of the book are dedicated to debugging, coding with style and eficiency with mod_perl and FastCGI.
For debugging and style, I recommend "Programming perl 3rd edition".
Overall, i benefitted from the book a lot as it implies from my review. But still wanna save my 5 stars for the 3rd edition :)
30 internautes sur 33 ont trouvé ce commentaire utile 
1.0 étoiles sur 5 Rush job and it shows 26 juillet 2000
Par "jb4mt" - Publié sur Amazon.com
Format:Broché
This book is full of typos, which is forgivable if the code examples don't have typos, but they do. For instance, in the code for upload.cgi on pg 99, the following declaration is made:
use constant UPLOAD_DIR => "/usr/local/apache/data/uploads";
Note this does NOT end with a slash. Later, though, a loop is initialized as follows:
until (sysopen OUTPUT, UPLOAD_DIR . $filename, O_CREAT | O_EXCL)
$filename is taken from user form input, but unless the user was omniscient and put a slash at the beginning of the name he assigned, then the expression "UPLOAD_DIR" . $filename would evaluate to something like:
/usr/local/apache/data/uploadsbleedin_file_name
instead of the correct: ".../uploads/bleedin_file_name". Oh, and speaking of putting a slash at the beginning of the file name....there is code that is supposed to prevent such, as evidenced by the line:
error($q, "Invalid file name; files must start with a letter or number.");
I don't know about slashes, but it didn't prevent me from sending a file name through that begin with a tilde.
Yes the book covers some things you won't find anywhere else, but a lot of the stuff it covers is better covered elsewhere: OReilly's "Webmaster in a NutShell" has better coverage of HTTP. It (Webmaster) also discusses using the use statement to reference a library in a path where you might have had to manually install it in your virtual hosting directory if for instance you couldn't convince your ISP to upgrade to the latest version of CGI.pm. This wasn't covered in the CGI book, which is supposed to be solely about CGI, whereas the Webmaster book not only covers CGI/Perl, but also JavaScript, PHP, etc.
Don't waste your money....I'm sorry I did
23 internautes sur 25 ont trouvé ce commentaire utile 
3.0 étoiles sur 5 NOT a "quick and dirty" CGI reference... 21 août 2000
Par H. Lanza - Publié sur Amazon.com
Format:Broché
You must be careful when usign this book. I found myself wasting a lot of time typing (oreilly's ftp site was down, and has been down lately--what can I say?) and implementing the examples in the book only to get to the end of the chapters to find out that the authors were holding out on me for a better solution. For example: Parsing forms? Don't implement anything on Chapter 4, "Decoding Form Input." Wait until the next chapter about CGI.pm. Searching the web server (Chapter 12)? Wait until the end of the chapter before implementing anything, or waste alot of time.
Don't get me wrong, this book has some decent information in it. And there is much learning to be done in reviewing how NOT to do certain things. However, I'm not sure how many people read CGI books from cover to cover.
Bottom line: the authors should have been more mindful of their audience's time constraints and should have tailored the exposition of material accordingly.
12 internautes sur 13 ont trouvé ce commentaire utile 
4.0 étoiles sur 5 A good place to start 23 juillet 2003
Par Michael J. Edelman - Publié sur Amazon.com
Format:Broché
I purchased "CGI Programming with Perl" thinking it was, like many O'Reilly books, a bible of programming how-to for the working programmer. It's not. What it is, in fact, is a pretty good introduction to writing CGIs with Perl for someone who has some basic knowledge of Perl and HTTP, but who has never done any CGI programming. And that's just the position I was in when I bought it.
The first third of the book is introductory in nature, with an introduction to how forms and CGI scripts work, some discussion of parsing forms in other languages, and some simple examples. The bulk of the book contains more complex examples of tasks like writing questionaires, interfacing with relational databases, maintaining state, graphics and so forth. I did glean a lot of useful information there.
The biggest problem with this book is a problem that's really common to all book on Internet programming: Standards are changing so fast that a year old book is likely to contain chapter upon chapter illustrating obsolete techniques and libraries. In "CGI Programming" there are a lot of examples using Perl modules that haven't really caught on, while some of the newer modules (obviously) aren't meantioned. Another problem is that the book is kind of scattershot in the attention it gives different topics.
Still, I think this is one of the better books for someone with basic Perl skills looking to get started with CGIs. There's enough detail here to start writing CGIs, and enough information out there on the web to go on learning.
19 internautes sur 22 ont trouvé ce commentaire utile 
3.0 étoiles sur 5 I've Seen Better 5 septembre 2000
Par Randall Woodman - Publié sur Amazon.com
Format:Broché
The author states up front that you should know the perl language. If you know perl, you might enjoy this book. If you don't know perl, don't buy this book.
I found the orginization of the book to be clunky. The book didn't flow well from topic to topic. Having a basic knowledge of CGI, I was able to wade my way through it and understand what the author was trying to convey. If I was a beginner, I would have a hard time grasping the concepts.
In short, buy this book if you are already familiar with perl and CGI programming. If you are a beginner with CGI programming, look for another book.
Ces commentaires ont-ils été utiles ?   Dites-le-nous

Discussions entre clients

Le forum concernant ce produit
Discussion Réponses Message le plus récent
Pas de discussions pour l'instant

Posez des questions, partagez votre opinion, gagnez en compréhension
Démarrer une nouvelle discussion
Thème:
Première publication:
Aller s'identifier
 

Rechercher parmi les discussions des clients
Rechercher dans toutes les discussions Amazon
   


Rechercher des articles similaires par rubrique