Back Button Frameworks
Eloquent Techniques

Eloquent Techniques

For any Laravel user, a solid understanding of Eloquent is crucial. In this series, we'll review a number of key techniques for your toolbelt.

Beginner
4 episodes
50m
4
Latest Episode in This Series

Added 4 years ago

Dedicated Query String Filtering

If you only need to check one or two parameters from the query string to filter a...

Watch
Eloquent Techniques

Eloquent Techniques

For any Laravel user, a solid understanding of Eloquent is crucial. In this series, we'll review a number of key techniques for your toolbelt.

Begin
4
Latest Episode in This Series

Added 4 years ago

Dedicated Query String Filtering

If you only need to check one or two parameters from the query string to filter a...
Watch

Your Teacher | Jeffrey Way

https://laracasts.s3.amazonaws.com/avatars/jeffrey-avatar.jpg's avatar
Hi, I'm Jeffrey. I'm the creator of Laracasts and spend most of my days building the site and thinking of new ways to teach confusing concepts. I live in Orlando, Florida with my wife and two kids.
    1. EPISODE 1

      Run Time 5:35

      Free

      Database transactions can be enormously useful in the instances where you want to roll back all database modifications, in the event that an exception is thrown along the way.

    2. EPISODE 2

      Run Time 14:05

      Let's say your app offers documents, which any user may modify. If you wanted to track each adjustment (who made the adjustment, and when it was made), how exactly would you accomplish this?

    3. EPISODE 3

      Run Time 14:06

      Building upon our example from the previous episode, let's now figure out how we might record changes to our models. For example, if a user updates the title of a particular document, let's learn how to also record/track the old and new title, in the process.

      View the source for this lesson on GitHub.

    4. EPISODE 4

      Run Time 16:34

      If you only need to check one or two parameters from the query string to filter a bit of data, performing that logic in the controller is simple enough. But now imagine an e-commerce site, where there are dozens of ways to filter the data. What else might be possibility?

      View the source for this lesson on GitHub.