by
Lessons:26Length:3.4 hours
  • Overview
  • Transcript

9.1 Validation Services

Chances are high that you perform the bulk of your validation directly within the controller. This is generally considered to be a bad practice. Instead, let’s create a validation service to DRY things up, and limit the amount of work that rests on the controller’s shoulders.