Skip to Main Content
建立嵌入式系統--傑出軟體的設計模式
book

建立嵌入式系統--傑出軟體的設計模式

by Elecia White
October 2012
Intermediate to advanced content levelIntermediate to advanced
328 pages
7h 19m
Chinese
GoTop Information, Inc.
Content preview from 建立嵌入式系統--傑出軟體的設計模式
週邊通訊
|
189
public:
enum eErrorCode sample();
enum eErrorCode (*processData)();
enum eErrorCode output();
}
物件導向式軟體有
繼承
inheritance
的概念,其中實體
is-a
一個
物件的特
定版本,template 模式也是如此(template 是一系列的步驟),另一種作法是複合
composition),軟體
包含
has-a
特定版本的物件。Strategy 模式比較接近這種型式
(提供呼叫的函數)。複合比繼承更有彈性,能夠輕易的切換成其他物件,另一方面,
在執行期間建立(組成)系統對資源受限的環境來說並不合適,必須針對系統特性在兩
者間取得平衡。
延伸閱讀
本章涵蓋了許多內容,在此提供了許多參考資料供想要深入特定方面的讀者,如同本書
其他部分提過的,以下兩本書對瞭解設計模式很有幫助:
y
Gamma, Erich, richard Helm, Ralph Johnson, John Vlissides 著,葉秉哲譯,
1995
物件導向設計模式
Design Patterns
Boston: Addison-Wesley
y
Freeman, Eric T., Elisabeth Robson, Bert Bates Kathy Sierra 著,蔡學鏞譯,2004
深入淺出設計模式
,歐萊禮出版社。
在加密與認證主題有許多參考資料,最淺顯的介紹可以參考 Leo Marks ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

HBASE技術手冊

HBASE技術手冊

Lars George
ANGULARJS建置與執行

ANGULARJS建置與執行

Shyam Seshadri, Brad Green
高效能PYTHON程式設計

高效能PYTHON程式設計

Micha Gorelick, Ian Ozsvald

Publisher Resources

ISBN: 9789862765784