News for hackers. Stuff that matters.
Re:Ask HN: PHP or RoR? by pdenya on Wednesday May 04, 2011 @11:12PM (#2516039)
I recommend PHP for what it's worth. Ruby is great but PHP is fast, easy to deploy and common enough that you never need to look far for an answer to your problem or a module to help you out. Rails has gems which are amazing but there are far more PHP programmers.

If you're looking for a framework for PHP I'd recommend CakePHP assuming you're not rolling your own for this.

Re:Ask HN: PHP or RoR? by nametoremember on Thursday May 05, 2011 @04:17AM (#2516595)
It is ruby that has the gems - and they are great. You're right on the speed but language speed is rarely a bottleneck for a website.

CakePHP was modeled and inspired by Rails.

Re:Ask HN: PHP or RoR? by pdenya on Thursday May 05, 2011 @09:45AM (#2517315)
Thanks for the clarification. I phrased it that way because OP really is comparing Rails to PHP (ie: he won't pick Ruby w/out Rails over PHP).

CakePHP is an MVC framework similar to Rails but they're pretty different now (details wise, structurally still similar). I prefer Rails to CakePHP in most respects but I still code with cake because I like PHP.