找回密码
 注册
搜索
热搜: java php web
查看: 657|回复: 1

Catalyst: Accelerating Perl Web Application Development

[复制链接]
发表于 2010-1-8 22:24:25 | 显示全部楼层 |阅读模式


作者:Jonathan Rockway
出版日期:December 11, 2007
出版社:其它
页数:200
ISBN:978-1847190956
文件格式:PDF

Accelerating Perl Web Application Development
  • Understand the Catalyst Framework and MVC architecture
  • Build and test a site with Catalyst
  • Detailed walkthroughs to create sample applications
  • Extend Catalyst through plug-ins
In Detail
Many web applications are implemented in a way that makes developingthem painful and repetitive. Catalyst is an open-source Perl-basedModel-View-Controller framework that aims to solve this problem byreorganizing your web application to design and implement it in anatural, maintainable, and testable manner, making web development fun,fast, and rewarding.
Everything that your web application needs to do is only writtenonce; you connect to the database in one place, have configuration inone place, etc. Then, you just write actions for each URL that yourapplication needs, without worrying about the database connections orHTML to produce. Catalyst will handle the details so you can worryabout writing your application.
Catalyst is designed to be reliable. There are hundreds ofproduction applications and thousands of users. The code iswell-tested, and new releases almost always maintain compatibility withapplications written for older versions. You don’t have to worry aboutCatalyst breaking your application and slowing down your development.It just works.
Most importantly, Catalyst has a thriving community. You can ask aquestion on the IRC channel and get a response at almost any time ofthe day.
This book embodies Catalyst’s philosophies of Do It Yourself and Don’t Repeat Yourself.
What you will learn from this book?
  • Installing and setting up Catalyst
  • How MVC works in Catalyst, explained with a simple example
  • Using the Template toolkit to generate HTML output
  • Designing a database schema and accessing a SQLite database
  • Creating a CRUD interface to a database
  • Using FormBuilder to define auto-generating and self-validating forms
  • Creating easy-to-maintain configuration files
  • Importing CVS files into a database
  • Paginating search results
  • Using the session plug-in to add sessions to an application
  • Authentication and authorization, explored by implementing page-level and record-level control
  • Building an editable web interface
  • Features of DBIC for easy handling of data
  • Interfacing to your data:
    • Mixing a procedural interface with a relational DBIx::Class interface
    • Writing a database interface without DBIx::Class
    • Building a custom Model without using any database
  • Adding a REST API to allow other applications to access your application
  • Adding AJAX interactivity to your application
  • Incorporating RSS feeds in your application
  • Automated testing and the “Test-Driven Development” methodology, discussed in depth
  • Techniques to test your Catalyst application easily
  • Writing tests for applications developed in this book with Mechanize and Selenium
  • Packaging your application:
    • Manage dependencies and create packages easily using Makefile.PL
    • Create a unique configuration for each environment
    • How to set up for a variety of web servers
    • How to make your application a self-contained file (PAR)
Approach
This book will guide you through the features of Catalyst using real-world examples and systematic code snippets.
Who this book is written for?
This book is for web developers with basic Perl skills who are newto Catalyst. If you are excited by Ruby on Rails but would like thefeatures of Rails with the familiarity of Perl, pick this book and getstarted.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2010-4-8 05:38:24 | 显示全部楼层
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|软晨网(RuanChen.com)

GMT+8, 2024-9-20 15:27

Powered by Discuz! X3.5

Copyright © 2001-2023 Tencent Cloud.

快速回复 返回顶部 返回列表