Ruby is a programming language used for a very wide variety of tasks. Probably the most popular framework written in ruby is "rails" which is a platform for making complex web pages. Because what ruby is, it would be rather hard to explain the changes and why they're cool to a non-programmer; basically it's faster, it handles resources more intelligently, and it lets people do a bunch of things they've been asking for more easily.
By more complex, are you referring to more dynamic pages? Why would I use Ruby over PHP/HTML/CSS/JS? Does Ruby essentially combine what I listed before into one language?
What wasn't mentioned was the server that runs PHP, which is typically apache. Ruby also manages the HTTP server as well, correct? I.e. no need for apache.
No. Rails ships with a built in web server called WebBrick. Ruby does not. PHP 5.3 ships with a built in web server too. Neither of the servers included with PHP or Rails are intended for production usage. To serve up a rails app you typically use either apache (with passenger aka mod_ruby similar to mod_php for apache), or a dedicated server for ruby rack apps (unicorn, thin, rainbows, mongrel, etc etc).
18
u/TikiTDO Feb 24 '13
Ruby is a programming language used for a very wide variety of tasks. Probably the most popular framework written in ruby is "rails" which is a platform for making complex web pages. Because what ruby is, it would be rather hard to explain the changes and why they're cool to a non-programmer; basically it's faster, it handles resources more intelligently, and it lets people do a bunch of things they've been asking for more easily.