Virtual pets and Sim games community

Would you like to become a member of the most successful virtual pets and sim games community on the internet today? We've been opened since 2011 and since then, we've been providing web game developers, artists, players and writers with the most relevant, up to date, quality and in depth content covering the entire online browser based games industry. So, if you virtual pet games, game development or online sims, our forum is perfect for you. Our sneak peeks forum is designed for new owners to showchase their upcoming in dev games.

Discuss online pet game management or developing a sim game.

  1. An upcoming virtual pet site that's owned by one of our moderators, Pepper-headIn icey them pet game Kaylune, a virtual pet site Breed online pet
    VigLink badge
    Novilar - Beastkeeper
    breed horses on this very active sim game

    Browse our Online Games Directory
    Promote VPL - advertise here
    Admin and webmasters community - Browser games
    $100 posting contest



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?

    NBS
     
  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

    We are an online community of passionate artists, writers, programmers and general users who have a vested interest in virtual pet games & sim games. Everyone on our forum are from different backgrounds and yet we group together with one goal, to ensure our pet games and sims forum is one of the best!
  • Like VPL on Facebook!

  • Support VPL

    If you love our community and you'd like to help us cover our monthly costs, we'd greatly appreciate it if you could help us out by supporting us! If you can't donate, we totally understand. You can also support us by using our social media sharing buttons or by writing about us on other sites.

    Donate to VPL!