Solved

What is ruby most commonly used for?

Posted on 2011-02-27
4
499 Views
Last Modified: 2012-05-11
HI,
I know its basic question but can any one please summerise what ruby is most commonly used for?
Can it be used same as php ? to mamke db connections, retrieve data, write html etc....
What the actual power of it
I just need some words to be able understand it

Thanks for help
0
Comment
Question by:SameerMirza
  • 2
4 Comments
 
LVL 10

Expert Comment

by:wmeerza
ID: 34994172
Start here:
http://rubyonrails.org/
As it tells you probably most of what you know. But i have seen it used in all sorts of areas from internal insurance management systems to external web based applications.
0
 
LVL 12

Accepted Solution

by:
JESii earned 500 total points
ID: 34996458
Ruby is best known for Rails, as #wmeerza pointed out.

However, it's much more capable than that and can do anything that PHP can do. I personally have used it for IT opeational / administrative tasks (e.g., running backups, verifying results, and move logs to an archival location) and writing extensive conversion programs for a client that wanted to move from one databased system to another. Even without Rails, it can access pretty much any database or filesystem you can think of, as it has implementations in Linux, Mac OSx and windows.

I've been programming for many years and the thing I really like about Ruby is its clarify and consistency. Besides that, it really is an enjoyable language to work with.  Depending on your background and interests, there are a number of good books on Ruby itself: For example:

“Programming Ruby (1.9)” by Dave Thomas/Pragmatic Programmers. They had a special sale for the 10th anniversary edition of the book: $10 for print or PDF and $20 for both. Sale may be gone, but who knows? http://pragprog.com/titles/ruby/programming-ruby

“The Well-Grounded Rubyist” by Dave Black/Manning which is also quite good. http://www.manning.com/black2/

“The Ruby Programming Language” by Dave Flanagan & Yukihiro Matsumoto/O’Reilly. http://oreilly.com/catalog/9780596516178
0
 

Author Closing Comment

by:SameerMirza
ID: 35166624
thx
0
 
LVL 12

Expert Comment

by:JESii
ID: 35170251
You are welcome; thank you for the points!
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
301 redirect rails app 10 600
rails mysql error 5 1,024
Ruby 2-D array 1 170
Vaidate a date in Rails 2 97
Article by: narshlob
If you've ever programmed in Ruby and have come across either a proc or a lambda, you might have been wondering what the difference is between the two and when you would use one over the other. This article will try to explain the difference between…
Recently I spent hours debugging an issue in a Rails project where ActiveRecord was causing MySQL errors trying to create a User object of a class at the top level of a Single Table Inheritance model structure.  It turns out `.create` behaves differ…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now