Note that there are some explanatory texts on larger screens.

plurals
  1. POUsing WebSockets for multiplayer HTML5 games development. What to choose, Node.js, or Ratchet, or other?
    primarykey
    data
    text
    <p>I made some research before asking this question but I couldn't find a concrete answer for my situation. I'm still new to WebSockets and games development, so I may not be able to explain some parts very well and if that's the case please tell me so I can try to explain it better.</p> <p>I'm currently developing a Web application using CakePHP, which will provide several kinds of HTML5 multiplayer games. On some situations those games will need to send data to a database. The problem is, I want to use Node.js to implement the game server side logic, but I'm not sure if I'll be able to pass data to the database. I think the best approach would be sending the data from Node.js to a PHP action that will then store it on the database, but I also don't know if that will be possible.</p> <p>I found something about this <a href="http://bergie.iki.fi/blog/dnode-make_php_and_node-js_talk_to_each_other/" rel="noreferrer">DNode</a> thing, but I'm not sure if this is the answer for my problem and besides that it seems to be in beta version, what I would like to avoid.</p> <p>As an alternative, I thought about using <a href="http://socketo.me/" rel="noreferrer">Ratchet</a> to implement the games server side logic. At least I know that I would be able to make it communicate with my application, but since I can't find any reference to it on games development I'm not sure if it's a good idea.</p> <p>I don't know about any other frameworks, so if I have better options than those two, please tell me :)</p> <p>Please give me your opinions. Thank you!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload