Tim McDonald discusses how to make Laravel Eloquent collections more expressive and maintainable. He explores how collections can be extended to better reflect domain language, reduce code duplication, and improve readability. The talk covers moving logic from models to custom collections, sharing filtering APIs between collections and scopes, and rethinking what Eloquent really means as a complete system rather than just models.
Adam Wathan presents a talk on improving code quality by eliminating loops, conditionals, and temporary variables using Laravel Collections and functional programming concepts. He demonstrates how to refactor complex nested loops into cleaner collection pipelines using methods like map, filter, flatMap, and contains. The talk includes practical examples ranging from data transformation to simple conditional checks, showing how collections can make code more expressive and maintainable.
Adam Wathan presents a talk on refactoring Laravel code to use collection pipelines and functional programming concepts. He demonstrates how to transform traditional imperative code with loops and temporary variables into more expressive, maintainable code using Laravel's collection methods like map, filter, flatMap, and reduce. The talk includes live coding examples refactoring real code from Laravel Valet and discusses practical applications of collections in day-to-day programming.