Perl frameworks are useful tools for fast and structured web development. These follows the MVC pattern, ensuring a clear separation of logic and presentation. In this article, I have compiled some of my best Perl MVC frameworks.
Catalyst is the most popular Perl MVC framework. It provides flexible feature rich environment for quickly building high-functionality applications. You can use almost anything with it: various templating systems, Moose, you name it and CPAN has got a plugin for it. If you’re thinking about building a medium or large scale web project than it is best for you.
- MVC: Yes
- Download: https://metacpan.org/pod/Catalyst::Runtime
Mojolicious is a new way of implementing a MVC framwork with Perl. It is pure Perl framework without any Moose plugin etc. You can easily start your project with it. Mojolicious is feature rich framework such as lightweight, fast integrated template engine, expressive dispatcher that keeps routing rules in one place and much more.
Dancer is a simple but powerful MVC web application framework for Perl. It’s a flexible but has some 3rd party module depencies. You can use available plugins from CPAN to provide useful extra features to make writing your applications even eaiser, and support for a wide range of template engines, logging methods, session storage methods, serialisers and much more. It’s very easy to start developing your first application through Dancer as it is very intuitive, minimalist and has very expressive syntax.
All the three Perl MVC frameworks are developed to a stage that they are fully ready for production use. They all have nice online documentation and an established user community. Choose any of them and you won’t go wrong.