Perl for Web Site Management
Home > Computing and Information Technology > Digital Lifestyle and online world: consumer and user guides > Internet guides and online services > Perl for Web Site Management
Perl for Web Site Management

Perl for Web Site Management

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

Checking links, batch editing HTML files, tracking users, and writing CGI scripts - these are the often tedious daily tasks that can be done much more easily with Perl, the scripting language that runs on almost all computing platforms. This book is not so much about learning Perl as it is about using Perl to do common Web chores more efficiently. The secret is that, although becoming a Perl expert may be hard, most Perl scripts are relatively simple. Using Perl and other open source tools, you'll learn how to: incorporate a simple search engine Write a simple CGI gateway; convert multiple text files into HTML Monitor log files; and track users as they navigate your site. Even if you don't have any programming background, this book should get you quickly past Perl's seemingly forbidding barrier of chops and chomps, execs and elsifs. You'll be able to put an end to using clunky tools, editing files tediously by hand, or relying on programmers and system administrators to do "the hard stuff" for you.

Table of Contents:
Preface 1. Getting Your Tools in Order Open Source Versus Proprietary Software Evaluating a Hosting Provider Web Hosting Alternatives Getting Started with SSH/Telnet Meet the Unix Shell Network Troubleshooting A Suitable Text Editor 2. Getting Started with Perl Finding Perl on Your System Creating the "Hello, world!" Script The Dot Slash Thing Unix File Permissions Running (and Debugging) the Script Perl Documentation Perl Variables A Bit More About Quoting "Hello, world!" as a CGI Script 3. Running a Form-to-Email Gateway Checking for CGI.pm Creating the HTML Form The Tag's ACTION Attribute The mail_form.cgi Script Warnings via Perl's -w Switch The Configuration Section Invoking CGI.pm foreach Loops if Statements Filehandles and Piped Output die Statements Outputting the Message Testing the Script 4. Power Editing with Perl Being Careful Renaming Files Modifying HREF Attributes Writing the Modified Files Back to Disk 5. Parsing Text Files The "Dirty Data" Problem Required Features Obtaining the Data Parsing the Data Outputting Sample Data Making the Script Smarter Parsing the Category File Testing the Script Again 6. Generating HTML The Modified make_exhibit.plx Script Changes to &parse_exhibitor Adding Categories to the Company Listings Creating Directories Generating the HTML Pages Generating the Top-level Page 7. Regular Expressions Demystified Delimiters Trailing Modifiers The Search Pattern Taking It for a Spin Thinking Like a Computer 8. Parsing Web Access Logs Log File Structure Converting IP Addresses The Log-Analysis Script Different Log File Formats Storing the Data The "Visit" Data Structure 9. Date Arithmetic Date/Time Conversions Using the Time::Local Module Caching Date Conversions Scoping via Anonymous Blocks Using a BEGIN Block 10. Generating a Web Access Report The &new_visit and &add_to_visit Subroutines Generating the Report Showing the Details of Each Visit Reporting the Most Popular Pages Fancier Sorting Mailing the Report Using cron 11. Link Checking Maintaining Links Finding Files with File::Find Looking for Links Extracting Putting It All Together Using CPAN Checking Remote Links A Proper Link Checker 12. Running a CGI Guestbook The Guestbook Script Taint Mode Guestbook Preliminaries Untainting with Backreferences File Locking Guestbook File Permissions 13. Running a CGI Search Tool Downloading and Compiling SWISH-E Indexing with SWISH-E Running SWISH-E from the Command Line Running SWISH-E via a CGI Script 14. Using HTML Templates Using Templates Reading Fillings Back In Rewriting an Entire Site 15. Generating Links The Docbase Concept The CyberFair Site's Architecture The Script's Data Structure Using Data::Dumper Creating Anonymous Hashes and Arrays Automatically Generating Links Inserting the Links 16. Writing Perl Modules A Simple Module Template Installing the Module The Cyberfair::Page Module 17. Adding Pages via CGI Script Why Add Pages with a CGI Script? A Script for Creating HTML Documents Controlling a Multistage CGI Script Using Parameterized Links Building a Form Posting Pages from the CGI Script Running External Commands with system and Backticks Race Conditions File Locking Adding Link Checking 18. Monitoring Search Engine Positioning Installing WWW::Search A Single-Search Results Tool A Multisearch Results Tool The map Function 19. Keeping Track of Users Stateless Transactions Identifying Individual Users Basic Authentication Automating User Registration Storing Data on the Server The Register Script The Verification Script 20. Storing Data in DBM Files Data Storage Options The tie Function A DBM Example Script Blocking Versus Nonblocking Behavior Storing Multilevel Data in DBM Files An MLDBM-Using Registration Script An MLDBM-Using Verification Script 21. Where to Go Next Unix System Administration Programming Apache Server Administration and mod_perl Relational Databases Advocacy Index


Best Sellers


Product Details
  • ISBN-13: 9781565926479
  • Publisher: O'Reilly Media
  • Publisher Imprint: O'Reilly Media
  • Language: English
  • Returnable: N
  • ISBN-10: 1565926471
  • Publisher Date: 27 Nov 2001
  • Binding: Paperback
  • No of Pages: 506
  • Returnable: 00


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Perl for Web Site Management
O'Reilly Media -
Perl for Web Site Management
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Perl for Web Site Management

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!