![]() |
javascript chat - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Design (https://sinister.ly/Forum-Design) +--- Forum: Web Design (https://sinister.ly/Forum-Web-Design) +--- Thread: javascript chat (/Thread-javascript-chat) |
javascript chat - Petrarca - 08-24-2013 How would it be possible to make a javascript chat? Is thete any tutorials on here -title changed, question prefix added by Deque- javascript chat - Petrarca - 08-24-2013 How would it be possible to make a javascript chat? Is thete any tutorials on here -title changed, question prefix added by Deque- RE: java chat - Slarek - 08-24-2013 Haven't seen those here, but here's a link: http://net.tutsplus.com/tutorials/javascript-ajax/how-to-create-a-simple-web-based-chat-application/ RE: java chat - Slarek - 08-24-2013 Haven't seen those here, but here's a link: http://net.tutsplus.com/tutorials/javascript-ajax/how-to-create-a-simple-web-based-chat-application/ RE: java chat - The Alchemist - 08-24-2013 I've created one in my website. www.scriptings.tk (you need to log in to view it.) I've made it using jQuery, which is ultimately making it using javascript. All you need is a PHP that fetches the last 10 or user defined number of messages from the database table containing the chat messages. And a jQuery file that calls a function again and again every 3(or user defined number of seconds) that updates the chat messages by requesting them from the PHP file. The same PHP may be used to send messages(inserting new message in the database table). RE: java chat - The Alchemist - 08-24-2013 I've created one in my website. www.scriptings.tk (you need to log in to view it.) I've made it using jQuery, which is ultimately making it using javascript. All you need is a PHP that fetches the last 10 or user defined number of messages from the database table containing the chat messages. And a jQuery file that calls a function again and again every 3(or user defined number of seconds) that updates the chat messages by requesting them from the PHP file. The same PHP may be used to send messages(inserting new message in the database table). RE: java chat - zomgwtfbbq - 08-24-2013 JavaScript != Java. Anyway here's a good tutorial using node.js and socket.io: http://psitsmike.com/2011/09/node-js-and-socket-io-chat-tutorial/ RE: java chat - zomgwtfbbq - 08-24-2013 JavaScript != Java. Anyway here's a good tutorial using node.js and socket.io: http://psitsmike.com/2011/09/node-js-and-socket-io-chat-tutorial/ |