Hi everyone,
I have a concept for a pretty simple web game, and am currently
considering my options regarding the storage of the game state.
Ideally, I would like to have a custom server running that keeps the
most accessed data in memory, and which all clients connect to.
Nothing new there, but I am wondering as to what protocol to use for
the client server communication. Go for one of the available XML-
based standards, or use something custom that will generate less
overhead but be more cryptic (and possibly difficult to maintain in
the long run)?
My current plan is to use PEAR's Net_Server (1) and extend that with
the functionality I need.
Thanks in advance for any input you may have.
--
1. http://pear.php.net/package/Net_Server
I have a concept for a pretty simple web game, and am currently
considering my options regarding the storage of the game state.
Ideally, I would like to have a custom server running that keeps the
most accessed data in memory, and which all clients connect to.
Nothing new there, but I am wondering as to what protocol to use for
the client server communication. Go for one of the available XML-
based standards, or use something custom that will generate less
overhead but be more cryptic (and possibly difficult to maintain in
the long run)?
My current plan is to use PEAR's Net_Server (1) and extend that with
the functionality I need.
Thanks in advance for any input you may have.
--
1. http://pear.php.net/package/Net_Server
Comment