Main Content

Fat Models, Skinny Controllers

About the Talk

April 1, 2011 12:00 PM

Reston, VA

Reston, VA

"Fat Models, Skinny Controllers" they scream. Pushing your logic down to the model layer is a key step to improve testability, maintainability, and code quality. But many developers now have "junk drawer" models that don't realize these goals. Having a fat model isn't enough! In this session we'll explore techniques for improving your models including:

  • Extracting code into libraries and gems
  • Encapsulating logic into processor objects
  • Using the presenter pattern
  • Deciding between class and instance methods
  • Guidelines to judge code quality and complexity

When you leave this session you'll be dying to refactor!

Ratings and Recommendations

Avg. Rating

Average based
on 5 ratings

comments powered by Disqus