Understand.io logo
Laravel Error Tracking (AD)

Understand.io is used by hundreds of Laravel developers to find and fix errors.

Sign up for a free 14-day trial now.

About This Episode

In the previous episode, we used the query builder to fetch the relevant post from the database. However, there's a second option we should consider: Eloquent. Not only does an Eloquent class provide the same clean API for querying your database, but it's also the perfect place to store any appropriate business logic.

Published on Sep 17th, 2019.

Discuss It

Episodes

  1. Section 1 Prerequisites

    1. At a Glance

      EPISODE 1 2:40 Free
    2. The Laravel Installer

      EPISODE 3 3:02 Free
    3. Laravel Valet Setup

      EPISODE 4 3:18 Free
  2. Section 2 Routing

    1. Basic Routing and Views

      EPISODE 5 3:41 Free
    2. Pass Request Data to Views

      EPISODE 6 4:11 Free
    3. Route Wildcards

      EPISODE 7 3:42 Free
    4. Routing to Controllers

      EPISODE 8 3:01 Free
  3. Section 3 Database Access

    1. Setup a Database Connection

      EPISODE 9 6:13 Free
    2. Hello Eloquent

      EPISODE 10 3:45 Free
    3. Migrations 101

      EPISODE 11 5:23 Free
    4. Business Logic

      EPISODE 13 7:36 Free
  4. Section 4 Views

    1. Layout Pages

      EPISODE 14 4:11 Free
    2. Integrate a Site Template

      EPISODE 15 4:27 Free
    3. Set an Active Menu Link

      EPISODE 16 2:15 Free
    4. Render Dynamic Data

      EPISODE 18 6:19 Free
    5. Render Dynamic Data: Part 2

      EPISODE 19 5:05 Free
    6. Homework Solutions

      EPISODE 20 2:45 Free
  5. Section 5 Forms

    1. Restful Routing

      EPISODE 22 7:37 Free
    2. Form Handling

      EPISODE 23 7:55 Free
    3. Form Validation Essentials

      EPISODE 25 8:53 Free
  6. Section 6 Controller Techniques

    1. Leverage Route Model Binding

      EPISODE 26 4:56 Free
    2. Reduce Duplication

      EPISODE 27 5:40 Free
    3. Consider Named Routes

      EPISODE 28 3:58 Free
  7. Section 7 Eloquent

    1. Basic Eloquent Relationships

      EPISODE 29 6:07 Free
Understand.io logo
Laravel Error Tracking (AD)

Understand.io is used by hundreds of Laravel developers to find and fix errors.

Sign up for a free 14-day trial now.

Back to Series Button