Event-Based Programming: Taking Events to the Limit
暫譯: 事件驅動程式設計:將事件推向極限

Ted Faison

  • 出版商: Apress
  • 出版日期: 2006-05-01
  • 售價: $2,540
  • 貴賓價: 9.5$2,413
  • 語言: 英文
  • 頁數: 670
  • 裝訂: Hardcover
  • ISBN: 1590596439
  • ISBN-13: 9781590596432
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Description

Languages like C#, VB .NET, and Delphi include built-in support for events, and these events become very powerful when they connect the objects and components of a system. Events make it possible for such parts to interact without any coupling. And the resulting parts can be developed and tested individuallywhich keeps the code clean and simple.

Component-based development (CBD) is an extension of object-oriented programming. CBD does away with the language and vendor-specific limitations of OOP, and makes software reuse more practical and accelerates the development process. Event-based programming is the next logical step in CBD, and makes components more reusable due to their decoupled nature. But event-based systems are easier to develop, which means theyre cheaper and more reliable than traditional OOP or CBD systems.

This book teaches you how to develop software based on parts that interact primarily through an event mechanism. Youll learn how to use events in many different situations, to solve recurring development problems without coupling. The book introduces Signal Wiring Diagram, a novel form of software diagram similar to the circuit diagrams used by hardware designers. The book concludes with a series of case studies, incorporating all featured concepts. In a nutshell, youll want to pick up a copy of this book because it

  • Provides source code in both C# and VB .NET
  • Shows how to use an event-based paradigm to reduce or completely eliminate coupling between classes and components
  • Describes components, including coordinators, workers, builders, binders, and routers
  • Contains three complete case studies that model concepts being used to design small, medium, and large systems

商品描述(中文翻譯)

描述

像 C#、VB .NET 和 Delphi 等語言內建對事件的支援,當這些事件連接系統的物件和元件時,變得非常強大。事件使得這些部分能夠在沒有任何耦合的情況下互動。這樣的結果是,這些部分可以獨立開發和測試,從而保持代碼的整潔和簡單。

基於元件的開發(CBD)是物件導向程式設計的延伸。CBD 擺脫了 OOP 的語言和供應商特定的限制,使得軟體重用變得更實際,並加速開發過程。事件驅動程式設計是 CBD 的下一個邏輯步驟,由於其解耦的特性,使得元件更具重用性。但事件驅動系統更容易開發,這意味著它們比傳統的 OOP 或 CBD 系統更便宜且更可靠。

本書教你如何基於主要通過事件機制互動的部分來開發軟體。你將學習如何在許多不同的情況下使用事件,以解決重複出現的開發問題而不產生耦合。本書介紹了信號接線圖(Signal Wiring Diagram),這是一種類似於硬體設計師使用的電路圖的新型軟體圖。書中最後包含了一系列案例研究,整合了所有介紹的概念。簡而言之,你會想要拿起這本書,因為它:

- 提供 C# 和 VB .NET 的源代碼
- 展示如何使用事件驅動的範式來減少或完全消除類別和元件之間的耦合
- 描述元件,包括協調者、工作者、建構者、綁定器和路由器
- 包含三個完整的案例研究,模擬用於設計小型、中型和大型系統的概念