Jonathan Rockway's Catalyst: Accelerating Perl Web Application Development PDF

By Jonathan Rockway

ISBN-10: 1847190952

ISBN-13: 9781847190956

Layout, boost, attempt, and install purposes with the open-source MVC Catalyst framework. This booklet is for net builders with simple Perl talents who're new to Catalyst. when you are fascinated by Ruby on Rails yet would favor the positive factors of Rails with the familiarity of Perl, choose this ebook and start.

Show description

Read Online or Download Catalyst: Accelerating Perl Web Application Development PDF

Similar web design books

Download e-book for kindle: Apache OFBiz Development: The Beginner's Tutorial by Rupert Howell, Jonathon Wong

I didn't start with ofbiz improvement long ago utilizing the web documentation and different education fabric. This booklet controlled to get me up and operating very quickly. there has been much more that i wanted to benefit after examining this ebook, yet this publication bought me began. I usually use this ebook as a reference.

Using Joomla: Building Powerful and Efficient Web Sites by Ron Severdia PDF

Why use Joomla? simply because with Joomla you do not need to have any technical services or website design adventure to create potent web pages and internet apps. even if you are developing your first web site or development a multi-function website for a consumer, this booklet offers undemanding, hands-on guideline that makes it effortless to profit this open resource websites administration approach.

New PDF release: Asterisk 1.6

The e-book bargains readers either an in depth description in addition to step-by-step directions on deploying software program strategies in addition to Asterisk configurations. Screenshots are supplied in sections to offer a visible standpoint of the directions. For Asterisk configurations real pattern code is indexed within the booklet which are without delay inserted into your Asterisk answer.

New PDF release: HTML5. The Missing Manual

HTML5 is greater than a markup language—it’s a suite of numerous self sustaining net criteria. thankfully, this multiplied consultant covers every little thing you wish in a single handy position. With step by step tutorials and real-world examples, HTML5: The lacking handbook indicates you ways to construct net apps that come with video instruments, dynamic snap shots, geolocation, offline gains, and responsive layouts for cellular units.

Additional resources for Catalyst: Accelerating Perl Web Application Development

Example text

We use this ID number to view the person with that ID in the database via the find_or_new DBIC method. The find method by itself will work for locating existing records, but using find_or_new instead will create a new record if there's no matching record already in the database. The new record that is created is not actually written to the database; it only exists in memory. Only when we insert the record explicitly will it be created in the database. This allows us to call find_or_new each time the action is called because we only insert_or_update the record when we've verified that the data is valid.

This gets the first two arguments passed to the Action by Catalyst, $self, and $c. $self is a MyApp::Controller::Hello object, and is not of much use right now. $c is the Catalyst context and contains all the information about our application and the current request (and hence is very useful). Catalyst passes more than just $self and $c, though, so we want to modify that line to read my ($self, $c, @args)=@_;. This will allow us to access the rest of the arguments via the @args array. Arguments are everything in the URL that Catalyst didn't use when matching an action.

Pl model AddressDB DBIC::Schema AddressBook::Schema::AddressDB create=static dbi:SQLite:database This will create a Model called AddressDB, and it will also create a Schema/ AddressDB subdirectory that contains the definition of our database schema in DBIx::Class's (DBIC) format. This schema will be pre-populated with the schema we just created with the sqlite3 utility. Keeping the schema in this format will allow us to deploy to any database system that DBIx::Class supports by simply running the deploy function in your schema.

Download PDF sample

Catalyst: Accelerating Perl Web Application Development by Jonathan Rockway


by Joseph
4.3

Rated 4.85 of 5 – based on 35 votes