摘要:
定义 在分布式环境中,像调用本地方法一样调用远程方法。RPC 这个概念术语在上世纪 80 年代由 Bruce Jay Nelson 提出。在 Nelson 的论文 "Implementing Remote Procedure Calls" 中指出实现 RPC 的程序包括 5 个部分: User Us 阅读全文
摘要:
定义 在 GoF 的《设计模式》一书中,它是这样定义的: Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary inde 阅读全文
摘要:
定义 模板模式在 GoF 的《设计模式》一书中,是这么定义的: Define the skeleton of an algorithm in an operation, deferring some steps to subclasses. Template Method lets subclass 阅读全文
摘要:
一、概念 在 GoF 的《设计模式》中,它的定义如下: Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and 阅读全文