Go Back   CodingForums.com > :: Server side development > Ruby & Ruby On Rails

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-01-2008, 01:02 PM   PM User | #1
xellos
New to the CF scene

 
Join Date: Jan 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
xellos is an unknown quantity at this point
where is ruby used for ?

where is ruby used for ?

for web or normal programming?

or is it like php or javascript?
xellos is offline   Reply With Quote
Old 01-02-2008, 08:12 AM   PM User | #2
ralph l mayo
Regular Coder

 
ralph l mayo's Avatar
 
Join Date: Nov 2005
Posts: 951
Thanks: 1
Thanked 31 Times in 29 Posts
ralph l mayo is on a distinguished road
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).
ralph l mayo is offline   Reply With Quote
Old 09-05-2008, 10:13 AM   PM User | #3
smitha
New to the CF scene

 
Join Date: Sep 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
smitha is an unknown quantity at this point
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
smitha is offline   Reply With Quote
Old 12-08-2008, 01:28 AM   PM User | #4
lyndas9254
New to the CF scene

 
Join Date: Dec 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
lyndas9254 is an unknown quantity at this point
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.
lyndas9254 is offline   Reply With Quote
Old 12-12-2008, 08:07 PM   PM User | #5
kucerar
New to the CF scene

 
Join Date: Dec 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
kucerar is an unknown quantity at this point
so far I seen it used in books, training, conferences, developer journals and t-shirts, but never in practice.
kucerar is offline   Reply With Quote
Old 05-09-2009, 04:06 PM   PM User | #6
pyngthyngs
New to the CF scene

 
Join Date: Feb 2009
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
pyngthyngs is an unknown quantity at this point
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): http://codingforums.com/showthread.php?t=160819
pyngthyngs is offline   Reply With Quote
Old 08-13-2009, 05:29 AM   PM User | #7
DesouzaC
New to the CF scene

 
Join Date: Aug 2009
Location: NYC
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
DesouzaC is an unknown quantity at this point
Is twitter still run on Ruby?
DesouzaC is offline   Reply With Quote
Old 08-19-2009, 06:41 AM   PM User | #8
Zangeel
Regular Coder

 
Zangeel's Avatar
 
Join Date: Oct 2007
Location: public_html/
Posts: 638
Thanks: 17
Thanked 79 Times in 79 Posts
Zangeel will become famous soon enough
It's now using Scala not ROR
__________________
PHP Code:
$aString is_string((string)array()) ? true false// true :D 
[/CENTER]
Zangeel is offline   Reply With Quote
Old 08-19-2009, 02:15 PM   PM User | #9
funnymoney
Regular Coder

 
funnymoney's Avatar
 
Join Date: Aug 2007
Posts: 364
Thanks: 17
Thanked 24 Times in 24 Posts
funnymoney is an unknown quantity at this point
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
__________________
PHP Idea Factory
funnymoney is offline   Reply With Quote
Old 08-20-2009, 08:30 AM   PM User | #10
Zangeel
Regular Coder

 
Zangeel's Avatar
 
Join Date: Oct 2007
Location: public_html/
Posts: 638
Thanks: 17
Thanked 79 Times in 79 Posts
Zangeel will become famous soon enough
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]
Zangeel is offline   Reply With Quote
Old 08-21-2009, 05:54 PM   PM User | #11
funnymoney
Regular Coder

 
funnymoney's Avatar
 
Join Date: Aug 2007
Posts: 364
Thanks: 17
Thanked 24 Times in 24 Posts
funnymoney is an unknown quantity at this point
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
__________________
PHP Idea Factory
funnymoney is offline   Reply With Quote
Old 08-26-2009, 07:06 PM   PM User | #12
whizard
Senior Coder

 
whizard's Avatar
 
Join Date: Jan 2005
Location: Philadelphia, PA, USA
Posts: 1,457
Thanks: 10
Thanked 37 Times in 37 Posts
whizard will become famous soon enoughwhizard will become famous soon enough
Quote:
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
__________________
If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.
Step 1: Learn. Step 2: Search. Step 3: Post here.
whizard is offline   Reply With Quote
Old 09-17-2009, 10:45 AM   PM User | #13
mlse
Regular Coder

 
mlse's Avatar
 
Join Date: Mar 2005
Posts: 624
Thanks: 20
Thanked 19 Times in 18 Posts
mlse is on a distinguished road
PHP ist die Übersprache von dem Internet!
__________________
Die Welt ist ein Irrenhaus und hier ist die Zentrale!
mlse is offline   Reply With Quote
Old 09-17-2009, 01:26 PM   PM User | #14
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,653
Thanks: 4
Thanked 2,451 Times in 2,420 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
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...
__________________
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php
Fou-Lu is offline   Reply With Quote
Old 09-18-2009, 12:17 AM   PM User | #15
funnymoney
Regular Coder

 
funnymoney's Avatar
 
Join Date: Aug 2007
Posts: 364
Thanks: 17
Thanked 24 Times in 24 Posts
funnymoney is an unknown quantity at this point
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
__________________
PHP Idea Factory
funnymoney is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:11 AM.


Advertisement
Log in to turn off these ads.