Wiley Ruby on Rails For Dummies 978-0-470-08120-4 Benutzerhandbuch

Produktcode
978-0-470-08120-4
Seite von 12
Chapter 1
Welcome to the World 
of Ruby on Rails
In This Chapter

Understanding the need for agile software development

Discovering Ruby’s role in agile development

Finding out how Rails fits in
O
nce upon a time, there were three little programmers. The programmers
wrote code for the World Wide Web — code to give users access to a
company’s database.
The first programmer was in a hurry to write her code. She wrote simple
code as quickly as she could. The second programmer wasn’t quite in such a
hurry. She used the traditional Waterfall methodology — a multistep process
involving analysis, design, coding, testing, and deployment. The third pro-
grammer was careful and industrious. She used a heavyweight persistence
framework such as Enterprise JavaBeans. She built her software to cover
every possible contingency and to accommodate any future need.
As you might expect, this story has a big bad wolf. The wolf might have been
a manager, a client paying for the software’s creation, or a customer attempt-
ing to access the company’s Web site. The wolf went in reverse order, visiting
the careful and industrious programmer’s Web site first.
Unfortunately, the wolf couldn’t log onto the industrious programmer’s site.
Instead, he got the message: “This site is under construction.” The careful,
industrious programmer had completed only half of her work. The heavy-
weight persistence framework was difficult to learn and burdensome to use.
Needless, to say, the wolf huffed and he puffed, and he blew the Web site down.
05_081204 ch01.qxp  11/30/06  11:09 PM  Page 9
COPYRIGHTED MATERIAL