Wednesday, March 21, 2012

Keeping Server and Client Separate :: nklein software

Keeping Server and Client Separate :: nklein software: "Some projects deal with this situation by making every message have its own data class. You take all of the information that you want to be in the message and plop it into a data class. You then serialize the data class and send the resulting bytes. The other side unserializes the bytes into a data class and plucks the data out of the data class."

'via Blog this'