1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Ruby on Rails

Discussion in 'Ruby' started by Gaffer Sports, Jul 5, 2006.

  1. #1
    I have been tinkering with this and I wondered what other developers thought of it?
     
    Gaffer Sports, Jul 5, 2006 IP
  2. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Still not taken the time to play with it but still planning to! Going to set up a server at home soon to get some more hands on experience with Linux - was thinking of trying RoR then.

    How do you like it so far?
     
    T0PS3O, Jul 5, 2006 IP
  3. Gaffer Sports

    Gaffer Sports Guest

    Messages:
    144
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I am a PHP developer primarily and have to say that I never thought anything could make life easier, until I found RoR.

    Instead of creating long and exhaustive controllers in PHP, RoR does it for you from the command line. You simply edit it to your liking.

    I am happy with my experience so far and I feel I shall be using it for years to come, along with AJAX for PHP.
     
    Gaffer Sports, Jul 5, 2006 IP
  4. Bogo

    Bogo Guest

    Messages:
    139
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I've heard a lot of positive things about it as well - I'll be checking it out sometime soon.
     
    Bogo, Jul 5, 2006 IP
  5. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I'm a PHP developer too and once saw an article that compared typical PHP with RoR code for an application like a recipe database. I was amazed by the code reduction myself.

    Then again, you can find a lot of PHP functions and classes ready made FOSS but still, RoR seemed promising.
     
    T0PS3O, Jul 5, 2006 IP
  6. Gaffer Sports

    Gaffer Sports Guest

    Messages:
    144
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    The recipe database you speak of was my starting point with RoR. I used that tutorial to begin with and I have to say it was very effective.
     
    Gaffer Sports, Jul 5, 2006 IP
  7. frankcow

    frankcow Well-Known Member

    Messages:
    4,859
    Likes Received:
    265
    Best Answers:
    0
    Trophy Points:
    180
    #7
    as far as I can tell, RoR is like ASP.Net for PHP, but all from command line
    am I wrong?
     
    frankcow, Jul 5, 2006 IP
  8. Eadz

    Eadz Peon

    Messages:
    108
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Myself, A PHP programmer for 6 years, now a much happier Ruby on Rails programmer.

    For new people to RoR the most imporntant thing to learn is Ruby. Rails is written in Ruby, and when you write Rails code, you are writing Ruby code.

    You can compare PHP to Ruby, but Ruby on Rails is a framwork on top of Ruby, like Symphony is to PHP. So compare Ruby to PHP, and Symphony to Ruby on Rails.

    There is a rails command line but is only used for certian tasks.
    It just generates some skeleton code and for you when you want a new Model or Controller etc, and for installing plugins, tests etc. But for the most part you program in an editor.
     
    Eadz, Jul 7, 2006 IP
  9. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #9
    The thing I find with php is that 90% of the time you don't need to write your own scripts. Search google for what you want to do and most of the time there is a nice script already written that you can just drop into place.

    Also for things like login scripts, affiliate management, user management etc php is great. I have a standard set of scripts that I can use on any site just by adding some includes to the top of each page. Upload the scripts to a folder and you have a ready made system.

    Once you have got into the swing of building sites from the ground up using templates and common includes with php you can make great sites quickly that are really easy to edit.
     
    mad4, Jul 7, 2006 IP
  10. frankcow

    frankcow Well-Known Member

    Messages:
    4,859
    Likes Received:
    265
    Best Answers:
    0
    Trophy Points:
    180
    #10
    Agreed, get comfortable with a few open source scripts, such as joomla and wordpress, and you can have flexible sites with plugins up and running in no time at all
     
    frankcow, Jul 10, 2006 IP
  11. CCD

    CCD Peon

    Messages:
    330
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I keep meaning to set time aside for ROR but have yet to do so- I'd be interested to hear how long it took people with no ruby experience to get their first 'real' site working (or how long it took to feel comfortable with the environment).
     
    CCD, Jul 10, 2006 IP