Lessons:21Length:2.7 hours

For full access to all 21 lessons, including source files, subscribe with Elements.
- Overview
- Transcript
3.3 Eloquent CRUD
In this lesson we’ll work with Laravel’s Eloquent. Eloquent is a powerful Active Record-like ORM with elegant syntax. In just a few lines of code we’ll have access to all the CRUD (Create, Read, Update, Delete) methods you can think of. We will fetch, create, update and delete posts that live in our database. Also, we’ll guard our Post model against mass assignment.
Note: The Eloquent class lives in vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php
.
1.Introduction1 lesson, 01:55
1 lesson, 01:55
Free Lesson 1.1Welcome01:55
Free Lesson
1.1
Welcome
01:55
2.Getting to Know Laravel 48 lessons, 55:39
8 lessons, 55:39
Free Lesson 2.1Installing Composer and a Command Line Tool05:25
Free Lesson
2.1
Installing Composer and a Command Line Tool
05:25
2.2Creating a Laravel 4 Project07:37
2.2
Creating a Laravel 4 Project
07:37
2.3Laravel 4 MVC09:44
2.3
Laravel 4 MVC
09:44
2.4Laravel 4 Routing09:18
2.4
Laravel 4 Routing
09:18
2.5Laravel 4 Route Groups And Filters03:51
2.5
Laravel 4 Route Groups And Filters
03:51
2.6Resource Controllers05:52
2.6
Resource Controllers
05:52
2.7Blade Essentials06:39
2.7
Blade Essentials
06:39
2.8Blade Layouts And Partials07:13
2.8
Blade Layouts And Partials
07:13
3.Working With the Database5 lessons, 47:37
5 lessons, 47:37
3.1Laravel 4 Migrations08:29
3.1
Laravel 4 Migrations
08:29
3.2Laravel 4 Query Builder12:05
3.2
Laravel 4 Query Builder
12:05
3.3Eloquent CRUD12:49
3.3
Eloquent CRUD
12:49
3.4Eloquent Relations10:19
3.4
Eloquent Relations
10:19
3.5Laravel 4 Database Seeding03:55
3.5
Laravel 4 Database Seeding
03:55
4.Forms and Validation2 lessons, 14:35
2 lessons, 14:35
4.1Setting Up a Laravel Form08:26
4.1
Setting Up a Laravel Form
08:26
4.2Validating the Form06:09
4.2
Validating the Form
06:09
5.Hands-On Project: A Simple Blog4 lessons, 41:24
4 lessons, 41:24
5.1Setting Up the Blog09:47
5.1
Setting Up the Blog
09:47
5.2Creating the Admin Post Resource15:03
5.2
Creating the Admin Post Resource
15:03
5.3Securing the Admin Panel07:51
5.3
Securing the Admin Panel
07:51
5.4Creating the Front-End08:43
5.4
Creating the Front-End
08:43
6.Conclusion1 lesson, 01:01
1 lesson, 01:01
6.1Conclusion and Resources01:01
6.1
Conclusion and Resources
01:01
Continue watching with Elements
Continue watching with Elements