Slimming Down Your Models and Controllers with Concerns, Service Objects, and Tableless... - 1 views
-
The single responsibility principle asserts that every class should have exactly one responsibility. In other words, each class should be concerned about one unique nugget of functionality
-
fat models are a little better than fat controllers
-
when every bit of functionality has been encapsulated into its own object, you find yourself repeating code a lot less.
- ...2 more annotations...