Catalyst 5.8: the Perl MVC Framework

Build scalable and extendable web applications using the agile MVC framework
Preview in Mapt

Catalyst 5.8: the Perl MVC Framework

Antano Solar John

Build scalable and extendable web applications using the agile MVC framework
Mapt Subscription
FREE
$29.99/m after trial
eBook
$16.80
RRP $23.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$16.80
$39.99
$29.99p/m after trial
RRP $23.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Catalyst 5.8: the Perl MVC Framework Book Cover
Catalyst 5.8: the Perl MVC Framework
$ 23.99
$ 16.80
Entity Framework 4.1: Expert’s Cookbook Book Cover
Entity Framework 4.1: Expert’s Cookbook
$ 35.99
$ 25.20
Buy 2 for $34.30
Save $25.68
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781847199249
Paperback244 pages

Book Description

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.

Table of Contents

Chapter 1: Introduction to Catalyst
Catalyst application architecture
Installing Catalyst
Testing the installation
Where to go for help?
Summary
Chapter 2: Creating a Catalyst Application
Creating the application skeleton
Latest helper scripts
Files in the MyApp directory
Files in the lib directory
Files in the root directory
Files in the script directory
Files in the t directory
Handling URL requests
Adding a View
Adding a database
Summary
Chapter 3: Building a Real Application
Environment setup
Database design
Understanding the interface to the database
TTSite
Viewing people
Basic CRUD
Forms
Finishing up
Summary
Chapter 4: Expanding the Application
Configuration files
Sessions
Using components from outside Catalyst
Searching and paging
Authentication and authorization
Summary
Chapter 5: Building a More Advanced Application
The application
Creating the database
Extracting the data
Putting the data on the Web
Summary
Chapter 6: Building Your Own Model
Creating a database model from scratch
Extending a DBIx::Class model
Implementing a Filesystem model
Summary
Chapter 7: Hot Web Topics
REST
AJAX
RSS
Summary
Chapter 8: Moose
Moose introduction
Moose in Catalyst
Summary
Chapter 9: Deployment
Basics
Configuring a web server
Versioning code
Summary
Chapter 10: Testing
Mechanics
Testing ChatStat
Testing the AddressBook
Summary

What You Will Learn

 

  • 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

Authors

Table of Contents

Chapter 1: Introduction to Catalyst
Catalyst application architecture
Installing Catalyst
Testing the installation
Where to go for help?
Summary
Chapter 2: Creating a Catalyst Application
Creating the application skeleton
Latest helper scripts
Files in the MyApp directory
Files in the lib directory
Files in the root directory
Files in the script directory
Files in the t directory
Handling URL requests
Adding a View
Adding a database
Summary
Chapter 3: Building a Real Application
Environment setup
Database design
Understanding the interface to the database
TTSite
Viewing people
Basic CRUD
Forms
Finishing up
Summary
Chapter 4: Expanding the Application
Configuration files
Sessions
Using components from outside Catalyst
Searching and paging
Authentication and authorization
Summary
Chapter 5: Building a More Advanced Application
The application
Creating the database
Extracting the data
Putting the data on the Web
Summary
Chapter 6: Building Your Own Model
Creating a database model from scratch
Extending a DBIx::Class model
Implementing a Filesystem model
Summary
Chapter 7: Hot Web Topics
REST
AJAX
RSS
Summary
Chapter 8: Moose
Moose introduction
Moose in Catalyst
Summary
Chapter 9: Deployment
Basics
Configuring a web server
Versioning code
Summary
Chapter 10: Testing
Mechanics
Testing ChatStat
Testing the AddressBook
Summary

Book Details

ISBN 139781847199249
Paperback244 pages
Read More

Read More Reviews

Recommended for You

Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
PostgreSQL 9.0 High Performance Book Cover
PostgreSQL 9.0 High Performance
$ 29.99
$ 21.00
PostgreSQL 9 Admin Cookbook Book Cover
PostgreSQL 9 Admin Cookbook
$ 29.99
$ 21.00
Git: Version Control for Everyone Book Cover
Git: Version Control for Everyone
$ 23.99
$ 16.80
Python 3 Object Oriented Programming Book Cover
Python 3 Object Oriented Programming
$ 29.99
$ 21.00
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40