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. ;
- ISBN13 9780596002251
- Publish Date 19 November 2002
- Publish Status Out of Print
- Out of Print 11 May 2022
- Publish Country US
- Imprint O'Reilly Media
- Format Paperback
- Pages 300
- Language English