Two weeks ago today, I set out to write an auction website. The project was under a strict deadline; I had eight days.

I have written websites in Perl for years. Pure Perl, CGI.pm, CGI::Minimal, CGI::Application, Jifty, and Catalyst have each had their turn.

I decided to do this project in Ruby on Rails. I did not know Ruby. I did not know Rails.

Eight days later, there was a working auction site in place, with a few hundred items and a few dozen nerds bidding on them.

I will put this as clearly as I can: RoR beat the daylights out of every Perl web framework I have had experience with. Even after a decade of Perl experience and more Perl websites under my belt than I can count on both hands, I couldn't have done with Perl what I did in RoR in eight days. I don't know if I could have done it in twice as long. (I do know that it would have sucked.)

Ruby itself can't do anything Perl can't. I loved its syntactic consistency, though. I spent about 15 seconds learning the language conventions and then it just got the hell out of my way.

But Rails, oh boy. ActiveRecord is nothing less than a godsend. Finally, and notably in agreement with a Perl design philosophy, there is something that makes simple websites simple to build. I was continually impressed by both the extent to which the framework designers anticipated the needs of the website programmer, and the extent to which the framework "scales up" to more difficult tasks and optimizations without making things more complicated than they have to be.

Talk whatever shit you want on Ruby and Rails, I guess. The "convention over configuration" paradigm puts a lot of bees in a lot of bonnets in the Perl community. But I'll tell you, it wasn't hype that collected a little over $10k in a multi-unit ascending auction system last Saturday, and it's not just marketing that is building Perl's increasing reputation as a deprecated language for web development.


In reply to Re^2: Perceptions of Perl - views from the edge by gamache
in thread Perceptions of Perl - views from the edge by tim.bunce

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.