1. Paladore - Boopets - Icepets
    Do you want to join our staff team? Check out our seeking staff thread.
    Are you looking for new virtual pet sites or sim games to play?
    VPL's sister site the virtual pets blog
    Your advertisement can be seen here. Visit our advertising on virtualpetlist thread for more information.
    Please follow our Rules
    Help us out by Promoting VPL!

Anyone interested in some Ruby on Rails tutorials?

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

  1. Mishiemoo

    Mishiemoo Newish Member
    VPL Member

    Reputations:
    30
    Joined:
    Feb 2, 2011
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    0
    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?
     
    #1
    support our sponsor and join today
  2. Lewis

    Lewis Corepets owner
    VPL Supporter Pet Game Owner VPL Member

    Reputations:
    207
    Joined:
    Jan 21, 2011
    Messages:
    1,882
    Likes Received:
    203
    Trophy Points:
    1,175
    Gender:
    Male
    Location:
    UK
    I would be interested. Is there anything that you can do with RoR that you can't with PHP?
     
    #2
  3. GGitzOle

    GGitzOle Guest

    Top Poster Of Month

    Reputations:
    0
    Yeah I'd be interested too if RoR offers something different than what you can't already do with PHP.
     
    #3
  4. nobackseat

    nobackseat Superb Member
    VPL Member

    Reputations:
    -5
    Joined:
    Jan 22, 2011
    Messages:
    508
    Likes Received:
    46
    Trophy Points:
    915
    Location:
    Florida
    I assume Ruby should be learned prior to attempting the framework?

    NBS
     
    #4
  5. Mishiemoo

    Mishiemoo Newish Member
    VPL Member

    Reputations:
    30
    Joined:
    Feb 2, 2011
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    0
    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+).
     
    #5
  6. Grotesque

    Grotesque Pet Game Owner
    Pet Game Owner VPL Member

    Reputations:
    0
    Joined:
    Oct 17, 2011
    Messages:
    261
    Likes Received:
    75
    Trophy Points:
    0
    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.
     
    #6
  7. Jackolantern

    Jackolantern Active Member
    VPL Member

    Reputations:
    783
    Joined:
    Aug 11, 2014
    Messages:
    277
    Likes Received:
    193
    Trophy Points:
    775
    Gender:
    Male
    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.
     
    #7
    Ventous likes this.
  8. asbxzeeko

    asbxzeeko Programmer & Artist
    VPL Member

    Reputations:
    7
    Joined:
    Mar 1, 2014
    Messages:
    21
    Likes Received:
    1
    Trophy Points:
    485
    Gender:
    Female
    Location:
    United States
    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)
     
    #8

Share This Page