hey guys, what is best programming language to build a chat website?
@dumbsearch2 has some evry good answers to that! This site is largely done in JavaScript... but the implementation is a bit buggy. There are lots of options and it depends on how instant you want the chat.
ok, thanks!
If you want messages to pop up, you must use one of the browser based application languages. Otherwise it will not refresh as new posts happen. If you want to allow a more per visit update, anything works. The balance is to get the right combination of back end software that stores the information and front end on the users side that looks for updates so that things happen as seamlessly as possible.
very nice site!
i'm planning on do somethink like openstudy or one of that sites where tutors learn studants in my language, because I did search and for, and didn't find one.
okay what is that technique being used on dumbchat website?
@dumbsearch2 Where are you hiding? People want to lean from you!
Oh, sorry! I wasn't online for a while :) Anyhow, I'd say PHP (for beginners) and AJAX, it works perfectly and very simple. I could share some code from my website.
@dumbsearch2 I will suggest try learning nodejs and sockets! That will be an ideal way to build a chat application in browser IMO
You can also leave all the complexity to some third party...checkout firebase.io
Ya, but many studies show that long-pull AJAX requests have very little different between Sockets (despite their complexity to code).
I think long polling was the old way when websockets were not present. I will personally recommend someone to use websockets now http://stackoverflow.com/questions/10028770/html5-websocket-vs-long-polling-vs-ajax
Join our real-time social learning platform and learn together with your friends!