Join Joseph Lowery for an in-depth discussion in this video Querying with Eloquent ORM, part of Up and Running with Laravel.
We're ready to drop the next piece of…the Laravel database puzzle into place, eloquent ORM.…As noted in an earlier overview, ORM is short for…Object Relational Mapper.…As you'll see in this lesson, eloquent fits right in…with migrations and Schema builder,…as the object oriented cornerstone…of Laravel's database environment.…To demonstrate just how eloquently eloquent fits in,…we'll need a new table for our database,…which we can do via a migration.…
Again, I'll bring up terminal and enter…"php artisan migrate make", and this time we'll call it…"create_paintings", which is gonna be the name…of our new table.…All right, let's head to our code editor, and in the…database migrations folder, you may have to…refresh yours like I do mine.…You should see a "create_paintings",…now open that up.…As we did before, we're going to create a very simple…little schema, and this table will have five columns,…and I'll put this in the up function, so it will be created…when it's first run.…
Schema, colon, colon, create, parentheses,…
- Installing Laravel
- Handling testing
- Establishing an HTML view
- Connecting to a database
- Enabling version control
- Setting up-and-running unit tests
Skill Level Intermediate
Up and Running with PHP CodeIgniter (2013)with Jon Peck1h 30m Intermediate
Up and Running with Symfony2 for PHPwith Jon Peck2h 4m Intermediate
1. Introduction to Laravel
2. Creating Initial Laravel Pages
3. Displaying Laravel Code
4. Creating a Laravel Application
5. Testing Your Laravel Code
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.