Posts tagged: PROGRAMMING

Django, Rails, and PHP

Sam Newman has posted a useful high-level comparison of Django and Rails on his site. In it, I think he hits on one little-discussed reason why these two projects are grabbing so much mindshare right now:

[Rails and Django] … historically would have ended up being written in Perl or PHP - but ended up being written in Ruby and Python respectively.

When I heard DHH speak at OSCON, he mentioned switching to Ruby after giving up on trying to make PHP do the kind of stuff he wanted to do. Back in July I asked Simon Willison (of the Django team) about PHP; he said that both he and Adrian Holovaty had worked in PHP for years, but it was Python that “gave us the flexibility we needed to pull everything off.”

A Ruby happening

The place to be during the afternoon break today was the Portland Ballroom, where the Artist Currently Known as why the lucky stiff and musical accomplices unleashed a multimedia explosion involving Ruby, cartoon foxes, animation, repeated MPlayer crashes, video artifacting, rocking out, shadow puppets, and network timeouts. I think this is the show he did at FOSCON last night. The quality of the stuff that did work was so high that the stuff that didn’t work wasn’t such a big deal. My favorite bits were the hilarious animated imaginary Ruby Cabal meetings. A good time was had by all and I don’t think that there will ever be another conference presentation where someone says, “You’ll notice we’re using octagonal paper… as seen on Battlestar Galactica.” Check why’s site to see if he comes through on his promise to post those media files.

CodeZoo

O’Reilly has been running CodeZoo for a few months now. Today they announced CodeZoo subsites for Python and Ruby. CodeZoo is very slick – you can track changes to a particular app or component via a special RSS feed, for instance. Downloads are fast and simple, even for Sourceforge-hosted projects. And they’ve got this new thing called DOAP (why do you think they call it DOAP?), an XML schema for component information. (Tangent: I’m thinking that DOAP could be a nice standard upon which to build phone-home version checking features.)