50
Used, New, and Out of Print Books - We Buy and Sell - Powell's Books
Cart |
|  my account  |  wish list  |  help   |  800-878-7323
Hello, | Login
MENU
  • Browse
    • New Arrivals
    • Bestsellers
    • Featured Preorders
    • Award Winners
    • Audio Books
    • See All Subjects
  • Used
  • Staff Picks
    • Staff Picks
    • Picks of the Month
    • Bookseller Displays
    • 50 Books for 50 Years
    • 25 Best 21st Century Sci-Fi & Fantasy
    • 25 PNW Books to Read Before You Die
    • 25 Books From the 21st Century
    • 25 Memoirs to Read Before You Die
    • 25 Global Books to Read Before You Die
    • 25 Women to Read Before You Die
    • 25 Books to Read Before You Die
  • Gifts
    • Gift Cards & eGift Cards
    • Powell's Souvenirs
    • Journals and Notebooks
    • socks
    • Games
  • Sell Books
  • Blog
  • Events
  • Find A Store

Don't Miss

  • A Sale By Any Other Name
  • Spring Sale
  • Scientifically Proven Sale
  • Powell's Author Events
  • Oregon Battle of the Books
  • Audio Books

Visit Our Stores


Powell's Staff: 9 New Books to Read This Transgender Day of Visibility (0 comment)
March 31 is International Transgender Day of Visibility, a day dedicated to celebrating the lives and accomplishments of transgender and gender-nonconforming people, while continuing to bring attention to the ongoing prejudice and violence the community faces every day. It’s also a day that serves as an important reminder to cisgender folks...
Read More»
  • Kelsey Ford: Powell's Picks Spotlight: Kelly Link's 'White Cat, Black Dog' (0 comment)
  • Powell's Staff: New Literature in Translation: March 2023 (0 comment)

{1}
##LOC[OK]##
{1}
##LOC[OK]## ##LOC[Cancel]##
{1}
##LOC[OK]## ##LOC[Cancel]##

Embedding Perl in HTML with Mason

by Rolsky, Dave and Williams, Ken
Embedding Perl in HTML with Mason

  • Comment on this title
  • Synopses & Reviews
  • Read Author Note

ISBN13: 9780596002251
ISBN10: 0596002254
Condition: Standard


All Product Details

View Larger ImageView Larger Images
Ships free on qualified orders.
Add to Cart
0.00
List Price:0.00
Trade Paperback
Ships in 1 to 3 days
Add to Wishlist

Synopses & Reviews

Publisher Comments

Mason doesn't aim to be the one true Perl-based templating system for building web sites, but it's led many programmers to abandon their custom solutions when they've seen how much easier using Mason can be. It's a powerful, open source, Perl-based web site development and delivery engine, with features that make it an ideal backend for high load sites serving dynamic content. Mason uses a concept called components: a mix of HTML, Perl, and special Mason commands. These components can be entire web pages, or bits of HTML that can be embedded in top-level components. Shared and reusable, these components greatly simplify site maintenance: when you change a shared component, you instantly change all pages that refer to it.Although using Mason isn't difficult, creating a Mason-based site can be tricky. Embedding Perl in HTML with Mason, written by members of Mason's core development team, shows you how to take advantage of Mason's strengths while avoiding the obstacles that inexperienced users may encounter. Mason's unique features, when used properly, can streamline the design of a web site or application. This concise book covers these features from several angles, and includes a study of the authors' sample site where these features are used.Embedding Perl in HTML with Mason shows you how to create large, complex, dynamically driven web sites that look good and are a snap to maintain. You'll learn how to visualize multiple Mason-based solutions to any given problem and select among them. The book covers the latest line of Mason development 1.1x, which has many new features, including line number reporting based on source files, sub-requests, and easier use as a CGI. The only book to cover this important tool, Embedding Perl in HTML with Mason is essential reading for any Perl programmer who wants to simplify web site design. Learn how to use Mason, and you'll spend more time making things work, and less time reinventing the wheel.

Synopsis

This is the first book to introduce Mason, an open source Perl-based platformwith template elements.

About the Author

is a programmer, author, and activist with a background in music composition and an obsession with Hong Kong films and the works of author Gene Wolfe. He has been actively developing Free (Perl) Software for several years and is a member of the Mason core development team. For more information about Embedding Perl in HTML with Mason please visit www.masonbook.com, a web site maintained by the authors where additional information and downloadable source code are available.

is a researcher in Document Categorization at the University of Sydney in Australia. He has written many Perl modules of varying utility, about 20 of which are available on CPAN. Like co-author Dave Rolsky, Ken is a member of the HTML::Mason core development team. His educational background is in mathematics and music. For more information about Embedding Perl in HTML with Mason please visit www.masonbook.com, a web site maintained by the authors where additional information and downloadable source code are available.


Table of Contents

