Closed (fixed)
Project:
Chatroom
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
19 Jun 2011 at 12:23 UTC
Updated:
4 Jan 2014 at 00:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
markwk commentedCurrent status? Try to figure out how it's working / hack on it, but can't figure what's up so far.
Comment #2
darklrd commentedIntegration has already been done with nodejs module. First setup your node.js server as mentioned in nodejs module's README.TXT. After that you can set the Chatroom to use node.js as backend by going to Chatroom module's setting page.
Comment #3
markwk commentedThanks for the quick response. Which branch should I be using? GSOC2011?
Comment #4
darklrd commentedYes, please use gsoc2011 branch.
Comment #5
markwk commentedCool. I got it up and running. I opened up the code and it was a bit hard to follow. There is still a mix of node.js method and ajax polling method.
I'm thinking of backporting or adapting parts of this to Drupal 6. Any chance we could scrap this old ajax code and work just with the node.js stuff?
It seems like a lot of the configuration isn't necessary in the context of node.js.
Comment #6
darklrd commentedThe mix of ajax and node.js methods is necessary to keep the site's drupal DB in sync. While posting, when someone sends a chat message, ajax method is used and thereby chat messages are logged in the DB. And simultaneously this new chat message is published on a node.js channel too. For receiving new chat message updates only node.js backend is used. The main load on a website, when using a chat framework, is essentially due to polling for new messages which in this workflow is handled by node.js only. Hope this clarifies your question.
Comment #7
markwk commentedAh! Yeah, I get it now. It's in fact not all entirely done on the node.js end because there is the ajax that sends it to the db. Thanks for clarifying this.
Have you even gotten this to work with a service like no.de? I got it working locally but wanted to try it there, but not quite working.
Comment #8
darklrd commentedNo, I haven't tried it like this. It should work though. What is the issue?
Comment #9
markwk commentedHere's a small patch to improve documentation for the node.js integrated chatroom.
Comment #10
markwk commentedThis was the issue I got in no.de log:
[ Sep 17 20:57:24 Method "start" exited with status 0. ]
I'm not sure sure what that means.
Comment #11
Anonymous (not verified) commentedre. #9.
don't start there, start with the 6.x-3.x branch.
Comment #12
Anonymous (not verified) commentedComment #13
langworthy commentedI think we can mark this fixed?
Comment #14
SeanBannister commentedComment #15.0
(not verified) commentedLong overdue summary update.