Client Server application design patterns and protocols
Asked Answered
S

2

7

I am trying to find "good practices" for designing client/server applications.

If anyone could recommend some good material to read?

Specifically how do you design an application layer protocol and make it robust, while avoiding pitfalls?

In some client/server instances like games the server is an interpreter for actions to be taken, can you design a protocol as to elegantly cooperate with such a design pattern?

Is there a design pattern designed for client/server applications. I was also thinking maybe a modified producer consumer pattern?

Edit: oops I realize this question can't have a definitive answer so I will give correct answer to an in-depth answer.

Thank you

Sidero answered 14/1, 2013 at 14:42 Comment(3)
may want to read up on the reactor patternMundt
@Mundt The description seems almost perfect, Thanks for the infoSidero
@Mundt This question has been viewed quite a few times now. Do you mind adding an answer with an overview of the reactor pattern?Sidero
G
2

I learned a lot from this book:

Patterns of Enterprise Application Architecture

http://www.pearsonhighered.com/educator/product/Patterns-of-Enterprise-Application-Architecture/9780321127426.page

there are a lot of patterns for client/server applications, and you should take the one that fits your needs.

If you don't want the book, there are also free resources in internet:

http://martinfowler.com/eaaCatalog/

I hope it helps.

Gwenora answered 14/1, 2013 at 14:56 Comment(1)
Thank you seems like great resources, I wasn't aware there were such a thing as "enterprise application architecture". Just the type of thing I was looking for :DSidero
R
3

Check this, may be it can help you : A Multi-client Server Design Pattern Using Simple TCP/IP Messaging

Riella answered 8/3, 2014 at 8:18 Comment(0)
G
2

I learned a lot from this book:

Patterns of Enterprise Application Architecture

http://www.pearsonhighered.com/educator/product/Patterns-of-Enterprise-Application-Architecture/9780321127426.page

there are a lot of patterns for client/server applications, and you should take the one that fits your needs.

If you don't want the book, there are also free resources in internet:

http://martinfowler.com/eaaCatalog/

I hope it helps.

Gwenora answered 14/1, 2013 at 14:56 Comment(1)
Thank you seems like great resources, I wasn't aware there were such a thing as "enterprise application architecture". Just the type of thing I was looking for :DSidero

© 2022 - 2024 — McMap. All rights reserved.