Yii Framework Forum: [Extension] Vnotifier - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[Extension] Vnotifier Realtime notifications for Yii Rate Topic: -----

#1 User is offline   voidcontext 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 20-March 12
  • Location:Hungary

Posted 13 January 2013 - 09:45 AM

Hi,

Some weeks ago I wrote about one of my current project called vnotifier (http://www.yiiframew...post&pid=186204).

Quote

I'm working on a realtime notification system for Yii. The base concept is that we are sending a message from Yii (using predis, and redis' publish feature), while we are running a node.js app where socket.io clients can subscribe to redis messages.


Now, you can check it at the extension page: http://www.yiiframew...sion/vnotifier/

If you have any comment, question or suggestion, please post it here, or at github (https://github.com/v...xt/yii-vNotifer).
Sorry for my english...
1

#2 User is offline   bonnie 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 57
  • Joined: 08-February 11

Posted 14 January 2013 - 08:05 PM

View Postvoidcontext, on 13 January 2013 - 09:45 AM, said:

Hi,

Some weeks ago I wrote about one of my current project called vnotifier (http://www.yiiframew...post&pid=186204).



Now, you can check it at the extension page: http://www.yiiframew...sion/vnotifier/

If you have any comment, question or suggestion, please post it here, or at github (https://github.com/v...xt/yii-vNotifer).


How do I start start redis
start notification-server.js. I mean are they included or I need to install them separately. Am getting this error No connection could be made because the target machine actively refused it
0

#3 User is offline   voidcontext 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 20-March 12
  • Location:Hungary

Posted 15 January 2013 - 01:14 AM

View Postbonnie, on 14 January 2013 - 08:05 PM, said:

How do I start start redis
start notification-server.js. I mean are they included or I need to install them separately. Am getting this error No connection could be made because the target machine actively refused it


Redis is a key-value store with publish/subscribe feature. You can download it from here. Nodejs can be founded here. They are separate softwares. If you're using a linux distribution maybe you can find these 2 software in your package manager. After intalling and configuring, you have to start redis:

redis-server


After installing nodejs, you will be able to run nodejs applications on server side. On linux nodejs comes with package manager called npm. You have to go to the bin directory and type

npm install


this will read the package.json file and will install the dependencies. If you are on windows I think you should install the dependencies manually as the npm on windows is not stable yet, but I'm not 100% sure about it as I've never used nodejs on win.

When it's done you can run

node notification-server.js


I hope this can help! If you have more question then feel free to ask.
Sorry for my english...
0

#4 User is offline   sebako 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 46
  • Joined: 15-February 12

Posted 10 April 2013 - 08:44 PM

Hey there,

I am using your extension and so far I got everything setup. The redis server is seeing Messages with PUBLISH "broadcast" "test"
however the message test does not get appended to the list the notification Widget is rendering. Firebug says everything seems to be fine. Do you have any idea where I could start to plug this issue?

Thanks in advance.

Best,

Seb

Oh and ... notification server is running on another server but that shouldn't be a problem or?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users