ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Learning rails

May 24, 2009 1:58pm

Subscribe [8]
  • #1 / May 24, 2009 1:58pm

    Cro_Crx

    247 posts

    Hey all

    I’m going to be learning ruby on rails very shortly for a project i’ll be doing with some friends. Does anyone have any good books or resources that would help? I’ve done programming in C/C++/Java/PHP before so hopefully it shouldn’t take too long to get used to ruby and rails but if anyone has any books that have helped them or know of any that would be awesome :D

  • #2 / May 24, 2009 2:11pm

    Dam1an

    2385 posts

    Here’s a few resources I had bookmarked for when I finally get started with Rails

    http://net.tutsplus.com/articles/web-roundups/31-fascinating-ruby-on-rails-tutorials-guides/
    http://www.humblelittlerubybook.com/
    http://www.smashingmagazine.com/2009/03/19/getting-started-with-ruby-on-rails/
    http://tryruby.hobix.com/—Interactive web based ruby console - learn without installing a thing

    Hope you find these useful

    ps. I’ve looked at Ruby from a PHP perspective, and kept thinking WTF! lol

  • #3 / May 24, 2009 7:18pm

    Yorick Peterse

    537 posts

    ps. I’ve looked at Ruby from a PHP perspective, and kept thinking WTF! lol

    Glad I’m not the only one 😛

  • #4 / May 24, 2009 7:25pm

    Dam1an

    2385 posts

    the thing is, I love the idea’s behind ruby and RoR, but in practice, I just don’t like it…
    Maybe I need to just spend more time getting used to it? Think I’ll stick with CI for now anyway 😊

  • #5 / May 25, 2009 1:51am

    Cro_Crx

    247 posts

    Thanks for the links, i’ll have a look through. I just watched a quick screen cast for creating a blog, very simple tutorial, although it seemed like A LOT of the stuff is just done by the framework, you don’t really need to code your own. It could be that i just think that because i’m not very familiar with the framework yet but it looks like you can build applications rather quickly, should be interesting.

    On a seperate note, i got a new part time job today (which is awesome because i’m a student), i’m starting tomorrow as a PHP programmer and i’ll be using CI. Plus I get to use a mac at work now. I’ve probably used OS X for a total of maybe 5 hours in my whole life, should be fun 😊

  • #6 / May 25, 2009 1:52am

    jdfwarrior

    444 posts

    the thing is, I love the idea’s behind ruby and RoR, but in practice, I just don’t like it…
    Maybe I need to just spend more time getting used to it? Think I’ll stick with CI for now anyway 😊

    werd. I very briefly looked at RoR too and was pulled a wtf and moved on.. Anyone good with python or more specifically the twisted framework?

  • #7 / May 31, 2009 8:47pm

    drewbee

    480 posts

    Rails development is extremely fast, if you don’t mind conforming to very strict standards. Set up a few configurations and the CRUD is basically built. I don’t like things generating code, unless it can be modified later though… one thing I really like about it is the fact that everything is an object.

  • #8 / Jun 01, 2009 5:04am

    xwero

    4145 posts

    one thing I really like about it is the fact that everything is an object.

    I think you like it because if feel more natural to do

    // ruby
    a = "hello world"
    b = a[1,4]

    then

    // php
    $a = "hello world";
    $b = substr($a,0,4);

    Lots of the datatype methods in ruby have an equivalent or the same syntax in python so it’s not something only ruby can do.

  • #9 / Jun 01, 2009 10:51am

    drewbee

    480 posts

    Yeah… it also reminds me a lot of Javascripts object syntax.

  • #10 / Jun 02, 2009 1:06am

    skunkbad

    1326 posts

    I’m in the RoR WTF club.

  • #11 / Jun 02, 2009 4:12am

    Yorick Peterse

    537 posts

    I’m in the RoR WTF club.

    wtf ? 😛

  • #12 / Jun 26, 2009 4:10pm

    guys, excuse me ! I’d just read about RoR some days ago, and I like it, it seems to be easy & effective too !

    so, why RoR WTF club :D ??

    Cause I’m working on a web2.0 inventory management project, and was thinking of using RoR or CakePHP for it. so again, why RoR WTF club ??

  • #13 / Jun 27, 2009 7:08am

    mradlmaier

    63 posts

    A very good primer on RoR is “Agile Web Development with Ruby On Rails, Second Edition” from the Pragmatic Programmers. That one really helped me with RoR, which is probably the most elegant and coolest web application framework. The book teaches you also “Agile Programming” - for me a must read.

    “Programming Ruby: The Pragmatic Programmers’ Guide, Second Edition” is a very good introduction to the Ruby Programming language, from Pragmatic Programmers, too. all at pragprog.com

    Michael

  • #14 / Jun 27, 2009 7:17am

    mradlmaier

    63 posts

    To the WTF Ruby Club, here,

    You should have a second look. RoR has some really intriguing features. For examples, validation really happens in the model, and not in the view or controller. Ruby makes for really clean OO. Or the way how the model “automatically is syncing/creating” your database tables, or etc…. (i could go on and on, refreshingly, one can really feel that the creator “Matz” thinks in Japanese, not in English, I mean, the way English works influences the way we create Programming
    languages. Programming languages are really some sort of languages, too).

    I admit that RoR hosting providers are few and more expensive then PHP, and the need to use the Ruby CLI is something not everybody will like. Also, learning curve is a bit steep.

    But Ruby shows some new ideas, how a web application framework could work, and that`s good. BTW, there is a PHP clone to RoR, but i forgot the name. You can google it though…

    To be fair, developing with CI is probably faster, but PHP does not have the elegance of RoR and it is less “OOP by the book”. PHP simply cannot deny its roots in procedural programming. I admit, CI goes a far way in rectifying that.

    Michael

  • #15 / Jun 27, 2009 7:35am

    garymardell

    315 posts

    Akelos (http://www.akelos.org/) is a php clone and also phpontrax (http://www.phpontrax.com/).

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases