Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Ruby on Rails looks great. There are a lot of things in there that really make it easier to develop great looking web apps very quickly. In particular I'm thinking of the built-in mini web server, the helper scripts for building components and the division between dev, test and live environments.

There are, however, three points I'd like to make:

  1. Catalyst also has all of that. What it doesn't have is the marketing.
  2. The database access part of RoR (which is called ActiveRecord) looks really amateur. You have to redefine all of your database tables in the Ruby code. It's like using Class::DBI without Class::DBI::Loader. It gives the impression of being designed by people who don't know much about databases. Or who don't like databases.
  3. A lot of the buzz about sites build with RoR is the innovative new interfaces that they use. But this really has little to do with RoR. The interfaces are built using clever javascript libraries like scriptaculous or prototype. Perl has interfaces to these libraries too.

So I think that we should be looking closely at Ruby on Rails and making sure that our frameworks provide all of the same facilities as it does. But the most important lesson I think we can learn from it is how to market a web framework so that it goes from being unknown to the name on everyone's lips in a year. That will be a lesson worth learning!

Update: Fletch points out below that I was misremembering how ActiveRecord works. He's right, you give it a class name, and it works out the name of the associated table and creates attributes for all of the columns. What it doesn't do (and what you can do with Class::DBI::Loader) is to a) automatically create classes for all tables in a given database and b) automatically set up the relationships between your tables.


"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

In reply to Re: OT: Ruby On Rails - your thoughts? by davorg
in thread OT: Ruby On Rails - your thoughts? by Cody Pendant

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others surveying the Monastery: (7)
    As of 2020-12-02 13:56 GMT
    Find Nodes?
      Voting Booth?
      How often do you use taint mode?

      Results (41 votes). Check out past polls.