Skip to content

clamarque/Angular_SSE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular_SSE

This is a simple application to show how to make a server sent event with PHP and communicate with client side in angular

When we have several clients, one must be able to send messages to everyone in one go. In our case , admin form sends a Message to the server. The server (Redis) receives and broadcasts the message to the other connected clients B and A.

Quick start

Download redis for Windows here

$ git clone git://github.com/nrk/predis.git

$ git clone git://github.com/clamarque/Angular_SSE.git

Start redis-server and lauch application with localhost (wamp, xamp, etc.)

Stack

  • Angular JS
  • Predis
  • Server Redis
  • Server Sent Event PHP

Tutorial

you can see a good tutorial of redis here

About

Broadcast messages by a server sent event in PHP on Angular JS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published