Wiki Cookbook

If you happen to write a good mailing list post, preserve it here as an article for immortality. People never seem to check the mailing list archives, so your work is usually wasted there :)

The end goal is to make something coherent, but for now, just dump your posts here.

Articles

Testing Your Template - ensure that $c->stash->{template} is set correctly in a unit test

Setting The Default Template - One template file for all action methods in your controller

"Next Page" redirect - simple ?next_page=blah functionality like YouTube (when logging in to view a video)

Reusable Controllers - a method for reusing multiple controllers in an application

Search Example - a quick and dirty search example using Yahoo::Search

Return Your Schema Connection Information - return the value of your Catalyst::Model::DBIC::Schema's config's connect_info.

Articles that should be written

Hashing Passwords? - using DBIx::Class::EncodedColumn with to keep your users' passwords secure.

My tags:
 
Popular tags:
  cookbook
Powered by Catalyst