Catalyst 5.8: the Perl MVC Framework and over 1.5 million other books are available for Amazon Kindle . Learn more


or
Sign in to turn on 1-Click ordering.
Trade in Yours
For a £1.65 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Start reading Catalyst 5.8: the Perl MVC Framework on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Catalyst 5.8: the Perl MVC Framework [Paperback]

Antano Solar John
4.0 out of 5 stars  See all reviews (1 customer review)
RRP: £24.99
Price: £23.74 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £1.25 (5%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon. Gift-wrap available.
Want delivery by Tuesday, 28 May? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Kindle Edition £15.44  
Paperback £23.74  
Trade In this Item for up to £1.65
Trade in Catalyst 5.8: the Perl MVC Framework for an Amazon.co.uk gift card of up to £1.65, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Book Description

1 July 2010 1847199240 978-1847199249 2nd

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.


Frequently Bought Together

Catalyst 5.8: the Perl MVC Framework + The Definitive Guide to Catalyst: Writing Extendable, Scalable and Maintainable Perl-Based Web Applications (Expert's Voice in Web Development)
Price For Both: £57.31

Buy the selected items together


Product details

  • Paperback: 228 pages
  • Publisher: Packt Publishing; 2nd edition (1 July 2010)
  • Language: English
  • ISBN-10: 1847199240
  • ISBN-13: 978-1847199249
  • Product Dimensions: 19.1 x 1.3 x 23.5 cm
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: 358,609 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, and more.

Product Description

About the Author

Antano Solar John


Antano Solar John is a tech evangelist who is passionate about using technology to revolutionize the learning experience! He authored his first book on MODx with Packt in 2008 which was also the first book ever written on this platform.


Antano has contributed massively to the open source community in terms of documentation, code, and support on various platforms based on PHP, Perl, Lisp, Python, Ruby, and so on. His contribution to the open source world has allowed him to meet and model from a variety of people who have learned to code and think naturally! His writing skills benefit from this advantage thereby bringing structure and clarity to the learner.


Antano's first technical publication titled "Help AI Help You-Swiss Knife of Communication" was on Communication and Machine Learning using Neuro Linguistic Programming (NLP) concepts such as Meta Modelling and Deep Structures, which was critically acclaimed by communication and technology experts. He has also been recently certified as a licensed NLP practitioner by its cofounder Richard Bandler. Other papers by Antano include "802.11 MAC Enhancements-Breaking Barriers of Wireless Speed" that was published in the IEEE Journal, "Learning to Develop in the Open Source World", and so on.


Owing to his experience as a consultant and trainer, Antano has designed course structure and content for corporate learners at different levels on subjects such as Object Oriented Perl, Unix System Fundamentals, Shell basic, Ruby on Rails, and so on. In association with MaFoi Ranstad, Antano entirely designed and implemented a structured course for transitioning web designers into developers through a one-day blended learning program called "Learn".


Antano has been keenly focusing on Accelerated Learning. He has conducted workshops at various reputed colleges and corporate events on how to learn quickly and effectively-technology languages and platforms using strategies that he has developed. His experience with NLP, which is the science of Modelling Excellence has helped him with this effort.


As part of his consultant assignments he has worked on Catalyst from its early stages. He has been a consultant and a trainer providing IT solutions and sessions on VoIP, networks, and software platforms, and languages. Currently, he is the Chief Technology Officer (CTO) at NuVeda Learning. In his present role, he is responsible for accelerated learning solutions which leverages technology for speed and scale.


Antano's other interests include Music, Dance, Martial Arts, and Chess. He used to play Chess professionally as a child. Antano used to run a successful gaming business when gaming as a business was almost unheard of. He has also won the yahoo hack award twice in India consequently, once for developing a Collaborative Browsing Mechanism using lines of code shorter than this biography without any server or proxy and then yet again for developing a Hybrid Search Engine from scratch in 24 hours that uses Machine and Social Intelligence to identify, search, and distill information in contexts you expect!


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

5 star
0
3 star
0
2 star
0
1 star
0
4.0 out of 5 stars
4.0 out of 5 stars
Most Helpful Customer Reviews
1 of 1 people found the following review helpful
4.0 out of 5 stars Good book. Beginner friendly. 29 July 2010
Format:Paperback
The Good

This book does a pretty good job of covering all of the basics for people new to Catalyst from installation and app creation to using the most common ORM (DBIX::Class), testing and deployment. There always seems to be a debate about what examples books should use for beginners: best practices vs. simple examples. This book does a pretty good job of finding that middle ground in that area. For example, some of the templating examples aren't the greatest when it comes to reuse, but the prevention of XSS and security/html encoding are explained fro the beginning.

I'm also fond of this books treatment of models. While it doesn't explicitly mention "domain model" vs. "data model" arguments, it does a great job of having the user think about having their "models" be reusable and working outside of Catalyst (like in a pl script) before applying "glue" to use those models inside of Catalyst. This is reinforced by creating a few utility scripts to prepopulate the database with data before using that data in Catalyst itself as well as creating non database models for use as Catalyst "models".

This book spends a fair amount of time talking about the most common features of DBIx::Class as well as presenting options to do the same things in DBI without an ORM for contrast. This book feels like it's really 35% of a DBIx::Class book. I think that's a good thing.

Another good area for me was Authentication/Authorization. Those two things aren't the same and a lot of framework book gloss over that fact. This book did a good job of explaining the difference and showing how to implement each part.

One of my favorite chapters of the book was the "Hot Web Topic" area which covered REST and AJAX. While most people are familiar with these things, it's nice that a beginners book covers them. My favorite nugget though is Jemplate, which allows you to essentially reuse templates from your views within your AJAX handlers. While everyone seems to talk about AJAX, I've not seem too many people take up the topic of templating your dynamically generated HTML for the sake of DRY.

Last but not least, it's always nice to be able to download the source code for the examples included in the book.

The Bad

Like all books, there are some things that feel like they were glossed over for the sake or brevity that would've have made for a more complete book for Catalyst beginners.

First, in the tempting examples, this book uses an admittedly "unsupported" module called TTSite, which have the common header/footer/wrapper type issues already implemented. I think it would have been better to walk users through setting up those things using the default view and the wrapper options in Template Toolkit.

This is a minor nit and not really a bad thing, but it would've been nice for the book to talk a little more about the use of go() vs forward() when transferring between actions.

My last complaint is one of linking to CPAN. CPAN modules often change hands or are updated by many people. Almost all of the links to CPAN in this book link to a specific persons account when they should probably be linking to the dist instead:

# Current
http://search.cpan.org/~bobtfish/Catalyst-Action-REST-0.85/

# Better
http://search.cpan.org/dist/Catalyst-Action-REST-0.85/

The Ugly

The worst part about this book for me was the code formatting. The wrapping of long lines isn't very readable and for the most part it feels like someone formatted code using Microsoft Word. I haven't ready any other Catalyst books for comparison, but the code formatting in my Rails books are much easier on the eyes to read. I don't know if that's due to language differences, color/font choices, or if maybe putting the code inside of images would help.

Conclusions

Without having read other Catalyst books, I do think this book is a good resource for beginners of Catalyst MVC development. People already familiar with an older version of Catalyst might not find too many surprises, but there are a few nuggets of information about Catalyst+Moose and a good overview of DBIx::Class to refresh your brain.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 2.2 out of 5 stars  4 reviews
7 of 8 people found the following review helpful
4.0 out of 5 stars Good content. Beginner friendly. 29 July 2010
By Chris H. Laco - Published on Amazon.com
Format:Paperback
The Good

This book does a pretty good job of covering all of the basics for people new to Catalyst from installation and app creation to using the most common ORM (DBIX::Class), testing and deployment. There always seems to be a debate about what examples books should use for beginners: best practices vs. simple examples. This book does a pretty good job of finding that middle ground in that area. For example, some of the templating examples aren't the greatest when it comes to reuse, but the prevention of XSS and security/html encoding are explained fro the beginning.

I'm also fond of this books treatment of models. While it doesn't explicitly mention "domain model" vs. "data model" arguments, it does a great job of having the user think about having their "models" be reusable and working outside of Catalyst (like in a pl script) before applying "glue" to use those models inside of Catalyst. This is reinforced by creating a few utility scripts to prepopulate the database with data before using that data in Catalyst itself as well as creating non database models for use as Catalyst "models".

This book spends a fair amount of time talking about the most common features of DBIx::Class as well as presenting options to do the same things in DBI without an ORM for contrast. This book feels like it's really 35% of a DBIx::Class book. I think that's a good thing.

Another good area for me was Authentication/Authorization. Those two things aren't the same and a lot of framework book gloss over that fact. This book did a good job of explaining the difference and showing how to implement each part.

One of my favorite chapters of the book was the "Hot Web Topic" area which covered REST and AJAX. While most people are familiar with these things, it's nice that a beginners book covers them. My favorite nugget though is Jemplate, which allows you to essentially reuse templates from your views within your AJAX handlers. While everyone seems to talk about AJAX, I've not seem too many people take up the topic of templating your dynamically generated HTML for the sake of DRY.

Last but not least, it's always nice to be able to download the source code for the examples included in the book.

The Bad

Like all books, there are some things that feel like they were glossed over for the sake or brevity that would've have made for a more complete book for Catalyst beginners.

First, in the tempting examples, this book uses an admittedly "unsupported" module called TTSite, which have the common header/footer/wrapper type issues already implemented. I think it would have been better to walk users through setting up those things using the default view and the wrapper options in Template Toolkit.

This is a minor nit and not really a bad thing, but it would've been nice for the book to talk a little more about the use of go() vs forward() when transferring between actions.

My last complaint is one of linking to CPAN. CPAN modules often change hands or are updated by many people. Almost all of the links to CPAN in this book link to a specific persons account when they should probably be linking to the dist instead:

# Current
[...]

# Better
[...]

The Ugly

The worst part about this book for me was the code formatting. The wrapping of long lines isn't very readable and for the most part it feels like someone formatted code using Microsoft Word. I haven't ready any other Catalyst books for comparison, but the code formatting in my Rails books are much easier on the eyes to read. I don't know if that's due to language differences, color/font choices, or if maybe putting the code inside of images would help.

Conclusions

Without having read other Catalyst books, I do think this book is a good resource for beginners of Catalyst MVC development. People already familiar with an older version of Catalyst might not find too many surprises, but there are a few nuggets of information about Catalyst+Moose and a good overview of DBIx::Class to refresh your brain.
4 of 4 people found the following review helpful
1.0 out of 5 stars Same book as 'Catalyst: Accelerating Perl Web Application Development' by Jonathan Rockway 19 Jan 2012
By waldo - Published on Amazon.com
Format:Paperback|Amazon Verified Purchase
This book should be titled and referred to as an update of 'Catalyst: Accelerating Perl Web Application Development' by Jonathan Rockway because that is what it is.

The problem I have with it is that I bought 'Catalyst: Accelerating Perl Web Application Development' by Jonathan Rockway after I bought this book, only to find that they are the same book. Good thing I bought a used copy of Jonathan's book and did not spend much on it.

I think this was very deceptive of the publisher and I feel I wasted $12.00 because of this. Not a big deal money-wise, I am more irritated that I wasted my time ordering and anticipating the arrival of the old book. Shame on the publisher.

I worked through about half this book and have never seen a book riddled with so many coding errors. It is like nobody bothered looking for them, they are so obvious - how could anybody miss them?

Absolutely the most poorly published book I have ever seen. This publisher should be ashamed.
1 of 1 people found the following review helpful
2.0 out of 5 stars Disappointing and confusing 30 Jan 2012
By JPH - Published on Amazon.com
Format:Paperback
After carefully reading this book, applying the errata, and typing in all the example code, I am still unclear on how Catalyst works. The book needs diagrams showing the control flow of a Catalyst application. I could not get either the MyApp nor ChatStat example applications to work. This would not have been so bad had there been sufficient information in the book to learn how to debug the code.

I have coded in perl for many years and looked forward to using this mature, well supported language for web application development. However, this book left me on the outside looking in trying to find a starting point from which to unpeel and thoroughly understand Catalyst.
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!

Create a Listmania! list

Look for similar items by category


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges