douxing9641
2009-07-08 13:55
浏览 78
已采纳

有关从CakePHP切换到Ruby on Rails的提示吗?

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!

图片转代码服务由CSDN问答提供 功能建议

我一直想从PHP切换。 任何人都想突出类似的类或CakePHP和Ruby on Rails之间的主要区别吗?

谢谢!

  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • douzhao7634 2009-07-08 14:08
    已采纳

    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.

    已采纳该答案
    打赏 评论
  • douxuanyi2813 2009-07-10 03:26

    Learn Ruby first. You won't get Rails if you try to make it do things the PHP way. Ruby is a beautiful 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.

    打赏 评论

相关推荐 更多相似问题