Becoming a Software Developer part 7: Ruby for the Internet Nuby
Introduction
This series of articles started off by looking at "Ruby for the Nuby," introduced the ideas of "Test-Driven Development," and then branched off to look at how to use version control. The next three articles looked at requirements (Part 4: Understanding Use Cases and Requirements), how to test them (Part 5: Creating Acceptance Tests from Use Cases), and the "simple matter of programming" (Part 6: Design and Programming). This article brings this all together and shows a very small part of one use case of the overall running club membership application.
The use case that we'll use for this article is the one introduced in Part 4 of this series, sending emails to notify members of special events. This will demonstrate the use of the Net::SMTP classes in Ruby, and in the process show how simple it is to use Ruby as a scripting language for the Internet.