Kapil Posted March 16, 2015 Share Posted March 16, 2015 Between Node.js and Php which should be used for server side with phaser . Link to comment Share on other sites More sharing options...
SubZtep Posted March 16, 2015 Share Posted March 16, 2015 For a game you probably like to use WebSockets for real-time communication between the client and the server. It's possible with both Node.js and PHP. I don't have Node.js experience I just heard that it's really well does this job. I have used WebSocket with PHP with Ratchet library and I could keep persistent connection for hours without problem. Link to comment Share on other sites More sharing options...
Elvarion Posted March 17, 2015 Share Posted March 17, 2015 Hi, It depends on: - What your backend should do? - What your hosting can support? - What language (JS or PHP) you know better? There are no silver bullet for all cases. Link to comment Share on other sites More sharing options...
shmikucis Posted March 17, 2015 Share Posted March 17, 2015 Depends what do you need I am using Node.js over PHP for two reasons1) If the game is real time multiplayer2) Game logic can be extend to client and server (Node.js) because both uses JavaScript Link to comment Share on other sites More sharing options...
Recommended Posts