買這商品的人也買了...
-
$680$537 -
$650$553 -
$931A First Course in Database Systems, 2/e
-
$825Cisco CCNA Exam #640-607 Certification Guide, 3/e
-
$1,730$1,644 -
$850$680 -
$550$435 -
$1,300$1,235 -
$780$741 -
$590$466 -
$1,970$1,872 -
$620$490 -
$780$663 -
$720$569 -
$750$638 -
$560$476 -
$1,088Perl Template Toolkit (Paperback)
-
$390$332 -
$480$408 -
$2,190$2,081 -
$580$493 -
$980$774 -
$600$480 -
$399The Definitive Guide to Catalyst: Writing Extensible, Scalable and Maintainable Perl–Based Web Applications (Paperback)
-
$550$435
相關主題
商品描述
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.
Table of Contents
Foreword
Preface
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
Index
商品描述(中文翻譯)
Mason並不旨在成為唯一真正的基於Perl的模板系統來構建網站,但它使許多程序員在看到使用Mason的便利性後,放棄了他們的自定義解決方案。這是一個強大、開源的基於Perl的網站開發和交付引擎,具備使其成為高負載動態內容網站理想後端的特性。Mason使用一種稱為組件的概念:這是一種HTML、Perl和特殊Mason命令的混合。這些組件可以是整個網頁,或是可以嵌入在頂層組件中的HTML片段。這些共享和可重用的組件大大簡化了網站維護:當您更改一個共享組件時,所有引用該組件的頁面都會立即更新。
雖然使用Mason並不困難,但創建基於Mason的網站可能會有些棘手。《Embedding Perl in HTML with Mason》由Mason核心開發團隊的成員撰寫,展示了如何利用Mason的優勢,同時避免經驗不足的用戶可能遇到的障礙。Mason的獨特功能在正確使用時,可以簡化網站或應用程序的設計。這本簡明的書籍從多個角度涵蓋了這些特性,並包括了作者的示範網站的研究,該網站使用了這些特性。
《Embedding Perl in HTML with Mason》教您如何創建大型、複雜、動態驅動的網站,這些網站不僅外觀良好,且維護起來輕而易舉。您將學會如何視覺化針對任何特定問題的多個基於Mason的解決方案並在其中選擇。這本書涵蓋了最新的Mason開發版本1.1x,該版本具有許多新特性,包括基於源文件的行號報告、子請求以及作為CGI的更簡單使用。《Embedding Perl in HTML with Mason》是唯一涵蓋這一重要工具的書籍,對於任何希望簡化網站設計的Perl程序員來說,都是必讀之作。學會如何使用Mason,您將花更多時間讓事情運作,而不是重複造輪子。
目錄
前言
序言
1. 介紹
2. 組件
3. 特殊組件:Dhandlers和Autohandlers
4. API
5. 進階特性
6. Lexer、Compiler、Resolver和Interpreter物件
7. 與mod_perl一起使用Mason
8. 建立Mason網站
9. Mason與CGI
10. 可擴展設計
11. 配方
12. 自定義Mason子類
A. Mason API
B. 物件建構子參數
C. 理解Mason的文本編輯器
D. 使用Bricolage進行內容管理
術語表
索引