Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 30
  1. #1
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    where is ruby used for ?

    where is ruby used for ?

    for web or normal programming?

    or is it like php or javascript?

  • #2
    Regular Coder ralph l mayo's Avatar
    Join Date
    Nov 2005
    Posts
    951
    Thanks
    1
    Thanked 31 Times in 29 Posts
    It's used for both web and normal programming. Probably more people use it to develop for the web, but I don't have any numbers.

    It's more like PHP in that it's used in server-side coding but more like JavaScript in syntax (although it isn't a whole lot like either in syntax).

  • #3
    New to the CF scene
    Join Date
    Sep 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, extensible, and portable

    The Integer class and its subclasses Fixnum and Bignum now have a reverse method. This is an important part of Ruby, as less object oriented languages will often make you use more standard procedural style within a class, e.g. a custom method I want to operate on strings would typically be a static method that takes a string as an explicit method in Java or C#, while in Ruby you would add it to the string class and continue calling it OOP style. Ruby even lets you add a method to a single specific instance of a class.
    --------------------
    Smitha

  • #4
    New to the CF scene
    Join Date
    Dec 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have used ROR for web development successfully. It is object oriented making development easier. ROR makes it easy to access data models with limited amount of coding. You also can scale the project or scale the web design. To grab ROR information go on google or go to Rubyonrails.org. These were very useful.

  • #5
    New to the CF scene
    Join Date
    Dec 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    so far I seen it used in books, training, conferences, developer journals and t-shirts, but never in practice.

  • #6
    New to the CF scene
    Join Date
    Feb 2009
    Posts
    6
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by kucerar View Post
    so far I seen it used in books, training, conferences, developer journals and t-shirts, but never in practice.
    LOL. You can't be serious. Here are a number of quality site run on ROR including Twitter (#49 on Alexa as of this writing): Which Sites Run On Ruby On Rails?

  • #7
    New to the CF scene
    Join Date
    Aug 2009
    Location
    NYC
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Is twitter still run on Ruby?

  • #8
    Regular Coder Zangeel's Avatar
    Join Date
    Oct 2007
    Location
    public_html/
    Posts
    638
    Thanks
    17
    Thanked 79 Times in 79 Posts
    It's now using Scala not ROR
    PHP Code:
    $aString is_string((string)array()) ? true false// true :D 
    [/CENTER]

  • #9
    Regular Coder funnymoney's Avatar
    Join Date
    Aug 2007
    Posts
    364
    Thanks
    17
    Thanked 24 Times in 24 Posts
    i don't understand why there are new programming/scripting languages after PHP..

    yea, yea, Ruby this Ruby that, but that's all tech mumbo-jumbo that 98% of people who are into programming never even figure out, not to say use it.

    it's great, but not that great for me to switch on it. PHP Rulez

  • #10
    Regular Coder Zangeel's Avatar
    Join Date
    Oct 2007
    Location
    public_html/
    Posts
    638
    Thanks
    17
    Thanked 79 Times in 79 Posts
    PHP does what most programming languages do. I mean they functionally do all the same things, the ROR framework isn't half bad though, but then again there's many PHP frameworks that copy Rails. The advantage of PHP is it can be done procedural, and OO, and it's straightforward. A intermediate PHP user can do the same as an advanced PHP user using procedural instead of OO, so it's an attractive language.
    PHP Code:
    $aString is_string((string)array()) ? true false// true :D 
    [/CENTER]

  • #11
    Regular Coder funnymoney's Avatar
    Join Date
    Aug 2007
    Posts
    364
    Thanks
    17
    Thanked 24 Times in 24 Posts
    you know why php is good, because ppl actually type php code..

    now, does anyone here know how to type ruby code.

    no.

    i thought so

  • #12
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    you know why php is good, because ppl actually type php code..

    now, does anyone here know how to type ruby code.

    no.

    i thought so
    Win.

    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #13
    Regular Coder mlse's Avatar
    Join Date
    Mar 2005
    Posts
    624
    Thanks
    20
    Thanked 19 Times in 18 Posts
    PHP ist die Übersprache von dem Internet!
    Die Welt ist ein Irrenhaus und hier ist die Zentrale!

  • #14
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    Quote Originally Posted by funnymoney View Post
    you know why php is good, because ppl actually type php code..

    now, does anyone here know how to type ruby code.

    no.

    i thought so
    Code:
    def f(name)
    puts "#{name} can codz the rubz"
    end
    f("Fou-Lu")
    // Fou-Lu can codz the rubz
    Mind you, I only know it because it was a requirement for school...
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • #15
    Regular Coder funnymoney's Avatar
    Join Date
    Aug 2007
    Posts
    364
    Thanks
    17
    Thanked 24 Times in 24 Posts
    Quote Originally Posted by Fou-Lu View Post
    Mind you, I only know it because it was a requirement for school...
    school? oh, that was loong time ago


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •