This episode is for members only

Level up with a premium membership

Get access
Already a member? Sign in to continue
Playing
18. Upserting records

Episodes

0%
Your progress
  • Total: 2h 20m
  • Played: 0m
  • Remaining: 2h 20m
Join or sign in to track your progress
01. Introduction and demo
4m 41s
0%
02. Fresh app and design
6m 29s
0%
03. Customer model, seeding and exporting
5m 3s
0%
04. Using and toggling the importer
13m 5s
0%
05. Accepting and validating a file
6m 56s
0%
06. Drag to drop upload
5m 54s
0%
07. Reading the CSV headers
6m 12s
0%
08. Setting the columns to import
3m 58s
0%
09. The UI to map columns
5m 33s
0%
10. Setting required import columns
5m 54s
0%
11. Improving the validation for required columns
4m 6s
0%
12. Tracking imports with a model
7m 34s
0%
13. Fetching the CSV records
2m 50s
0%
14. A quick lesson on PHP Generators
6m 48s
0%
15. Chunking through records
8m 30s
0%
16. Setting up for queues
4m 3s
0%
17. Batching CSV imports
7m 22s
0%
18. Upserting records
9m 8s
0%
19. Updating the processed rows
2m 28s
0%
20. Marking the import as complete
2m 13s
0%
21. Tweaking the import button
3m 52s
0%
22. Listing imports
7m 51s
0%
23. Scoping imports
2m 48s
0%
24. Updating the import progress UI
4m 27s
0%
25. Resetting state
3m 12s
0%
25 episodes2 hrs 20 mins

Course overview

Let's build a powerful CSV importer with Livewire, completely from scratch. This can handle millions of rows, be reused for multiple models, and by using job batches, doesn't require the browser to be open.

This course is for you if:

  • You need a robust importer component for your models that you have full control over
  • You want to brush up on some advanced Livewire concepts
  • You want to learn about job batching and queues in Laravel
Alex Garrett-Smith
Alex Garrett-Smith
Hey, I'm the founder of Codecourse!

Comments

No comments, yet. Be the first to leave a comment.