Welcome to Virtual Pet List

Would you like to become a member of the largest and most successful virtual pets & sim games community on the internet today? We've been opened since 2011 and we're getting very close to having over 9,000 members .who are fans of pet games and sims just like you are. So if playing a pet site or a sim game interests you, then we'd love to have you become a member of our flourishing online community.

  1. An upcoming virtual pet site that's owned by one of our moderators, Pepper-headAn upcoming virtual pet site that's owned by one of our moderators, Pepper-head sim game where you can breed your very own cats Kaylune, a virtual pet site Grophland.com : Breed virtual pets, Play, Explore
    VigLink badge

    Find New Virtual Pet Sites, Sim Games or Role Playing games to Play.
    Help vpl reach 10k users by Promoting us - advertise on vpl
    : Virtual Pets Blog - The Admin Effect - Browser games

Anyone interested in some Ruby on Rails tutorials?

Discussion in 'Programming General' started by Mishiemoo, Aug 13, 2011.

  1. Hey everyone! I've been doing quite a lot of RoR work lately (and working long hours so I haven't been on much!), so I was wondering if anyone would be interested in seeing some basic RoR tutorials that focus on pet sites. I've moved to doing primarily RoR work from PHP, so I think some of you might be interested to see how RoR works.

    Any takers?
    Your banner/button can be located here for an entire month or year, please see our advertising on virtualpetlist thread for more information.

  2. I would be interested. Is there anything that you can do with RoR that you can't with PHP?
  3. Yeah I'd be interested too if RoR offers something different than what you can't already do with PHP.
  4. I assume Ruby should be learned prior to attempting the framework?

  5. Lewis & Ole - IMHO you can do almost anything with any programming language, so I wouldn't say there were things that you can do in RoR that you can't in PHP. RoR just makes development simpler, at least to me, because you start out with so much more. Example, there are plugins that are 100% safe and easy to do that handle things like OAuth/secure login, making an API, captchas and a whole lot more. For me it means less time worrying about the core architecture and really low level basic things (like sessions) and more time to actually develop.

    NBS - I started learning Rails without any knowledge of Ruby. As long as you know one programming language (like PHP) it's really easy to pickup. There are some really simple differences, but as a whole its not terribly different. For the PHP programmers out there there's even a Rails for PHP Developers guide, so its even easier to transition. The syntax was the hardest for me to get, but since its very well thought out (the architect designed Rails for humans first and computers second). I can always start with a Ruby basics tutorial, or link to one because there are a ton out there (and a really cool comparison between the two on NetTuts+).
  6. Rails is absolutely awesome, PHP is kindergarden in comparison to Rails.

    On BreePets we'll definitely port it in the middle term, because the codebase isn't that big and it will payout in the long term.
  7. Ruby on Rails is much more comparable to PHP + a high-end MVC framework such as Symfony 2, Laravel or Fuel (not Codeigniter).

    One benefit that RoR does have over PHP is that RoR is not tied to Apache and its page:script model, meaning that things like Websockets and Server Sent Events are more easily attainable. RoR is a bit closer to the setup of Node.js than PHP. The architecture of PHP means that Websockets just won't work well with it (WS need constant, event-based connections, which PHP doesn't offer).

    Another general benefit is that Rails is a full-stack platform with few choices. It provides everything. While that may seem restrictive, the big plus is that almost every RoR developer is using the same tools and platform. PHP suffers from a glut of choices for everything from MVC frameworks to ORMS to dependency injection containers to templating engines to unit test libraries, etc. When a PHP developer needs help with something, they are likely going to have to stitch together their help from many different sources because few communities can service their entire stack. And it makes hiring difficult as well, as most PHP shops understand that they are going to have to train new developers on at least half of their stack. Either that or wait until the end of time to hit the lotto and find a dev who just happens to be fluent in every piece of their stack (the odds are pretty astronomical if you work out the probability with all of the choices out there).

    This also gives RoR a definitive culture.

    EDIT: Oh, and Codecademy has a very nice, interactive intro course for Ruby that is free.
    • Like Like x 1
  8. A simple tutorial for Ruby on Rails would be amazing. I'm developing a site currently in PHP, but I've always been planning on redoing it once I understood how to use RoR. (Even like how to use it for websites)

Share This Page

  • About VPL

    Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.
  • Like VPL on Facebook!

  • Support VPL

    We have to face that the site doesn't run for free sadly. If it did, we would be all set but unfortunately the costs are getting higher and higher as we grow. We offer members a Supporter premium usergroup. If you donate to VPL you are joined to this group and you get many perks that members do not get.

    Donate to VPL!