Follow the Eloquent road

Video post
by Tim MacDonald on the

This talk was given at the 2020 LaraconUS / Online conference. You can find all the talks from previous years in the Laracon Online showcase.

Abstract

When you take the Eloquent road for the first time, it's easy to pour everything into a model...but I think if you follow the road just a little further, you'll find you're guided in a way that makes your app feel more focused, maintainable, and enjoyable. Everything, you'll find, has it's own home.

Under the hood Eloquent is an interconnected web of functionality all working to power the model - but by embracing the interconnected nature of Eloquent, and wielding the power of it yourself, you'll not only find new and interesting ways of structuring your projects, but also new conventions that were hiding just out of sight. All this without the need to abandon the "Laravel way".

Through a handful of tips, I will give you a fresh take on Eloquent within your application and by the end of the talk I'll have changed your mind about what Eloquent is - and more importantly - where Eloquent leads you.