A Fly-by-Wire Architecture for Multi-Threaded Windows Apps: How to Write Complex But Reliable Windows Applications Quickly
暫譯: 多線程 Windows 應用程式的飛行控制架構:如何快速編寫複雜但可靠的 Windows 應用程式

Will Warner

  • 出版商: CreateSpace Independ
  • 出版日期: 2012-07-12
  • 售價: $1,010
  • 貴賓價: 9.5$960
  • 語言: 英文
  • 頁數: 138
  • 裝訂: Paperback
  • ISBN: 1475031742
  • ISBN-13: 9781475031744
  • 相關分類: Windows App
  • 立即出貨 (庫存=1)

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

商品描述

“A Fly-by-Wire Architecture for Multi-Threaded Windows Apps” demonstrates the power and beauty of multi-threading—and its necessity in complex applications that perform lengthy processing or that wait for stimulus from outside of the program. The book presents an architecture for structuring multi-threaded Windows applications, brings readers to an understanding of these techniques, and prepares them to employ the concepts in their own Windows apps. The architecture is “fly-by-wire” because it is modeled after systems whose components are interconnected not directly but by a network over which the components communicate using messages. The author makes use of the fly-by-wire organization within Windows applications themselves. Thus structured, a program comprises nuggets of functionality, which do most of their work in child-threads and communicate by messages over a “logical bus,” all within the program itself. Borrowing another feature of digital circuitry, the author equips his programs with a software clock; its ticks drive processing, synchronizing activity and communication among the various threads. To illustrate the concepts, the book presents the design and source code for a completely functioning Windows application to control a hypothetical robot, and makes the source code available on a companion website. Visit www.flybywirewinapps.com to learn more. The author draws on his 35 years in the industry to make potentially controversial observations about software development process, aimed at recognizing the difference between theory and practice, and incorporates his views on what constitutes elegance in software design.

商品描述(中文翻譯)

《多執行緒 Windows 應用程式的飛行控制架構》展示了多執行緒的力量與美感,以及在執行長時間處理或等待外部刺激的複雜應用程式中其必要性。這本書提出了一種結構化多執行緒 Windows 應用程式的架構,幫助讀者理解這些技術,並準備將這些概念應用於自己的 Windows 應用程式中。

這種架構被稱為「飛行控制」,因為它的模型類似於那些組件不是直接相連,而是通過一個網路進行通信的系統,組件之間使用消息進行交流。作者在 Windows 應用程式中利用了這種飛行控制的組織結構。這樣結構化的程式由功能單元組成,這些單元大部分工作在子執行緒中進行,並通過「邏輯總線」上的消息進行通信,所有操作都在程式內部完成。借用數位電路的另一個特徵,作者為他的程式配備了一個軟體時鐘;其滴答聲驅動處理,協調各個執行緒之間的活動和通信。

為了說明這些概念,這本書提供了一個完整運作的 Windows 應用程式的設計和源代碼,用於控制一個假想的機器人,並在伴隨網站上提供源代碼。請訪問 www.flybywirewinapps.com 以了解更多資訊。作者利用他在業界 35 年的經驗,對軟體開發過程提出潛在的爭議性觀察,旨在認識理論與實踐之間的差異,並融入他對軟體設計優雅性的看法。