Sproutly A Blog for Young and Growing Entrepreneurs

CakePHP vs. Ruby on Rails

I can’t decide whether or not to just go with Ruby on Rails, or stick with CakePHP. Working off a framework is important nowadays. It is very hard to maintain a large project at startup without a proper Model View Controller (MVC) setup.

Here are some of my quick thoughts:


I’ll keep you updated on what I choose in the future. Any inputs? Django?


Viewing 8 Comments

    • ^
    • v
    Ruby has been debated to be slow.
    • ^
    • v
    What did you decide on? I'm making this decision now, and I have only basic knowledge of PHP.

    My thoughts:
    *I know a little PHP, and so does the guy I intend to work with.
    *My application has some scripting involved, so it might be better to use Ruby throughout than PHP for the site and Python for the scripting.
    *I have worked in a team project on designing a web site in Django, and I know Python very well from work. However, I didn't do much with the higher-level Django stuff.
    *I'd like to have an impressive resume; right now I could say that I know PHP (though not well) and Python, so maybe Ruby would be a good addition. Or maybe solid PHP knowledge would be better.
    *My fiancee's name is Ruby ;)
    • ^
    • v
    Ok, this is the real deal.

    20 million sites are using PHP. PHP is the only specialized dynamic scripting language for the Web. Ruby and Perl are old languages and they are way to generic. Ruby is kind of fun, but it is not mature enough. It doesn't scale, and this is due to its execution model, see, Ruby doesn't have mod_php, and it will never do, because it's a generic scripting language. PHP is a member of the LAMP family, yes, the most popular opens-source operating system, Web server and database administration server. Big companies such as IBM, Yahoo, Fiat, Sony and others are using PHP. Large-scale applications are powered by PHP, such as Wikipedia, Facebook and, do you need more?

    Perl is from the 80's and Ruby from the 90's. My friend, wake up, PHP was the last dynamic language to emerge and the one that took over. PHP is not only the present, but also the future.

    You need a good framework, an enterprise MVC framework? That is secure, scales, and performs well? Use the Zend Framework.
    • ^
    • v
    Koder, I call FUD.

    See http://modrails.com for super-easy Rails deployment.

    And scaling (in a web-sense) has absolutely nothing to do with your programming language.
    • ^
    • v
    I can confirm what Luigi is saying. I was checking the capabilities of rails, but had to develop an application for a shared host. I chode CakePHP and many features are similar to those of RubyOnRails, but the language… Ruby is so much more beautiful and supports the developer. Most other languages I know do the opposite ;)
    After this project I never did any other PHP project (only small single pages). And I haven't regret it so far
    • ^
    • v
    One of the major benefits of CakePHP is how incredibly simple it is to deploy. It takes a few minutes.

    Ruby on Rails can take a few hours if things don't go smoothly and it requires quite a bit of configuration, plus you may need to switch hosting providers to even get it working.
    • ^
    • v
    My favourite at the moment is Pylons. You can take what you need and leave the rest. It's more a collection of different subprojects integrated under one banner. And you can pick and choose what suits you and leave the rest. I like that.
    • ^
    • v
    I was a PHP developer in 2005, then heard about Ruby on Rails and found CakePHP and thought that it was a good mix between a Rails-inspired MVC framework and PHP. CakePHP is great, and I think everyone who works in PHP should use it.

    But late in 2006 I bit the bullet and learned Ruby + Rails, and I've never looked back. Ruby is a world better than PHP. The CakePHP guys deserve a lot of credit, but Rails (and now other projects like Merb) are simply a step above, and a lot of it has to do with how much better Ruby is.

    Just my 2 cents...
 

Trackbacks

(Trackback URL)

close Reblog this comment
blog comments powered by Disqus
Back to Firefox, on SEO and Hacker News Digg Is Getting Worse