上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 34 下一页
摘要: ★☆☆☆☆ 给定一个语言,定义它的文法的一种表示,并定义一种解释器,这个解释器使用该表示来解释语言中的句子。 Given a language, define a representation for its grammar along with an interpreter that uses the representation to interpret sentences in the language. 阅读全文
posted @ 2007-09-05 17:03 sekihin 阅读(505) 评论(0) 推荐(0) 编辑
摘要: ★★★★☆ 将一个请求封装为一个对象,从而使你可用不同的请求对客户进行参数化;对请求排队或记录请求日志,以及支持可撤销的操作。 Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations. 阅读全文
posted @ 2007-09-05 08:22 sekihin 阅读(545) 评论(0) 推荐(0) 编辑
摘要: ★★☆☆☆ 为使多个对象都有机会处理请求,从而避免请求的发送者和接收者之间的耦合关系。将这些对象连成一条链,并沿着这条链传递该请求,直到有一个对象处理它为止。 Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object handles it. 阅读全文
posted @ 2007-09-04 13:11 sekihin 阅读(483) 评论(0) 推荐(0) 编辑
摘要: ★★★★☆ 为其他对象提供一种代理以控制对这个对象的访问。 Provide a surrogate or placeholder for another object to control access to it. 阅读全文
posted @ 2007-08-30 20:55 sekihin 阅读(427) 评论(0) 推荐(0) 编辑
摘要: ★☆☆☆☆ 运用共享技术有效地支持大量细粒度的对象。 Use sharing to support large numbers of fine-grained objects efficiently. 阅读全文
posted @ 2007-08-30 15:10 sekihin 阅读(422) 评论(0) 推荐(0) 编辑
摘要: ★★★★★ 为子系统中的一组接口提供一个一致的界面,Facade模式定义了一个高层接口,这个接口使得这一子系统更加容易使用。 Provide a unified interface to a set of interfaces in a subsystem. Façade defines a higher-level interface that makes the subsystem easier to use. 阅读全文
posted @ 2007-08-29 12:21 sekihin 阅读(441) 评论(0) 推荐(0) 编辑
摘要: 简单对象访问协议 (SOAP,全寫為Simple Object Access Protocol) 是一種標準化的通訊規範,主要用于Web服务(web service)中。SOAP的出現是為了簡化網頁服务器(Web Server)在從XML數據庫中提取資料時,無需花時間去格式化頁面,並能夠讓不同應用程式之間透過HTTP通訊協定,以XML格式互相交換彼此的資料,使其與程式語言、平台和硬... 阅读全文
posted @ 2007-08-28 15:29 sekihin 阅读(200) 评论(0) 推荐(0) 编辑
摘要: ★★★☆☆ 动态地给一个对象增加一些额外的职责。就增加功能而言,Decorator模式比生成子类更为灵活。 Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality. 阅读全文
posted @ 2007-08-28 15:26 sekihin 阅读(447) 评论(0) 推荐(0) 编辑
摘要: ★★★★☆ 将对象组合成结构以表示“部分-整体”的层次结构。Composite使得用户对单个对象和组合对象的使用具有一致性。 Compose objects into tree structures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly. 阅读全文
posted @ 2007-08-27 17:36 sekihin 阅读(504) 评论(0) 推荐(0) 编辑
摘要: 转载自: 维基百科 AJAX全称为“Asynchronous JavaScript and XML”(异步JavaScript和XML),是一种创建交互式网页应用的网页开发技术。它: 使用XHTML+CSS来表示信息; 使用JavaScript操作DOM(Document Object Model)进行动态显示及交互; 使用... 阅读全文
posted @ 2007-08-27 08:25 sekihin 阅读(299) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 34 下一页