Code Explainers
Code explainers tagged #notifications
php
<?php namespace App\Notifications;
Delayed, self-cancelling emails in Laravel
queues
notifications
delayed-jobs
Intermediate
7 steps
javascript
import { createContext, useContext, useState, useCallback, useRef } from "react"; const ToastContext = createContext(null);
Building a toast notification system in React
context
state-management
hooks
Intermediate
7 steps
php
<?php namespace App\Listeners;
How event subscribers group listeners in Laravel
event-driven
subscribers
queues
Intermediate
6 steps
php
<?php namespace App\Jobs;
Rendering invoice PDFs in a Laravel queue job
queued jobs
pdf generation
file storage
Intermediate
9 steps
php
<?php namespace App\Jobs;
A retrying queue job in Laravel
queues
background-jobs
retries
Intermediate
7 steps
php
<?php namespace App\Http\Controllers;
Email confirmation with signed URLs in Laravel
signed-urls
email-verification
middleware
Intermediate
6 steps
ruby
class NewCommentNotifier < ApplicationNotifier deliver_by :database deliver_by :email do |config|
Multi-channel notifications with Noticed in Rails
notifications
delivery-methods
fan-out
Intermediate
6 steps
php
<?php namespace App\Notifications;
How a queued weekly digest email works in Laravel
notifications
queues
email
Intermediate
7 steps
php
<?php namespace App\Observers;
How Eloquent observers hook lifecycle events in Laravel
observers
lifecycle-hooks
queues
Intermediate
6 steps