Tag

web push

1 views collected around this technical thread.

Sanyou's Java Diary
Sanyou's Java Diary
Oct 19, 2023 · Backend Development

Implement Real‑Time Web Message Push (Red Dot) Using Polling, SSE, WebSocket & MQTT

This article walks through multiple ways to add real‑time in‑site notifications—such as the familiar red‑dot badge—to a web application, covering short and long polling, iframe streaming, Server‑Sent Events, MQTT and WebSocket, with complete Spring Boot code examples and client‑side snippets.

MQTTSSESpring Boot
0 likes · 19 min read
Implement Real‑Time Web Message Push (Red Dot) Using Polling, SSE, WebSocket & MQTT
macrozheng
macrozheng
Aug 15, 2023 · Backend Development

Mastering Web Message Push: From Short Polling to SSE and WebSocket

This article explains various web message‑push techniques—including short polling, long polling, iframe streaming, Server‑Sent Events, MQTT, and WebSocket—detailing their principles, advantages, and step‑by‑step Spring Boot and JavaScript implementations with complete code examples.

JavaSSESpring Boot
0 likes · 18 min read
Mastering Web Message Push: From Short Polling to SSE and WebSocket
37 Interactive Technology Team
37 Interactive Technology Team
Sep 26, 2022 · Frontend Development

Web Push Notification Implementation with Firebase

This guide details how to implement web push notifications with Firebase, explaining the underlying push principles, step‑by‑step project setup—including service‑worker registration, token management, and message handling for both notification and data payloads—while also addressing common issues such as service‑worker updates, cross‑browser compatibility, and permission management.

Frontend DevelopmentNotification APIcloud messaging
0 likes · 12 min read
Web Push Notification Implementation with Firebase
IT Services Circle
IT Services Circle
Jul 27, 2022 · Backend Development

Implementing Web Message Push: Short Polling, Long Polling, Iframe Stream, SSE, MQTT, and WebSocket

This article explains several server‑side techniques for real‑time web message push—including short and long polling, hidden‑iframe streaming, Server‑Sent Events, MQTT, and WebSocket—provides their principles, advantages, drawbacks, and complete Spring Boot/Java code examples for each approach.

JavaSSESpring Boot
0 likes · 17 min read
Implementing Web Message Push: Short Polling, Long Polling, Iframe Stream, SSE, MQTT, and WebSocket
Trip Tech Team
Trip Tech Team
Aug 19, 2021 · Frontend Development

How to Implement Offline Web Push Notifications in Chrome with Service Workers

This article examines how to implement offline Web Push notifications in Chrome using Service Workers, covering background, technical concepts such as BrowserId and the Notifications API, step-by-step code for permission handling, key generation, BrowserId retrieval, and server‑side message delivery.

BrowserIdChromeFrontend Development
0 likes · 16 min read
How to Implement Offline Web Push Notifications in Chrome with Service Workers
Yuewen Frontend Team
Yuewen Frontend Team
Sep 5, 2018 · Frontend Development

Why Push Notifications Fail When Browser Is Closed and How to Fix Them

This article explains why web push notifications stop working when the browser is closed, how Android and desktop browsers handle push messages, how to open added‑to‑desktop web apps in full‑screen, the evolution from GCM to FCM, and provides detailed troubleshooting steps for authorization, payload encryption, connection issues, HTTP status codes, and error reporting.

FCMFrontend DevelopmentGCM
0 likes · 17 min read
Why Push Notifications Fail When Browser Is Closed and How to Fix Them
Yuewen Frontend Team
Yuewen Frontend Team
Aug 29, 2018 · Frontend Development

How to Subscribe a User to Push Notifications with Service Workers

This guide walks you through detecting push support, registering a service worker, requesting notification permission, creating a PushSubscription with proper options, and sending the subscription data to a backend for later use, all using modern JavaScript APIs.

APIfrontendjavascript
0 likes · 14 min read
How to Subscribe a User to Push Notifications with Service Workers
Yuewen Frontend Team
Yuewen Frontend Team
Aug 27, 2018 · Frontend Development

Master Web Push Notifications: A Frontend Guide to Timely, Relevant Alerts

This article introduces Web Push Notifications, explains how they work with Service Workers, compares the Push and Notification APIs, provides code examples for displaying notifications, and lists resources for trying out push features in modern browsers.

Notificationsfrontendjavascript
0 likes · 7 min read
Master Web Push Notifications: A Frontend Guide to Timely, Relevant Alerts
Qunar Tech Salon
Qunar Tech Salon
Oct 20, 2017 · Frontend Development

Common Web Push Technologies and Their Comparison: Short Polling, Long Polling, Iframe Stream, WebSocket, and Server‑Sent Events

This article reviews the main web push techniques—short polling, long polling, iframe streaming, WebSocket, and Server‑Sent Events—explaining their principles, advantages, disadvantages, and suitability, and presents a practical implementation case with a detailed comparison and troubleshooting guide.

PollingSSEWebSocket
0 likes · 9 min read
Common Web Push Technologies and Their Comparison: Short Polling, Long Polling, Iframe Stream, WebSocket, and Server‑Sent Events
Ctrip Technology
Ctrip Technology
Oct 12, 2017 · Frontend Development

Comparison of Web Push Technologies and Practical Implementation for Real‑Time Order Notifications

This article compares common web push techniques—including short polling, long polling, iframe streaming, WebSocket, and Server‑Sent Events—examining their principles, advantages, and drawbacks, and presents a practical selection and implementation case for real‑time order notifications in a client‑server application.

Server-Sent EventsWebSocketfrontend
0 likes · 10 min read
Comparison of Web Push Technologies and Practical Implementation for Real‑Time Order Notifications
System Architect Go
System Architect Go
Jun 17, 2017 · Frontend Development

Server-Sent Events (SSE): Implementing Lightweight Real-Time Server Push in Web Applications

Server-Sent Events (SSE) provide a lightweight, HTTP‑based mechanism for real‑time server push, and this article explains its principles, compatibility, and step‑by‑step implementation—including a simple server that streams timestamps every second and a front‑end page that displays the incoming data.

Frontend DevelopmentHTTPSSE
0 likes · 3 min read
Server-Sent Events (SSE): Implementing Lightweight Real-Time Server Push in Web Applications
Architect
Architect
Nov 12, 2015 · Backend Development

Web Real‑Time Message Push: Techniques and Choosing Comet with Tornado

This article reviews various web real‑time message push techniques—including polling, long‑polling, iframe streaming, socket plugins, and WebSocket—evaluates their pros and cons, and explains why the author selected the Comet approach implemented with the Python Tornado framework for a web push system.

Backendcometreal-time
0 likes · 4 min read
Web Real‑Time Message Push: Techniques and Choosing Comet with Tornado