Quantcast
Channel: Cemetech
Viewing all articles
Browse latest Browse all 75345

Website Markup & Scripting :: RE: [javascript] Is it possable to edit textfiles?

$
0
0
Author: swivelgames
Posted: 13 Sep 2012 05:00:57 pm (GMT -5)

So the answer is Yes and No.

Can you make one without a server-side component? No. Can you make the server-side in JavaScript? Yes.

A chat application has to have a way to relay it to another person. The server is what delegates data to specific connections. In order for a chat application to relay the message to the other user it has to be able to connect to that other user's browser. Browsers can not connect to each other. Browsers connect to servers. So you'll need a server-side to relay your messages to each browser involved in the chat.

If you'd like, I can post some code and walk you through a very simple Node.JS chat, if that's what you end up deciding.


Viewing all articles
Browse latest Browse all 75345

Trending Articles