mardi 5 mai 2015

Game development emberjs vs. php

I've got a question. At the moment I'm developing an online strategy browser game.

Bur right now I don't know what might be the best option go on with developing.

Currently I am stock at this options:

  • NodeJS Server API with SocketIO
  • EmberJS Frontend with access to the API

OR

  • NodeJS Server SocketIO
  • PHP API
  • EmberJS Frontend with access to the API

OR

  • NodeJS Server SocketIO
  • PHP API
  • PHP Frontend with CURL access to the API / usage of the classes of the API

Generally I have to say that EmberJS is a powerful javascript Framework but when I run the EmberJS Application on Firefox the CPU Usage is about 60%. Additionally it might be that there might course problems by players playing this game on IE < 10.

On the other side I don't want to do things double. If I develop a PHP Frontend, set up NODEJS SocketIO Server and even though a PHP Api, I need to authenticate from the frontend over the API and again from the frontend to the socketio server.

Hint:

The SocketIO Server will be used for chat, notifications when troops arrive and push notifications (apnagent)

What do you think?




Aucun commentaire:

Enregistrer un commentaire