Catalyst Perl MVC framework Introduction

See the link below for a excellent intro video on Catalyst MVC framework.

The guy has done great job for putting all together. I hope this will help in accelerating Catalyst learning.

I am waiting for more videos on Catalyst like using DBIx::Class, REST controller etc.

Continue reading “Catalyst Perl MVC framework Introduction”

Open source PDF engine with CSS

While looking for open source PDF generators I came across some very interesting engines available like Apache FOP and some very good PHP based engines too. My basic requirement was to run it as a batch process in Linux/Perl. The engine should supports CSS and if possible should supports PDF/A and SVG too. After doing a lot of analysis I was still not sure if all pdf issues can be solved by open source engines or not??. Then I tried my hand a bit on properitery engines like princexml and PDFReactor. They have there own advantage and disadvantages. Princexml looks really nice but there is underlying cost and also doesn’t provide interface to access the API’s for pdf manipulation. Finally I found a open source engine WKHTMLTOPDF it supports CSS and looks promising as it uses already tested rendering engine webkit .

Will share if it fits in my requirement and delivers the results.

Perl on RedHat – multiple bless/overload problem

I was reading over internet regarding the performance issue of Perl bundled in some Redhat versions (A combination of Rehhat and Perl version) which uses multiple bless/overload. Vipul’s blog has given a good insight on this problem.

Well, Red hat has finally registered the bug last year on Bugzilla.

Would recommend  everybody falling under this should  test it.  You can test your running installations by using the program given in Bugzilla.  I have done at my end and fortunately I am out of the bug.  I was running Cent Os 4.6 with Perl 5.8.6.

All the best

Better Perl Practices

Better Perl Practices[gigya width=”425″ height=”355″ src=”” quality=”high” flashvars=”gig_lt=1245901230703&gig_pt=1245901253578&gig_g=1&gig_n=wordpress” wmode=”tranparent” ]

View more PDF documents from jshirley.

PharseBook Design Pattern

The Phrasebook pattern is a technique to separate expressions in one language from themain code that is written in another programming language. This is done by keeping theexpressions in a separate phrasebook. Any specific expression can be generated byfinding the appropriate entry in the phrasebook and substituting application parametersinto it. This separation makes maintenance easier both for the main application code andfor the foreign language code. This pattern is generally used in Perl SQL database interaction.

References: The Phrasebook Pattern By Yonat Sharon and Rani Pinchuk