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 ¶
- You can download from Github.
- Downloadable demo app (source): Github.
- Live Demo: Coming Soon
- Project Page: https://github.com/voidcontext/yii-vNotifer
- [Forum thread](http://www.yiiframework.com/forum/index.php/topic/39301-extension-vnotifier/ )
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
Very nice
Waiting for the demo. Am on a project and would like to use it.
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.
Thanks
I will do so.
Thanks a lot buddy !
Works so smooth ! Thanks a billion. I was looking for this !
thnaks
it's very very gooooood.
Please put in on a live DEMO!!
Hi there,
I tried to run the demo page. Ended up with all sorts of errors. Please Please can you put up the site live as a demo.
Much regards,
Sankalp
Demo
Ohh, my bad, sorry... The demo app on github is outdated (it is compatible with v0.0.1). I will update it soon.
@Sankalp Singha
Hi,
the current demo source has just been pushed to github. It should work :)
Awesome!
Hi there!! Tried the demo, it now works!! Thanks a ton. Though had to change the code a little bit here and there to make it work. Also the Iframes do not seem to be working. I shall put a live demo of it and give you the link, maybe it would help others as well.
P.S - However, am getting a small error when I do a quick check in Firebug. I am getting :
TypeError: invalid 'in' operand style
It is stating that it is a Jquery error but I strongly doubt that. I am looking into the error, however, maybe you can shed me some light?
Regards,
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.