5分钟内进行WebSocket(实时)HTML5聊天-node.js和partial.js



total.js中的WebSocket-node.js的Web应用程序框架。

新的网络框架:http://www.totaljs.com
GitHub:https://github.com/totaljs/framework/

36 comments
  1. Hi Man, thanks a lot for the tutorial. Can you tell me how do I make the app randomly connect with a new user and only 2 users chat with each other at a time?

  2. doesn't seem to work. partial.js download doesn't come with keepalive.js. is that required? when i run it using node.js, the page loads up on 127.0.0.1, but after inputting a username, nothing happens. I can't type in any messages

  3. How can i extend the same for one on one chat similar to Gtalk/Facebook/Skype. I also want to store the chat history in database (mysql)

  4. Hi Dmitrij,
    on IIS is problem with node.js app. You can solve this problem via IISNODE. First you must install node.js on your PC. For more information visit partial.js on the GitHub.

  5. Hej Peter,
    Great video! 🙂

    Noob question here, but would really appreciate if you could help me out her 🙂

    What do you do in the start in the command line?
    Hate that part though. And maybe you could tell me what do I need to do if I want to run your application on my IIS 7 server, localhost or any other web-host with IIS?

  6. Hi.
    I have downloaded your example of instant chat from partial.js site. But when i try to start the connection with websocket , I recive "webSocket connection to 'ws://127.0.0.1:8005/' failed: Unexpected response code: 403". I'm using Chromium on Ubuntu machines.

  7. Thanks peter, was this editor Sublime Text 2 I was looking for a long time to INSTALLING on my Mac, I use NetBeans, more visual liked this black!

Comments are closed.