Catalyst 5.8: the Perl MVC Framework
暫譯: Catalyst 5.8:Perl MVC 框架

Antano Solar John

  • 出版商: Packt Publishing
  • 出版日期: 2010-06-28
  • 售價: $1,710
  • 貴賓價: 9.5$1,625
  • 語言: 英文
  • 頁數: 244
  • 裝訂: Paperback
  • ISBN: 1847199240
  • ISBN-13: 9781847199249
  • 相關分類: Perl 程式語言
  • 海外代購書籍(需單獨結帳)

商品描述

Build scalable and extendable web applications using the Agile MVC framework

Overview

  • Increase reusability and empower the delivery of more complex design patterns by extending the MVC concept
  • Build an editable web interface
  • Extend Catalyst through plugins
  • Plenty of examples with detailed walkthroughs to create sample applications
  • Updated for the latest version, Catalyst 5.8

In Detail

Many web applications are implemented in a way that makes developing them difficult and repetitive. Catalyst is an open source Perl-based Model-View-Controller framework that aims to solve this problem by reorganizing your web application to design and implement it in a natural, maintainable, and testable manner, making web development fun, fast, and rewarding.

This book teaches you how to use Catalyst to weave the various components involved in a web application, using methods and tools you personally prefer along with recommendations and details on the most popularly used objects like the DBIX ORM, TT2 Template, and Moose.

This book will take you from how the MVC pattern simplifies creating quality applications to how Catalyst allows you to tap this power instantly. It explains advanced design patterns and concludes with the improvements that Moose brings to all this. It also incorporates valuable suggestions and feedback received from the community members and our customers. By the end of the book, you will be able to build clean, scalable, and extendable web applications. This book embodies Catalyst's philosophies of Do It Yourself and Don't Repeat Yourself.

Design, develop, test, and deploy applications rapidly with the open source MVC Catalyst framework

What you will learn from this book

  • Use the Template toolkit to generate HTML output
  • Design a database schema and access a SQLite database
  • Create a CRUD interface to a database
  • Use FormBuilder to define auto-generating and self-validating forms
  • Create easy-to-maintain configuration files
  • Import CSV files into a database
  • Paginate search results
  • Use the session plugin to add sessions to an application
  • Explore authentication and authorization, implementing page-level and record-level control
  • Use DBIC for easy handling of data
  • Add a REST API to allow other applications to access your application
  • Add AJAX interactivity to your application
  • Incorporate RSS feeds in your application
  • Automate testing and learn "Test-Driven Development"
  • Mix a procedural interface with a relational DBIx::Class interface
  • Write a database interface without DBIx::Class
  • Build a custom Model without using any database

Approach

The book is written in an exploratory style: try something and then understand how it works. It will guide you through the features of Catalyst using real-world examples and systematic code snippets.

Who this book is written for

If you are a Perl Developer and want to strengthen your skill by understanding Web Application development using MVC principles, then this book is for you.

商品描述(中文翻譯)

建構可擴展且可延伸的網頁應用程式,使用 Agile MVC 框架

概述
- 透過擴展 MVC 概念來提高重用性,並促進更複雜設計模式的交付
- 建立可編輯的網頁介面
- 透過插件擴展 Catalyst
- 提供大量範例及詳細的步驟說明來創建範例應用程式
- 更新至最新版本,Catalyst 5.8

詳細內容
許多網頁應用程式的實現方式使得開發過程困難且重複。Catalyst 是一個基於 Perl 的開源模型-視圖-控制器(Model-View-Controller,MVC)框架,旨在通過重新組織您的網頁應用程式,以自然、可維護和可測試的方式設計和實現,從而解決這個問題,使網頁開發變得有趣、快速且有成就感。

本書教您如何使用 Catalyst 將網頁應用程式中涉及的各種組件編織在一起,使用您個人偏好的方法和工具,並提供對最常用物件(如 DBIX ORM、TT2 模板和 Moose)的建議和詳細說明。

本書將帶您了解 MVC 模式如何簡化高品質應用程式的創建,以及 Catalyst 如何讓您立即利用這種力量。它解釋了進階設計模式,並以 Moose 帶來的改進作為結尾。書中還融入了來自社群成員和我們客戶的寶貴建議和反饋。到書的結尾,您將能夠構建乾淨、可擴展且可延伸的網頁應用程式。本書體現了 Catalyst 的「自己動手做」(Do It Yourself)和「不要重複自己」(Don't Repeat Yourself)哲學。

快速設計、開發、測試和部署應用程式,使用開源 MVC Catalyst 框架

您將從本書中學到什麼
- 使用模板工具包生成 HTML 輸出
- 設計資料庫架構並訪問 SQLite 資料庫
- 創建對資料庫的 CRUD 介面
- 使用 FormBuilder 定義自動生成和自我驗證的表單
- 創建易於維護的配置檔
- 將 CSV 檔案匯入資料庫
- 對搜尋結果進行分頁
- 使用會話插件為應用程式添加會話
- 探索身份驗證和授權,實現頁面級和記錄級控制
- 使用 DBIC 方便地處理數據
- 添加 REST API 以允許其他應用程式訪問您的應用程式
- 為您的應用程式添加 AJAX 互動性
- 在您的應用程式中整合 RSS 源
- 自動化測試並學習「測試驅動開發」(Test-Driven Development)
- 將程序介面與關聯式 DBIx::Class 介面混合使用
- 在不使用 DBIx::Class 的情況下編寫資料庫介面
- 在不使用任何資料庫的情況下構建自定義模型

方法
本書採用探索性風格撰寫:嘗試某些東西,然後理解其運作方式。它將通過真實世界的範例和系統化的程式碼片段引導您了解 Catalyst 的特性。

本書的讀者對象
如果您是 Perl 開發者,並希望通過理解使用 MVC 原則的網頁應用程式開發來增強您的技能,那麼本書適合您。

最後瀏覽商品 (20)