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.

what is ruby on the rail?

Discussion in 'Ruby' started by toby, Mar 1, 2007.

  1. #1
    Hello guys,

    what actually is ruby on the rail? What is it good at? better than PHP?

    Can a normal web host host the ruby in the rail?

    toby
    SEMrush
     
    toby, Mar 1, 2007 IP
    SEMrush
  2. CountryBoy

    CountryBoy Prominent Member

    Messages:
    8,970
    Likes Received:
    754
    Best Answers:
    0
    Trophy Points:
    360
    #2
    I've never heard of it myself, but a quick look in the smart-arse's guide to everything (eg. Wikipedia) reveals it is web application framework released in 2004 that aims to increase the speed and ease of web development. Often shortened to Rails, or RoR, it is an open source project written in the Ruby language.

    Makes perfect sense to me too!
     
    CountryBoy, Mar 2, 2007 IP
  3. Emperor

    Emperor Guest

    Messages:
    4,822
    Likes Received:
    180
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Emperor, Mar 2, 2007 IP
  4. CountryBoy

    CountryBoy Prominent Member

    Messages:
    8,970
    Likes Received:
    754
    Best Answers:
    0
    Trophy Points:
    360
    #4
    It would, indeed. Are they not the same thing? No entry for 'ruby on the rail' without the final 's'. It's a mystery to me. Still, at least I showed willing ;)
     
    CountryBoy, Mar 2, 2007 IP
  5. Emperor

    Emperor Guest

    Messages:
    4,822
    Likes Received:
    180
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It's called "ruby on rails" but some might abbreviate to rails ;)
     
    Emperor, Mar 2, 2007 IP
  6. exponent

    exponent Peon

    Messages:
    1,243
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Its nice for mathematics computations but I havent really unlocked its power for anything else.
     
    exponent, Mar 2, 2007 IP
  7. DFischer

    DFischer Peon

    Messages:
    381
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #7
    It's a vastly powerful framework that is going to keep rising in popularity over the years and really take the web-development industry by storm.

    It has huge potential to be the dominant framework/language in the programming world.
     
    DFischer, Mar 2, 2007 IP
  8. designcode

    designcode Well-Known Member

    Messages:
    738
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    118
    #8
    What I have realized from its popularity is that its will take place of PHP, application made with it are easy to maintain, and as a plus its a full object oriented. Digg.com is developed on RoR.
     
    designcode, Mar 2, 2007 IP
  9. sarahk

    sarahk iTamer Staff

    Messages:
    25,354
    Likes Received:
    3,487
    Best Answers:
    101
    Trophy Points:
    665
    #9
    All the above is correct. You may have problems finding hosting for it at the moment. That will change over time as RoR has proven itself to be a worthy platform.
     
    sarahk, Mar 2, 2007 IP
  10. designcode

    designcode Well-Known Member

    Messages:
    738
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    118
    #10
    Yes the hosting of RoR is not that easy to find. Its also expensive than PHP.
     
    designcode, Mar 3, 2007 IP
  11. DFischer

    DFischer Peon

    Messages:
    381
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Not really, hosting for RoR is easy to find. There is a huge list here
     
    DFischer, Mar 3, 2007 IP
  12. Emperor

    Emperor Guest

    Messages:
    4,822
    Likes Received:
    180
    Best Answers:
    0
    Trophy Points:
    0
    #12
    What exactly are the advantages of using rails? Does anyone have a good example of a site built with rails?
     
    Emperor, Mar 3, 2007 IP
  13. designcode

    designcode Well-Known Member

    Messages:
    738
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    118
    #13
    Digg.com is build with RoR. One advantage I have read on most place about RoR is that applications made with RoR are damn easy to maintain.
     
    designcode, Mar 3, 2007 IP
  14. Lucas3677

    Lucas3677 Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    My friend is a Ruby on Rails coder. Ever since he switched to it from PHP his development speed increased tremendously. He managed to get a full site (with user management, admin interface, etc...) up for me in less than an hour's time.

    I tried learning it myself, but never got past learning basic Ruby.
     
    Lucas3677, Mar 3, 2007 IP
  15. Emperor

    Emperor Guest

    Messages:
    4,822
    Likes Received:
    180
    Best Answers:
    0
    Trophy Points:
    0
    #15
    You guys got me interested in ROR maybe I’ll give it a try. What good sites are there that offer help, tutorials, etc…
     
    Emperor, Mar 3, 2007 IP
  16. Lucas3677

    Lucas3677 Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    www.rubycentral.com/book/roadmap.html
     
    Lucas3677, Mar 3, 2007 IP
  17. designcode

    designcode Well-Known Member

    Messages:
    738
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    118
    #17
    Same here :D
     
    designcode, Mar 3, 2007 IP
  18. maxed

    maxed Peon

    Messages:
    128
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #18
    Yea its good for maths....but other than that......not really useful
     
    maxed, Mar 4, 2007 IP
  19. bix

    bix Peon

    Messages:
    311
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #19
    Its pretty good, but I still prefer PHP since its far more dominant and well supported right now.
     
    bix, Mar 4, 2007 IP
  20. baker101

    baker101 Peon

    Messages:
    119
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #20
    hi, ive been learning ror since the summer. i dont know to much about the other web languages like php, perl, .net, etc...but i do know that for an independent web developer, its the prefect language and framework to use. the reason being, it can make using and adding new features to a web application real easy.

    for a simple example with a form that posts and gets from a database table this is what you do....

    //controller file:

    @newRecipe = Recipes.new

    //in the form view

    text_field :)newRecipe , 'name')
    text_field :)newRecipe , 'ingrediants')
    ....etc...

    //back in the controller

    @newRecipe = Recipe.new(params[:newRecipe])
    @newRecipe.save

    //done.

    to fetch the recipe, all you need to do is

    @myRecipe = Recipe.find(id)

    to fetch all the recipes,

    @myRecipes = Recipe.find:)all)


    now in your view file, you can just view any information in your @myRecipe variable.




    another cool feature is that you can add the following functionality to your code with just a few lines!.

    comments, file uploads, login systems, rating systems, etc...
     
    baker101, Mar 5, 2007 IP