Skip to Content
Ruby on Rails For Dummies®
book

Ruby on Rails For Dummies®

by Barry Burd
January 2007
Beginner
330 pages
6h 52m
English
Wiley
Content preview from Ruby on Rails For Dummies®

Chapter 7. Weaving the Web

In This Chapter

  • Understanding the Hypertext Transfer Protocol

  • Coding basic Web pages

  • Coding Web forms

What do the initials WWW mean to you? Wee Willie Winkie? Which way, Wanda? Where's Walter's wife? World Wide Web? If your answer is “World Wide Web,” you've opened to the right chapter. This chapter describes the secrets behind Web pages. The chapter emphasizes secrets that pertain to Ruby on Rails developers.

The Working of the Web

What happens when you browse the Web? You sit in front of a computer, which is called the client computer. The client computer runs a piece of software (a Web browser). Because your browser runs on the client computer, your browser is called the client program (or simply, the client).

With your keyboard and mouse, you issue commands to the browser. You're called the visitor because you visit a Web site. Another name for you is the user, because you use the Web's services.

Whatever you call yourself, the Web browser turns each of your commands into a request and sends this request over the Internet to another computer somewhere else in the world. The computer that receives the request is called the server computer. The server computer runs a program called a Web server. The server program analyzes the request and sends back a response. (See Figure 7-1 .) This response is typically a document known as a Web page.

Figure 7-1: Communication between a client and a server.

Figure 7.1.  Figure 7-1: ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Ruby on Rails: Up and Running

Ruby on Rails: Up and Running

Bruce Tate, Curt Hibbs
Ruby on Rails® Bible

Ruby on Rails® Bible

Timothy Fisher
Learning Rails 5

Learning Rails 5

J. Mark Locklear, Eric J Gruber, Barnabas Bulpett

Publisher Resources

ISBN: 9780470081204Purchase book