From the course: Extending Laravel with First Party Packages
Unlock this course with a free trial
Join today to access over 22,600 courses taught by industry experts.
Getting all comments
From the course: Extending Laravel with First Party Packages
Getting all comments
- [Instructor] All right, so it's time to continue on now that we've laid that faint foundation. We got all of the kinda user interface elements setup and we've got our API tokens now for our users. Now I think we have everything, we can go ahead and start working in Vue.js and what we're gonna do to start with is we're gonna get all the comments off of the server and then display em to the user when the page initially loads. So that's what we're gonna focus on in this video. We're just gonna get all the comments for a post when the page loads and then display those comments to the user. So let's go ahead and take a look at this in the project. So here is where we left off in the previous video. We went ahead and just created this basic media object like we've got here. Now the next step that we want to do is we want to load, when the page first loads we want to get all of the comments for this post off of the server and then we'll display those to the user. So this is kind of a dummy…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Configure and install Laravel Echo10m 15s
-
(Locked)
Set up a Pusher account3m 59s
-
(Locked)
Create a blog comments system7m 53s
-
(Locked)
Create a presence channel for blog posts8m 31s
-
(Locked)
Listen to an Echo channel and upgrade room count6m 33s
-
(Locked)
Add authentication to the presence channel10m 41s
-
(Locked)
Accessing subscriber information within a presence channel9m 38s
-
(Locked)
Live updating comments8m 3s
-
(Locked)
Getting all comments11m 41s
-
(Locked)
Submit new comments9m 25s
-
(Locked)
Debugging comment submissions8m 27s
-
(Locked)
Creating an event for new comments8m 54s
-
(Locked)
Listening to the event13m 7s
-
(Locked)