Client Server应用程序设计模式和协议 [英] Client Server application design patterns and protocols
问题描述
我想为客户/服务器应用程序的设计找到好的做法。
如果任何人可以推荐一些好的材料阅读?
具体来说,你如何设计一个应用程序层协议并使其可靠,同时避免陷阱?
在某些客户端/服务器实例服务器是一个解释器,用于
操作被采取,你能设计一个协议,以优雅地配合这样的设计模式吗?
是否有为客户端/服务器应用程序设计的设计模式。我也在想也许修改生产者消费模式?
编辑:oops我意识到这个问题不能有一个确定的答案,所以我会给正确的答案,深度回答。
谢谢
本书:
企业应用程序架构的模式
客户端/服务器应用程序有很多模式,您应该选择符合您需求的模式。
如果你不想要这本书,还有互联网上的免费资源:
http://martinfowler.com/eaaCatalog/
我希望它有所帮助。 / p>
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
I learned a lot from this book:
Patterns of Enterprise Application Architecture
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.
这篇关于Client Server应用程序设计模式和协议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!