Whip Monstrous Code Into Shape
Offered By: Laracasts
Course Description
Overview
You did your best, but somehow that User object, over time, morphed into a monstrous God object. And your controllers started out nice and clean, but now... not so much. We've all been there. In this series, we'll review a number of ideas for whipping convoluted code into shape.
Syllabus
- Consider Form Objects
- Consider Use Cases
- Consider Domain Events
- God Object Cleanup #1: Pass-Through
- God Object Cleanup #2: Traits and Socks
- God Object Cleanup #3: Value Objects
- Consider Policies
- Consider Splitting Tasks into Steps
- Consider Strategizing
- Consider Normalizing
- Consider View Models
- Too Many Method Parameters is a Sign
- Consider Decorating
- Consider Fluent Interfaces
- Hands On Refactoring
- Staying True to the Seven Resourceful Methods
- Consider Query Objects
- Consider Refactoring Your Views
- Consider a Guest User Class
- Consider Wrapping it Up
Taught by
Jeffrey Way
Related Courses
Software as a ServiceUniversity of California, Berkeley via Coursera Software Testing
University of Utah via Udacity The Hardware/Software Interface
University of Washington via Coursera Software Debugging
Saarland University via Udacity Introduction to Systematic Program Design - Part 1
The University of British Columbia via Coursera