PDA

View Full Version : where is ruby used for ?


xellos
01-01-2008, 02:02 PM
where is ruby used for ?

for web or normal programming?

or is it like php or javascript?

ralph l mayo
01-02-2008, 09:12 AM
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).

smitha
09-05-2008, 11:13 AM
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

rs2pl
11-22-2008, 04:55 AM
I actually really enjoy reading your blog. Glad you’re sticking around! And I must say, I absolutely love the title of your blog .

lyndas9254
12-08-2008, 02:28 AM
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.

kucerar
12-12-2008, 09:07 PM
so far I seen it used in books, training, conferences, developer journals and t-shirts, but never in practice.

pyngthyngs
05-09-2009, 05:06 PM
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): http://codingforums.com/showthread.php?t=160819

DesouzaC
08-13-2009, 06:29 AM
Is twitter still run on Ruby?

Zangeel
08-19-2009, 07:41 AM
It's now using Scala not ROR

funnymoney
08-19-2009, 03:15 PM
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 :D

Zangeel
08-20-2009, 09:30 AM
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.

funnymoney
08-21-2009, 06:54 PM
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 :p

whizard
08-26-2009, 08:06 PM
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

mlse
09-17-2009, 11:45 AM
PHP ist die Übersprache von dem Internet!

Fou-Lu
09-17-2009, 02:26 PM
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 :p


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...

funnymoney
09-18-2009, 01:17 AM
Mind you, I only know it because it was a requirement for school...

school? oh, that was loong time ago ;)

Fou-Lu
09-18-2009, 05:47 AM
school? oh, that was loong time ago ;)

That was only a year ago :P

funnymoney
09-19-2009, 01:12 AM
That was only a year ago :P

maybe 7-8 ago.. unless you mean college..

Zangeel
11-21-2009, 09:12 PM
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...

You have brought great shame to CF with your knowledge of Ruby :(