[UPHPU] Rails vs PHP
Walt Haas
haas at xmission.com
Mon Mar 26 14:47:50 MDT 2007
The first link reports an attempt to make an objective comparison of
performance among Symfony(PHP), Ruby on Rails and Django(Python). From
the description of the test and the comments following it appears that
the comparison didn't have the services of someone experienced in each
platform to configure and tune it, so the results are hard to interpret.
I'm not surprised, it's really hard to do a good objective
apples-to-apples comparison of something that complicated.
The most interesting thing I found in the report was a link to this
document:
http://docs.google.com/View?docid=dcn8282p_1hg4sr9
which describes a comparison of an effort to implement the same fairly
simple web site in RoR and Django. Some of the differences between
those two platforms are quite interesting, and well worth studying. I
was particularly impressed that RoR has tackled the issue of database
refactoring, which is always a huge headache.
RoR uses an existing DB schema to generate code, while Django uses
Python classes to generate the schema. I'm sure there are significant
consequences to each approach, but it's hard to predict exactly what
they will be.
-- Walt
On Mon, 2007-03-26 at 10:12 -0700, Joshua Simpson wrote:
>
>
> On 3/26/07, Walt Haas <haas at xmission.com> wrote:
> Strong statements. Now please provide some data to support
> them.
>
> http://wiki.rubyonrails.com/rails/pages/Framework+Performance
> http://ramikayyali.com/archives/2004/10/18/php_enterprised
>
> I haven't even read these, they're just the first to pop up in
> Google.
>
> And, note, you made the accusation of PHP being faster first. Doesn't
> that require you to supply some sort of data, too?
>
> Also, I never was arguing PHP from a speed perspective. My whole
> point was that PHP is inherently a poor design. I'd much rather argue
> that (since refactoring a language for speed is usually secondary to
> almost everything else, due to growth in server availability and
> performance).
>
>
> --
> -
> http://stderr.ws/
> "Some pseudo-insightful quote here." - Some Guy
More information about the UPHPU
mailing list