Refactoring To Lookup Tables

Refactoring To Lookup Tables

Caleb Porzio returns this week to provide an in depth review of lookup tables. Lookup tables are a lesser known, but extremely versatile and powerful little pattern. We’ll use them to clean up some long conditionals, and then explore how they can help us share backend business logic with the frontend.

View the source code for this episode on GitHub.

Published on Dec 17th, 2019.


via Laracasts

December 17, 2019 at 04:15PM