Suppose we want to do server side validation in Catalyst (ie, no JavaScript trickery), but our form contains a file upload field. After the form is submitted we highlight any missing fields, but user is forced to re-upload the file if any other field was wrong (unless they click the back button, which is silly [...]
TF-1 Technology Blog
Perl Catalyst
Many popular sites make use of the Catalyst Framework. Catalyst is an open-source Perm Model View Controller web framework written in Perl. The design of this framework is is based on other popular frameworks like Ruby on Rails, Spring and Maypole. This allows you to have development and clean design. Why Choose Catalyst? There are [...]
In using model-view-controller frameworks, two names will surface- the Catalyst and the Ruby on Rails. With these two competing, many users want to know which one is better to use. For users who are searching for flexibility, Catalyst is the much preferred framework. It also allows the use of more than 12,000 Perl modules on [...]
It is not unusual to have perl modules imitating libraries from other languages. In fact, there are quite a few modules that works like jQuery that can traverse and find elements in a given HTML page. Where pQuery is strong at is when you need to gather data from a page that is structured, where [...]
Nowadays there are numerous modules that makes logging easier and more versatile. I’ll talk about Log::Dispatch and it’s Catalyst plugin.
Ever needed to simply validate form data in perl Catalyst framework? Well it turns out to be simpler then you thought. Since Data::FormValidator and Catalyst::Plugin::FormValidator are no longer recommended to be used ( as per Catalyst::Plugin::FormValidator docs ), we will use Catalyst::Plugin::FormValidator::Simple which wraps FormValidator::Simple functionality quite well. If you are needing form construction, rendering [...]
Developers need documentation. Even with clean and easy-to-understand code you can’t beat having good documentation than reading through hundreds to line of code just to understand what that piece of code is doing. It saves time and increases the code’s maintainability and reusability. Perl uses the Plain Old Documentation (POD) format. It’s major advantage is [...]
Net::Twitter is another excellent Perl module that can be found on CPAN. It provides a Perl interface to the Twitter API.
