I am looking to start a HTML5 WebSockets project and I was just wondering what you think the best back-end would be for that sort of thing? So far in my research I’ve stumbled across the following:
- PHP Back-end (apparently a “Hack” and only compatible with Chrome and webkit nightlies)
- Java Back-end (Seems well documented and cross-browser compatible)
- Ruby Back-end (Don’t know much about ruby, any opinions?)
- JavaScript Library (Seems like it would be a nightmare, any opinions?)
Does anyone know of any other options or have an opinion on the above? My only requirements are ease of set-up and easy back end programmibility for bidirectional communication. I would essentially like to access a database through WebSockets and am looking for the easiest way to do this. Any feedback would be appreciated.
Ease of setup would have to be a hosted solution which uses WebSockets, HTTP Streaming or HTTP Long-Polling (one of which I work for). They’re the easiest option because you don’t need to spend time installing your solution, configuring it and working out how to use in when developing and in production.
If you are looking for a self hosted solution then it really depends on what technology you’d prefer to use and what the community for that technology is like.
Hope this helps.