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. The book shows 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. It covers these features from several angles, and includes a study of the authors' sample site where these features are used.
The book also 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 release of Mason 1.12, 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 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. ;
Buy Embedding Perl in HTML with Mason book by Dave Rolsky from Australia's Online Independent Bookstore, Boomerang Books.
(233mm x 178mm x 19mm)
O'Reilly Media, Inc, USA
Publisher: O'Reilly Media, Inc, USA
Country of Publication:
Author Biography - Dave Rolsky
Dave Rolsky is a programmer, author, and activist with a background in music composition and reading science fiction. He has been active in the development of Free (Perl) Software for several years. Dave is part of the core development team for Mason. Ken Williams is a researcher in Document Categorization at the University of Sydney in Australia. He has written many Perl modules of varying utility, and 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.