3 ms·
The common story is that PHP is easier for a very basic app but that rails is easier for anything beyond that. My opinion: Why choose? Try both, write a simp
by grandalf 16y ago
The common story is that PHP is easier for a very basic app but that rails is easier for anything beyond that.
My opinion: Why choose? Try both, write a simple app in both and follow a tutorial or two. Decide which one you like best. Which was easiest to find documentation? Which community was more helpful to you?
I'd also recommend checking out Sinatra, since it's sort of in between the two other frameworks you mention. It does more than PHP and less than Rails, but is (I think) far simpler than either one.
- wmwong 16y agoI agree. I think you have to try both in order to know whether you made the right decision. I started off learning PHP in the beginning, then switched to Ruby on Rails. Of the languages I've learnt so far, Ruby is by far the most fluid. It's a beautiful language. Rails allows you to do many things really quickly as well, and at the time that I switched, PHP was still lagging behind in frameworks. I haven't hopped back into PHP, so I'm not sure where they are now, but I haven't looked back since going onto Rails.
- bcosca 16y agoThis is a very lopsided comparison, like oranges against lemons. PHP should be compared against Ruby, not RoR.