vnotifier

Realtime notifications for Yii
23 followers

This extension provides a Node.js application (notification server), and a set of Yii classes for easy usage.

Requirements

  • Working Node.js
  • Node.js modules: redis, socket.io
  • Working Redis server

Usage

  • set yii application component in config/main.php
'components' => array(
  'user' => array(
    'class' => 'ext.yii-vNotifier.NotifiedWebUser',
    ...
  ),
  ...
  'notifier' => array(
      'class' => 'ext.yii-vNotifier.VNotifier',
      'apiSecret' => 'extremlysecureapikey'
  ),
),
...
  • start redis
  • start notification-server.js
  • send notifications from your app :)

Links

Changelog

v0.0.2

  • drop messagestores
  • using api server (node app)
  • simplified structure

v0.0.1

  • first release

Roadmap

v0.1.0

  • Nice notifications
  • Error handling
  • Node app: secret handling
  • Documentation

Total 3 comments

#11459 report it
bonnie at 2013/01/14 07:56pm
Thanks

I will do so.

#11454 report it
voidcontext at 2013/01/14 02:49pm
Demo

Hi bonnie,

You can download the source of the demo app from here.

Only the live demo is missing, but if you are waiting for the live demo I try to make it work on my vps asap.

#11429 report it
bonnie at 2013/01/13 09:19pm
Very nice

Waiting for the demo. Am on a project and would like to use it.

Leave a comment

Please to leave your comment.

Create extension