Client Server应用程序设计模式和协议 [英] Client Server application design patterns and protocols

查看:424
本文介绍了Client Server应用程序设计模式和协议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为客户/服务器应用程序的设计找到好的做法。



如果任何人可以推荐一些好的材料阅读?



具体来说,你如何设计一个应用程序层协议并使其可靠,同时避免陷阱?



在某些客户端/服务器实例服务器是一个解释器,用于
操作被采取,你能设计一个协议,以优雅地配合这样的设计模式吗?



是否有为客户端/服务器应用程序设计的设计模式。我也在想也许修改生产者消费模式?



编辑:oops我意识到这个问题不能有一个确定的答案,所以我会给正确的答案,深度回答。



谢谢

解决方案

本书:



企业应用程序架构的模式



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



客户端/服务器应用程序有很多模式,您应该选择符合您需求的模式。



如果你不想要这本书,还有互联网上的免费资源:



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

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.

这篇关于Client Server应用程序设计模式和协议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