Do you want Ruby vs PHP or Rails vs PHP?
Ruby vs PHP: Ruby is a solid, pure OO language that’s fun to program in
has very few, if any, surprises. PHP is a
scripting language for web sites. You really need to spend some time
Ruby, read the books (http://www.rubycentral.com/pickaxe/) to understand
PHP really is a terrible language.
Rails vs PHP: Well, now you’re comparing a web framework with a
which really doesn’t make sense. If you’re sick of manually setting up
database connections, building up SQL queries, hard-coding and hacking
how pages flow together and trying to find the “nice, neat, and proper”
of doing large sites in PHP, well then go look at Rails, because a
of your problems are taken care of for you.
Do you have any specific questions? It’s hard to really compare the two
without either a large dissertation or having a list of questions to