Embedding Perl in HTML with Mason [NOOK Book]

Overview

Foreword

When Dave asked last year if I wanted to cowrite a book about Mason, I mused over the idea for a few hours but ultimately declined. I've already written a good deal about Mason in documentation and articles and wouldn't want the book to become a rehash of my particular point of view. On a more personal level, the thought of creating any text longer than a few pages ...
See more details below
Embedding Perl in HTML with Mason

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
$2.99
BN.com price

Overview

Foreword

When Dave asked last year if I wanted to cowrite a book about Mason, I mused over the idea for a few hours but ultimately declined. I've already written a good deal about Mason in documentation and articles and wouldn't want the book to become a rehash of my particular point of view. On a more personal level, the thought of creating any text longer than a few pages fills me with trepidation. Given the choice of eight hours of backbreaking Perl coding or an hour of writing, I'd take the code any day.

This book was authored, instead, by two Mason developers who have a fresh perspective and who, apparently, like writing as well as coding. Dave and Ken have been involved with Mason for years; they've contributed to the project immeasurably, first in discussions and later to the Mason core itself. I cannot imagine two people better suited for this book.

When authors have unfettered access to the CVS repository, as Dave and Ken do, the writing process ends up shaping the product itself (e.g., "I just wrote about this feature but it turns out it doesn't exist--I'm going to implement it" or "I just wrote about this feature and it's horrible, can we kill it?"). As a result, Mason has grown over the past year in ways I never would have predicted.

Read Chapter 12, for example, to see the new parsing/compiling infrastructure so insanely flexible that one can compile Mason into Embperl or replace Mason's syntax with an XML variant. (Consider the original parser, a single 371-line subroutine, and you get an idea of how far we've come.)

Or Chapter 5 to see how "Calling Components with Content Blocks" turns content filtering from a limited hack into a first-class language feature and opens the door to the creation of custom language tags.

Or Chapter 9 to see how support for CGI (and its high-powered cousins FastCGI and SpeedyCGI) has gone from a few paragraphs in the FAQ to a full-fledged handler, inside a new modular architecture just begging for additional platforms.

Such changes expand Mason's reach to an ever larger set of problems. At the same time, the reference sections and copious recipes in this book help to fulfill Mason's original mission: to provide a fun, simple, and powerful environment for mod_perl development. Should we stray too far from this path, we will certainly hear of it from the users.

Reading this book has taught me a surprising number of techniques about a product I used to know everything about and has reignited my enthusiasm for building cool web applications. I hope it does the same for you.
Read More Show Less

Product Details

  • BN ID: 2940014076630
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 1/30/2012
  • Sold by: Barnes & Noble
  • Format: eBook
  • File size: 967 KB

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)