Day 20. Working with the Web

For the Snark's a peculiar creature, that won't

Be caught in a commonplace way.

Do all that you know, and try all that you don't;

Not a chance must be wasted to-day!

——Lewis Carroll, The Hunting of the Snark

Today we take some introductory steps toward using Ruby to provide dynamic Web content. There are lots of ways to do it, and we'll experiment with several.

Since all of this depends on having access to a Web server, we'll also discuss relevant setup issues on Apache, the most popular Web server available free across most computer platforms.

We won't be going through the fundamentals of the Hypertext Markup Language (HTML) today. That is well covered in numerous books and in at least as many tutorials on the Web ...

Get Sams Teach Yourself Ruby in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.