PHP Classes

How to Use an Implementation of the PHP Observer Pattern to Get Notifications about User Activity in a Chat Room Learning from the Package Chat Observe: Observe the activity of a chat room

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-10-05 (2 days ago) RSS 2.0 feedNot enough user ratingsTotal: 14 This week: 14All time: 11,371 This week: 5Up
Version License PHP version Categories
chat-observe 1.0MIT/X Consortium ...5PHP 5, Chat, Design Patterns
Description 

Author

This package can observe the activity of a chat room.

It provides interface definitions for observers and subjects with functions that observer and subject classes.

The package also provides a user class that implements the observer classes and a chat room class that implements the subject class, which outputs a message when a user sends a message to the chat room.

Picture of Rodrigo Faustino
  Performance   Level  
Name: Rodrigo Faustino <contact>
Classes: 27 packages by
Country: Brazil Brazil
Innovation award
Innovation award
Nominee: 17x

Winner: 2x

  Files folder image Files (8)  
File Role Description
Files folder imagesrc (4 files)
Accessible without login Plain text file chat_room.php Example Example script
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file index.php Example Example script

  Files folder image Files (8)  /  src  
File Role Description
  Plain text file Observador.php Class Class source
  Plain text file SalaDeChat.php Class Class source
  Plain text file Sujeito.php Class Class source
  Plain text file Usuario.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:14
This week:14
All time:11,371
This week:5Up