Embedding Perl in HTML with Mason /

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 delive...

Full description

Saved in:
Bibliographic Details
Main Author: Rolsky, Dave
Other Authors: Williams, Ken, 1974-
Format: Electronic eBook
Language:English
Published: Cambridge, Mass. : O'Reilly, ©2003.
Subjects:
Online Access:CONNECT

MARC

LEADER 00000cam a2200000Ia 4500
001 in00006088420
006 m o d
007 cr unu||||||||
008 030603s2003 maua o 001 0 eng d
005 20220718132940.9
010 |z  2002074892 
035 |a 1WRLDSHRocm52355461 
040 |a HUA  |b eng  |e pn  |c HUA  |d OCLCQ  |d OCLCG  |d UMC  |d CEF  |d OCLCQ  |d CUSER  |d OCLCE  |d VLB  |d AZU  |d NHM  |d N$T  |d OCLCQ  |d OCLCF  |d TEFOD  |d E7B  |d YDXCP  |d TEFOD  |d OCLCQ  |d FEM  |d WYU  |d UAB  |d UKAHL  |d VT2  |d UKBTH  |d OCLCO  |d CZL  |d INARC  |d OCLCO 
019 |a 326736219  |a 606829404  |a 607746608  |a 729549070  |a 748105270  |a 759513522  |a 770008326  |a 809685922  |a 889255231  |a 966095514  |a 968042503  |a 969004761  |a 1056371344  |a 1061007314  |a 1062856721  |a 1075566000  |a 1083199671  |a 1103273531  |a 1104442573  |a 1113120915  |a 1124391179  |a 1129342150  |a 1159658225  |a 1179125545  |a 1202558815  |a 1240512816  |a 1256463025  |a 1295608266 
020 |a 9781449399399  |q (electronic bk.) 
020 |a 1449399398  |q (electronic bk.) 
020 |a 9781449399573  |q (electronic bk.) 
020 |a 1449399576  |q (electronic bk.) 
020 |z 0596002254 
020 |z 9780596002251 
035 |a (OCoLC)52355461  |z (OCoLC)326736219  |z (OCoLC)606829404  |z (OCoLC)607746608  |z (OCoLC)729549070  |z (OCoLC)748105270  |z (OCoLC)759513522  |z (OCoLC)770008326  |z (OCoLC)809685922  |z (OCoLC)889255231  |z (OCoLC)966095514  |z (OCoLC)968042503  |z (OCoLC)969004761  |z (OCoLC)1056371344  |z (OCoLC)1061007314  |z (OCoLC)1062856721  |z (OCoLC)1075566000  |z (OCoLC)1083199671  |z (OCoLC)1103273531  |z (OCoLC)1104442573  |z (OCoLC)1113120915  |z (OCoLC)1124391179  |z (OCoLC)1129342150  |z (OCoLC)1159658225  |z (OCoLC)1179125545  |z (OCoLC)1202558815  |z (OCoLC)1240512816  |z (OCoLC)1256463025  |z (OCoLC)1295608266 
037 |a 2A4E2B58-7D8B-494C-8233-168CC94FF4AF  |b OverDrive, Inc.  |n http://www.overdrive.com 
042 |a dlr 
050 4 |a QA76.73.P22  |b R65 2003 
082 0 4 |a 005.13/3  |2 21 
049 |a TXMM 
100 1 |a Rolsky, Dave. 
245 1 0 |a Embedding Perl in HTML with Mason /  |c Dave Rolsky & Ken Williams. 
260 |a Cambridge, Mass. :  |b O'Reilly,  |c ©2003. 
300 |a 1 online resource (xviii, 297 pages) :  |b illustrations 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
347 |a text file  |2 rda 
588 0 |a Print version record. 
520 |a 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. 
505 0 |a 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; Introduction; A First Example; The Main Features of Mason; Components: Modular Design Elements; Object-Style Component Inheritance; Intelligent Caching Mechanisms; Integration with Apache and mod_perl; Alternatives to Mason; Embperl; Apache::ASP; HTML::Template; Text::Template; Template Toolkit; PHP; Philosophy; Getting Started with Mason; A Standalone Installation 
505 8 |a A mod_perl InstallationTrying It Out; Components; Mason from 10,000 Feet; Core Concepts; Basic Component Syntax; Substitution Tags: ; Escaping substitutions; Embedded Perl: % Lines and Blocks; Calling Other Components: Tags; Components called with content; Other Named Blocks; blocks; blocks; blocks; blocks; blocks; blocks; blocks; and blocks; and blocks; blocks; Escaping a Newline; Component Arguments; Block Revisited; %ARGS; %ARGS Versus @_; Argument Examples 
505 8 |a Arguments via Component CallsArguments via HTTP Requests; Component Return Values; Special Globals; m; r; Sample Component; Special Components: Dhandlers andAutohandlers; Dhandlers; Finer Control over Dhandlers; Dhandlers and Apache Configuration; Autohandlers; Using Autohandlers for Initialization; Using Autohandlers as Filters; Inspecting the Wrapping Chain; Using Autohandlers and Dhandlers Together; APIs; Request Class and Object API; Constructor Parameters; Calling Other Components; Aborting the Flow of Execution; The Wrapping Chain; Dhandler-Related Methods; Miscellaneous Methods 
505 8 |a IntrospectionBuffer-Related Methods; Caching; Subrequests; Methods Available Only When Using ApacheHandler; Methods Available When Using ApacheHandler or CGIHandler; Getting in Close with Buffers; Component Object API; Methods for File-based Components; Buffers; Advanced Features; Subcomponents; Creating Components on the Fly; Sharing Data Among Component Sections; Methods and Attributes; Methods; Using Methods for Titles and Headers; Methods with Dynamic Content; Attributes; Top-Down Versus Bottom-Up Inheritance; Calling Components with Content Blocks; Advanced Inheritance 
505 8 |a Inheritance and Multiple Component RootsAn Advanced Inheritance Example; Subrequests; A Caution About Autohandler Inheritance; The Lexer, Compiler, Resolver, and Interpreter Objects; Passing Parameters to Mason Classes; The Lexer; The Compiler; Altering Every Component's Content; Compiler Methods; The Resolver; The Interpreter; Request Parameters Passed to the Interpreter; Using Mason with mod_perl; Configuring Mason; Configuration via httpd.conf; Configuration via Custom Code; Document Root Versus the Component Root; Not OK; r; ApacheHandler Parameters; To Autoflush or Not to Autoflush 
546 |a English. 
590 |a O'Reilly Online Learning Platform: Academic Edition (SAML SSO Access) 
650 0 |a Perl (Computer program language) 
650 0 |a HTML (Document markup language) 
650 0 |a Mason (Web site development tool) 
650 0 |a Web site development. 
700 1 |a Williams, Ken,  |d 1974- 
730 0 |a WORLDSHARE SUB RECORDS 
776 0 8 |i Print version:  |a Rolsky, Dave.  |t Embedding Perl in HTML with Mason.  |d Cambridge, Mass. : O'Reilly, ©2003  |z 0596002254  |w (DLC) 2002074892  |w (OCoLC)50291230 
856 4 0 |u https://go.oreilly.com/middle-tennessee-state-university/library/view/-/0596002254/?ar  |z CONNECT  |3 O'Reilly  |t 0 
949 |a ho0 
994 |a 92  |b TXM 
998 |a wi  |d z 
999 f f |s 235444b2-b99e-40c7-a88d-62c4a78a2c3c  |i ae2365f1-27a2-476c-8e2b-a336bd56551a  |t 0 
952 f f |a Middle Tennessee State University  |b Main  |c James E. Walker Library  |d Electronic Resources  |t 0  |e QA76.73.P22 R65 2003  |h Library of Congress classification 
856 4 0 |3 O'Reilly  |t 0  |u https://go.oreilly.com/middle-tennessee-state-university/library/view/-/0596002254/?ar  |z CONNECT