|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by idsnews in PHP Scripting Language, Ruby Scripting Language
How feasible is it to translate this Ruby websocket server to PHP?
http://github.com/gimite/web-socket-ruby/blob/master/lib/web_socket.rbI know a little bit of Ruby and a decent amount of PHP, thought I've never done socket programming. I'd like to build a chat app on top of what gimite has put up on git, but all my sites are in PHP. How hard do you guys think it would be to rewrite those 300 lines in PHP?
Is it possible?
If it is, will it be difficult?
What would be the most difficult part?
Would PHP take any performance hits? Am I better off trying to integrate that Ruby server into my PHP site by moving session management into the DB instead of attempting to translate it?
Thank you for your time.
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625