February 10th, 2013, 07:30 AM
Dancer vs Catalyst vs Mojolicious - Opinions
Hello Perl Programmers and cool people in general.
I would really appreciate if I could get an honest opinion on what you think about The three mentioned Perl Web Frameworks.
I've been using Ruby for a month and I've been trying out various web frameworks, (Sinatra, Rails, Padrino, somewhat Ramaze) but I really want to give Perl a try after some personal mind bogging problems and stuff which has pissed me of with the Ruby Web Frameworks.
Now I haven't actually started learning Perl yet, but I do intend to do. I want to give it a serious try, but since I am mostly into web development, dynamic and statical apps, I would really like to get this decision undone and I wont to hear some of peoples opinions before I set my mind on Perl
February 10th, 2013, 11:06 AM
Actually, I'd be interested in hearing what problems you had with Rails.
My own background is that I've used perl for many years. It is my primary language and the one I am most comfortable using. I would prefer to use perl for all projects, if that were feasible.
I looked at all the frameworks you mentioned, though that was years ago. Things may have improved a great deal, so I can't give a truly informed opinion. I found them difficult to start with, because the documentation was lacking.
I tried Rails about two years ago, and the experience was pretty good. Ruby is similar to perl, though a bit slower. It has a better object model though, no question.
What made the Rails experience so much better than that of the perl frameworks, was the support. I learned using an excellent tutorial site: The Ruby on Rails Tutorial, by Michael Hartl, which I found to be excellent because it took you step by step through the process of building an app, including using git for source control, and deploying to a remote server.
And then there are the great screencasts available at RailsCasts, which show you not only how to do things, but the broad support and Gems available to the Ruby community.
Some of the Rails hosting services are quite impressive. You can upload apps to most of them now with simple command line tools. Literally just 'git push heroku master'. It's outstanding.
So what's not to like? For me, it's the use of the ActiveRecord ORM. I mean, it's a mixed bag. When ORMs work, they are a great convenience, but when something doesn't work right, they can be a pain.
I prefer to deal with SQL directly. I like to refine a query, and find ways to optimize it. I've seen Rails do some dumb things, like make hundreds of queries rather than one. The thing is, there are ways to optimize your Rails app also. No need to accept defaults for all things.
And what I said about Rails ORM is probably true of the perl frameworks as well. I believe most are built on DBIx::Class.
So my opinion is that these perl frameworks are probably similar to the Ruby ones they are based on, but with less support to help you out.
February 11th, 2013, 04:00 PM
Thanks for the reply. However I am more interested in hearing your opinion on the Perl frameworks. On the various ones, please share some experience with me. The reason I ditched Rails is somewhat personal.
February 15th, 2013, 03:13 PM
Would appreciate just one or two tips, thanks. :|