Résumé
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.
- 1. Introduction
- 2. Components
- 3. Special Components: Dhandlers and Autohandlers
- 4. APIs
- 5. Advanced Features
- 6. The Lexer, Compiler, Resolver, and Interpreter Objects
- 7. Using Mason with mod_perl
- 8. Building a Mason Site
- 9. Mason and CGI
- 10. Scalable Design
- 11. Recipes
- 12. Custom Mason Subclasses
- A. The Mason API
- B. Object Constructor Parameters
- C. Text Editors That Understand Mason
- D. Content Management with Bricolage
- Glossary
L'auteur - David Rolsky
D.Rolsky 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.
L'auteur - Ken Williams
Ken Williams 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.
Caractéristiques techniques
PAPIER | |
Éditeur(s) | O'Reilly |
Auteur(s) | David Rolsky, Ken Williams |
Parution | 25/11/2002 |
Nb. de pages | 316 |
Format | 18 x 23 |
Couverture | Broché |
Poids | 505g |
Intérieur | Noir et Blanc |
EAN13 | 9780596002251 |
ISBN13 | 978-0-596-00225-1 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse