|Ratings|| ||Unique User Downloads|| ||Download Rankings|
| 60%||Total: 462 This week: 1||All time: 6,057 This week: 117|
This package can notify user browsing a site in real time with AJAX.
It takes AJAX requests that perform long polling to send notification messages to users browsing the current site pages.
The package provides an administration interface that can send messages to the users queueing them in a database.
|Sites like for instance social networks send notifications to the users to let them know about new content, new messages, or actions that they need to take.
This package implements a solution to send notifications to users using AJAX so they can be aware of new notifications without having to load a new page.
* Here intercept the ajax call for the administration panel
* PHP version 5
* @author Ettore Moretti <firstname.lastname@example.org>
* @version 1.0.0
// Retrieving the last timestamp
$notification=isset( $_GET['notification'])? $_GET['notification']: 0 ;
// Retrieving the uid
$uid=isset( $_GET['id'])? $_GET['id']: 0 ;
//XajaServerClass instance and send notification
$XS= new XajaAdminServer();
What is XajaNotifier?
XajaNotifier is a solution designed to send notifications to users browsing your site in real-time.
Using the technique of reverse ajax through the implementation of long polling.
What I could use?
Could be very useful in case you want to send any message to all your users online fast and non-invasive.
How do I configure?
Db side, import the table that you will find in the package.
Server side, change configurations to connect to the db in config.php.
Client side configuration is the only one in the script js, where you specify the server address.
if not you need it, you may want to inhibit such a possibility ...
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.