[Catalyst] PDF creation in Catalyst?

Cory G Watson jheephat at gmail.com
Wed Oct 22 19:25:32 BST 2008

On Oct 22, 2008, at 1:08 PM, Kirby Krueger wrote:

> If you go to catalystframework.org, it says on the main page:
> 	And in case you want PNG or PDF output, you'll need just a few  
> lines...
> Can someone give me those few lines? :-)

This is more than likely referring to the fact that Catalyst is output  

> I'm a bit surprised that there's no Catalyst::View::Something::PDF  
> by now, which makes me worry that it's hard.  Most days I'd be happy  
> to look into this, but I'm under the scheduling gun right now in a  
> fairly panic-inducing way, so quick and dirty is unusually appealing.
> I don't need to create PDF files for distribution, just something  
> printable with more layout control than HTML is willing to give me.   
> Maybe PDF is a rabbit hole, and someone else has a bright idea?

First: I'm biased.

Faced with a similar idea I created Graphics::Primitive:


It's relevant because of the Catalyst View I made for same:


You can get a slightly outdated intro to G:P here:


And finally you can check out talk from PPW 2008:


I'd recommend checking out Document::Writer, but be warned it has  
sharp edges.  I hang out in #graphics-primitive on irc.perl.org if  
you'd like to talk.

Cory G Watson

More information about the Catalyst mailing list