Ruby at both extremes of your website
Archive - Originally posted on "The Horse's Mouth" - 2011-09-10 19:37:06 - Graham EllisQ: How is Ruby used on the web?
A: At both extremes.


Ruby can also be used through the Common Gateway Interface - there's a standard CGI class, and we've got a "hello world" source example [here] on our web site. The CGI module includes header handling, forms, data escaping functionallity, cookies and sessions.

There is also a standard net/HTTP module which provides programs with the ability to make use of web resources via what is in effect a browser written in Ruby. There's an example of that in use here on our web site. the net/HTTP module includes a wide range of data and method handlers to support both GET and POST method request gnereation, simple authentication, and response handling.
Read the next article about Ruby for web site testing here
Read the next article about Ruby as a server language in the Rails framework here