Eloquent Relationships - One To One (hasOne, BelongsTo)
Eloquent offers a simple way to declare database relationships. In this episode, we are setting up a one to one relationship between a user and a phone.
Laravel policy files allow us to limit any of the CRUD actions in our app allowing us to stop unwanted behavior. Follow along as we work out a policy for our Customer's model.
Pagination is the simple concept of splitting up records into a set number and then displaying them in different pages. Laravel makes this so easy to do, it's almost laughable. Follow along as we paginate our customer's list.
Lazy Loading vs. Eager Loading (Fixing N + 1 Problem)
You may have heard these fancy terms or read them in a blog post but what do they mean? In this lesson, we are diving deep to find out what it means, how to detect it and ultimately how to fix and avoid it.