A comprehensive talk about writing better Laravel code by focusing on proper use of Eloquent ORM features. The speaker discusses model defaults, relationship management, custom collections, and report generation patterns. He emphasizes the importance of making code readable and semantic, using real-world furniture-making analogies to illustrate concepts of craftsmanship in software development.
The talk introduces the Lucid Architecture for Laravel applications, which is a pattern for organizing code in large-scale applications. The speaker explains how Lucid Architecture helps maintain clean code by organizing features, jobs, and services in a structured way. The architecture aims to solve common problems like legacy code, technical debt, and code organization while remaining performant and maintainable.
This talk covers modular monoliths as an architectural approach for Laravel applications. The speaker discusses how to organize code into modules while maintaining the benefits of a monolithic application, exploring concepts like boundary definition, inter-module communication through events, and data ownership. He contrasts this with both traditional monoliths and microservices, explaining how modular monoliths can provide a middle ground that offers better code organization and team independence while avoiding the complexity of distributed systems.