Catalyst Perl MVC framework Introduction

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

http://www.youtube.com/watch?v=zmm56R0Nqis
http://wiki.dandascalescu.com/howtos/catalyst/introduction_to_catalyst#comment-32571154

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=”http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=betterperlpractices-090422000951-phpapp01&stripped_title=better-perl-practices” 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

MFC Updates

Friends,

Good news for veteran native code programmers, MFC is coming again. Microsoft has decided to revive it and the first update is coming in Jan-Feb 2008. As per Microsoft the, MFC update will help developer to create applications with the “look and feel” of Microsoft’s Office, Internet Explorer and Visual Studio.  Some of the specific features include Office 2007 Ribbon bar look, Internet Explorer look with rebars and task panes, Visual Studio look with sophisticated docking functionality, auto hide windows, property grids and the like.  You can also enable your users to customize your application through live drag and drop of menu items and toolbar buttons. In addition, Microsoft is also delivering TR1 support.  TR1 is the first major addition to the standard C++ library.  The implementation includes a number of important features such as smart pointers, regular expression parsing, new containers (tuple, array, unordered set, etc.), sophisticated random number generators, polymorphic function wrappers, type traits and more. So, be ready for MFC updates and develop the desktop applications with new controls.

Happy Programming.

Cheers

Pradeep