Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
25% Recurring Discount on NVMe VPS
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
CloudLinux
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

How to interract with client on a web apps

I want to create something like notification, on facebook or twitter. When an event happened, that specific client will be notified.

What's my options ?

Comments

  • FAT32FAT32 Administrator, Deal Compiler Extraordinaire

    Firebase / Websocket

  • mkshmksh Member

    Well, i guess you could also just use ajax. It's kinda ugly since you gotta pull for updates (request, wait for timeout or event, retry, ...) but it should work.

  • @mksh said:
    Well, i guess you could also just use ajax. It's kinda ugly since you gotta pull for updates (request, wait for timeout or event, retry, ...) but it should work.

    This is what I used at the moment.

    @FAT32 said:
    Firebase / Websocket

    Will look at it. Does it work in local environment without the internet ?

  • FAT32FAT32 Administrator, Deal Compiler Extraordinaire

    For Firebase no, but WebSocket can work locally

  • @FAT32 said:
    For Firebase no, but WebSocket can work locally

    After doing some reading , it needs some non blocking server side application such as node.js. Unfortunately I am working on WordPress which is PHP. Any suggestions ?

  • @yokowasis said:

    @FAT32 said:
    For Firebase no, but WebSocket can work locally

    After doing some reading , it needs some non blocking server side application such as node.js. Unfortunately I am working on WordPress which is PHP. Any suggestions ?

    I've never tried websockets with php but there are some library worth checking out.

Sign In or Register to comment.