Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries (Paperback) (Microsoft Windows Development Series)
暫譯: 框架設計指南:可重用 .NET 函式庫的約定、慣用法與模式 (平裝本) (微軟 Windows 開發系列)
Krzysztof Cwalina, Brad Abrams
- 出版商: Addison Wesley
- 出版日期: 2018-06-19
- 售價: $2,540
- 貴賓價: 9.5 折 $2,413
- 語言: 英文
- 頁數: 480
- 裝訂: Paperback
- ISBN: 0134839048
- ISBN-13: 9780134839042
-
相關分類:
.NET
-
其他版本:
Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .Net Libraries, 3/e (Paperback)
相關主題
商品描述
Framework Design Guidelines, Second Edition, teaches developers the best practices for designing reusable libraries for the Microsoft .NET Framework. Expanded and updated for .NET 3.5, this new edition focuses on the design issues that directly affect the programmability of a class library, specifically its publicly accessible APIs.
This book can improve the work of any .NET developer producing code that other developers will use. It includes copious annotations to the guidelines by thirty-five prominent architects and practitioners of the .NET Framework, providing a lively discussion of the reasons for the guidelines as well as examples of when to break those guidelines.
Microsoft architects Krzysztof Cwalina and Brad Abrams teach framework design from the top down. From their significant combined experience and deep insight, you will learn
- The general philosophy and fundamental principles of framework design
- Naming guidelines for the various parts of a framework
- Guidelines for the design and extending of types and members of types
- Issues affecting—and guidelines for ensuring—extensibility
- How (and how not) to design exceptions
- Guidelines for—and examples of—common framework design patterns
Guidelines in this book are presented in four major forms: Do, Consider, Avoid, and Do not. These directives help focus attention on practices that should always be used, those that should generally be used, those that should rarely be used, and those that should never be used. Every guideline includes a discussion of its applicability, and most include a code example to help illuminate the dialogue.
Framework Design Guidelines, Second Edition, is the only definitive source of best practices for managed code API development, direct from the architects themselves.
Downloadable files can be found at the book’s web page. Included in these files are the Designing .NET Class Libraries video series and instructional presentations by the authors on design guidelines for developing classes and components that extend the .NET Framework. A sample API specification (and other useful resources and tools are (also included.
商品描述(中文翻譯)
《框架設計指南(第二版)》教導開發者設計可重用的 Microsoft .NET Framework 函式庫的最佳實踐。此新版本已擴展並更新至 .NET 3.5,專注於直接影響類別庫可編程性的設計問題,特別是其公開可訪問的 API。
本書能改善任何 .NET 開發者撰寫的代碼,這些代碼將被其他開發者使用。書中包含三十五位知名 .NET Framework 架構師和實踐者對指南的詳細註解,提供了對於這些指南的原因的生動討論,以及何時可以打破這些指南的範例。
微軟架構師 Krzysztof Cwalina 和 Brad Abrams 從上而下教授框架設計。透過他們豐富的經驗和深刻的見解,您將學到:
- 框架設計的一般哲學和基本原則
- 框架各部分的命名指南
- 類型及其成員的設計和擴展指南
- 影響擴展性問題的指南
- 如何(以及如何不)設計例外
- 常見框架設計模式的指南和範例
本書中的指南以四種主要形式呈現:應該、考慮、避免 和 不應該。 這些指導方針幫助專注於應該始終使用的做法、應該一般使用的做法、應該很少使用的做法,以及應該永遠不使用的做法。每個指南都包括其適用性的討論,大多數還包括代碼範例以幫助闡明對話。
《框架設計指南(第二版)》是由架構師親自提供的受管代碼 API 開發最佳實踐的唯一權威來源。
可下載的檔案可在本書的網頁上找到。這些檔案中包含了設計 .NET 類別庫的視頻系列以及作者關於開發擴展 .NET Framework 的類別和組件的設計指南的教學簡報。還包括一個範例 API 規範(以及其他有用的資源和工具)。