Custom Events Passing Data from Child to Parent
Now that we have a nice modern npm and webpack build, let's tackle getting our components to communicate. In Vue, this is done using custom events. We can emit an event on our child component and then listen for that event on our parent event. Follow along as we code a simple example from scratch.
queue:work In The Background
Now that we have our jobs running, let's explore how we can run the queue:work command in the background. As it turns out, it's actually quite simple to do. Follow along as we set it up from scratch.
Queues: Database Driver
Let's learn about deferring processor-heavy tasks for a later time using Queues in Laravel. We will be implementing the Database Driver in local environment and talk about what other things need to be refactored to let our listener send jobs to the queue.
Events & Listeners
Let's add some more "things" we need to do in our controller and then refactor into events and listeners. An event, allows us to make announcements in our app and then respond with a list of listeners. Follow along as we hook everything up from scratch.