Is there a Perl alternative to Ruby on Rails and Django?
Asked by
mjoyce (
503)
October 22nd, 2008
I like my applications to be written in a language that has similarities to how I like my women. Perl is a fun, easy, and dirty way to get the job done.
However, I also want a lady on the street, and so far with perl, that hasn’t proven possible for me. I have not found a sufficient web toolkit that has all the tricky awesome features for developing and deploying web applications that Ruby (on Rails) and Django (for python) have. I have traditionally used template toolkit for web applications, and find myself writing functionality that RoR and Django already include.
Unacceptable answers include “mason” and “template toolkit”. Neither have acceptable rapid deployment functionality that the above alternatives for web application development.
Observing members:
0
Composing members:
0
11 Answers
Seriously, if you’re comparing women to programming languages, you have MUCH bigger problems than this…
> If you like the answer, vote “Great Answer” to increase that user’s score!
where is the button for “smartass answer to decrease that user’s score!”
Right next to the “Stupid Question!” button.
Hint: The attitude you display in your question has a lot to do with the quantity and quality of answers you receive. You’ve missed out on at least one helpful answer because I found your question asinine.
apparently I am a jerk for using metaphors. I bow to your superior communication skills, cwilbur!
It’s called the “Flag as…” button.
As for the original question, I have no idea.
Sorry this doesn’t really float your boat, but as a perl hacker-turned python whore, I’m going to cast my vote for django. Again. Python doesn’t do it for you?
@andrew there are a few problems.
1. I am better at perl than I am at python.
2. I am can develop in perl very very fast. Think ‘perl -pi -e’ instead of using vim
3. Perl allows me to be sloppy, AND lazy.
Hence my preference for Perl. Given no decent alternatives I agree and might become a python-whore.
What caused you to make the switch, andrew? I find myself writing python in a perlish and hacky style, instead of the tight (and VERY OO) python that is typical to find from real python developers. Why do you like python better than perl?
I like python better because it doesn’t reward my sloppiness, and I got tired a little bit of the illegibility of my code.
What I love about python is that it has the things I loved about perl—fast, fast elegant ways to do things, no compiling, but with all the module and object support of a more rigid language like C.
With things like web frameworks, though, you also need to weigh in how much time it’s going to take to learn the framework itself; even if you found a great perl framework, if it’s not documented really well, and doesn’t have a large enough following, isn’t it going to take you longer to code it anyway?
That’s what I’ve found, at least, with projects I have administered like mogile, which is beautifully written code, but the docs are crap and so you run into snags. That’s why django has been a big win for us.
I think Andrew hit the nail on the head there with the fact that you have to learn the web framework. Even though I’m an excellent ruby programmer, the paradigms of rails often completely throw me off. One liners don’t work as you think they should, in fact, you’d be better off probably refactoring some mod_perl stuff towards a MVC sort of design.
Honestly, I’ve never picked up Python because it looks like it wouldn’t give me enough more than Perl to be worth the learning curve.
@Andrew: you are aware that Perl’s object support is getting more sophisticated, with things like the Moose object model? One of the benefits of the approach that Perl 5 took, in providing the building blocks of an object model rather than an actual object model, is that you can build or alter the object model so that you can get a Java-like object model or a Smalltalk-like object model or a C++-like object model.
This is mainly of theoretical value, but every now and then someone builds something like Moose and shows its practical value.
This and Perl::Tidy might solve your complaints about Perl.
Answer this question
This question is in the General Section. Responses must be helpful and on-topic.