In this chapter, we tackle adding validation and business rules to our blog application. As always, we begin with a set of stories (see Figure 19.1).
Figure 19.1. User stories
We need to implement the following stories:
• If a user submits a blog entry without a title, the validation error message “Title Is Required” displays.
• If a user submits a blog entry with a title longer ...