I've been wanting to make the switch from PHP. Anyone care to highlight the similar classes or the key differences between CakePHP and Ruby on Rails?
Thank you!
I've been wanting to make the switch from PHP. Anyone care to highlight the similar classes or the key differences between CakePHP and Ruby on Rails?
Thank you!
Im a rails developer that took on a PHP client last year and after researching available php frameworks I decided on CakePHP because I felt it was the most Rails-esque and stable.
So I was in the opposite position that you find yourself now. Quite honestly I have never regretted my decision to start learning rails and im sure you will find the task even easier coming from a CakePHP background.
My advice to you should dive right in, take a couple hours tonight, whip up a quick demo project like a blog or todo list in rails, read through some tutorials. My guess is that you will find right at home. Similar project directory structure, similar database schema, similar conventions. CakePHP comes very very close to cloning the core rails way of doing things.
Learn Ruby first. You won't get Rails if you try to make it do things the PHP way. You don't really have to learn Ruby to be able to use Rails, but I highly recommend it, as it will make it easier to figure out how to do things "The Ruby/Rails Way". It's a great language and makes you think differently about a lot of things.
Out of all the Ruby tutorials out there, Why's (Poignant) Guide to Ruby is by far the best one out there, IMO.