Foreword; Preface; Intended Audience; Requirements; How to Read This Book; Overview; Other Resources; Typographic Conventions; We'd Like to Hear from You; Open Publication License; Acknowledgments; Chapter 1: Introduction; 1.1 A First Example; 1.2 The Main Features of Mason; 1.3 Alternatives to Mason; 1.4 Philosophy; 1.5 Getting Started with Mason; Chapter 2: Components; 2.1 Mason from 10,000 Feet; 2.2 Core Concepts; 2.3 Basic Component Syntax; 2.4 Component Arguments; 2.5 Component Return Values; 2.6 Special Globals; 2.7 Sample Component; Chapter 3: Special Components: Dhandlers and Autohandlers; 3.1 Dhandlers; 3.2 Autohandlers; 3.3 Using Autohandlers and Dhandlers Together; Chapter 4: APIs; 4.1 Request Class and Object API; 4.2 Component Object API; 4.3 Buffers; Chapter 5: Advanced Features; 5.1 Subcomponents; 5.2 Creating Components on the Fly; 5.3 Sharing Data Among Component Sections; 5.4 Methods and Attributes; 5.5 Calling Components with Content Blocks; 5.6 Advanced Inheritance; 5.7 Subrequests; Chapter 6: The Lexer, Compiler, Resolver, and Interpreter Objects; 6.1 Passing Parameters to Mason Classes; 6.2 The Lexer; 6.3 The Compiler; 6.4 The Resolver; 6.5 The Interpreter; Chapter 7: Using Mason with mod_perl; 7.1 Configuring Mason; 7.2 Document Root Versus the Component Root; 7.3 Not OK; 7.4 $r; 7.5 ApacheHandler Parameters; 7.6 To Autoflush or Not to Autoflush; 7.7 Generating Something Besides HTML; 7.8 Apache::Status and Mason; Chapter 8: Building a Mason Site; 8.1 Functionality; 8.2 Directory Layout; 8.3 File Extensions; 8.4 Apache Configuration; 8.5 The Components; 8.6 Components with Access Controls; 8.7 All Done; 8.8 Further Directions; Chapter 9: Mason and CGI; 9.1 CGI-Appropriate Situations; 9.2 CGI-Inappropriate Situations; 9.3 Creating a CGI-Based Site in Mason; 9.4 Using Mason Templates Inside Regular CGI Scripts; 9.5 Differences Between Mason Under CGI and mod_perl; Chapter 10: Scalable Design; 10.1 Modules Versus Components; 10.2 Components as Independent Units; 10.3 Component Layout; 10.4 File Naming and Directory Layout; 10.5 Random Advice; Chapter 11: Recipes; 11.1 Sessions; 11.2 Making Use of Autoflush; 11.3 User Authentication and Authorization; 11.4 Co-Branding Color Schemes; 11.5 Developer Environments; 11.6 Using Mason Outside of Dynamic Web Sites; Chapter 12: Custom Mason Subclasses; 12.1 Class::Container as a Superclass; 12.2 Syntax: Your Very Own Lexer; 12.3 Output: Compiling to a Different Output; 12.4 Storage: Replacing the Resolver; 12.5 Request: A Request Object with a Built-in Session; 12.6 Argument Munging: ApacheHandler; 12.7 More Reader Exercises; The Mason API; Interpreter; Request; Component; Resolver; ApacheHandler; CGIHandler; Compiler; Lexer; Object Constructor Parameters; HTML::Mason::Interp; HTML::Mason::Request; HTML::Mason::Resolver::File; HTML::Mason::ApacheHandler; HTML::Mason::Compiler; HTML::Mason::Component; HTML::Mason::Buffer; HTML::Mason::CGIHandler; HTML::Mason::Lexer; Text Editors That Understand Mason; Emacs; Vim; Content Management with Bricolage; Installing Bricolage; Elements: the Building Blocks of Content; Content Editing; Templates; Where to Learn More; Glossary; Colophon;


What Our Readers Are Saying

Be the first to share your thoughts on this title!




Product Details

ISBN:
9780596002251
Binding:
Trade Paperback
Publication date:
11/05/2002
Publisher:
O'Reilly Media
Language:
English
Pages:
320
Height:
.74IN
Width:
7.04IN
Thickness:
.74 in.
LCCN:
2002074892
Number of Units:
1
Illustration:
Yes
Copyright Year:
2003
Series Volume:
MCH089
UPC Code:
2800596002253
Author:
Jonathan Swartz
Author:
Ken Williams
Author:
Dave Rolsky
Author:
Dave Rolsky and Ken Williams
Foreword:
Jonathan Swartz
Subject:
Perl
Subject:
General-General
Subject:
mod_perl
Subject:
HTML
Subject:
Computer
Subject:
Perl (computer program language)
Subject:
WEB
Subject:
Web site development
Subject:
Html (document markup language)
Subject:
Mason

Ships free on qualified orders.
Add to Cart
0.00
List Price:0.00
Trade Paperback
Ships in 1 to 3 days
Add to Wishlist
Used Book Alert for book Receive an email when this ISBN is available used.
{1}
##LOC[OK]##
{1}
##LOC[OK]## ##LOC[Cancel]##
{1}
##LOC[OK]## ##LOC[Cancel]##
{1}
##LOC[OK]##
{1}
##LOC[OK]## ##LOC[Cancel]##
{1}
##LOC[OK]## ##LOC[Cancel]##
{1}
##LOC[OK]##
{1}
##LOC[OK]## ##LOC[Cancel]##
{1}
##LOC[OK]## ##LOC[Cancel]##
{1}
##LOC[OK]##
{1}
##LOC[OK]## ##LOC[Cancel]##
{1}
##LOC[OK]## ##LOC[Cancel]##
  • Twitter
  • Facebook
  • Pinterest
  • Instagram

  • Help
  • Guarantee
  • My Account
  • Careers
  • About Us
  • Security
  • Wish List
  • Partners
  • Contact Us
  • Shipping
  • Transparency ACT MRF
  • Sitemap
  • © 2023 POWELLS.COM Terms

{1}
##LOC[OK]##
{1}
##LOC[OK]## ##LOC[Cancel]##
{1}
##LOC[OK]## ##LOC[Cancel]##
{1}
##LOC[OK]##
{1}
##LOC[OK]## ##LOC[Cancel]##
{1}
##LOC[OK]## ##LOC[Cancel]##
{1}
##LOC[OK]##
{1}
##LOC[OK]## ##LOC[Cancel]##
{1}
##LOC[OK]## ##LOC[Cancel]##
{1}
##LOC[OK]##
{1}
##LOC[OK]## ##LOC[Cancel]##
{1}
##LOC[OK]## ##LOC[Cancel]##