Practical C++ Design: From Programming to Architecture
暫譯: 實用 C++ 設計:從程式設計到架構

Adam B. Singer

  • 出版商: Apress
  • 出版日期: 2017-09-30
  • 定價: $1,650
  • 售價: 8.0$1,320
  • 語言: 英文
  • 頁數: 246
  • 裝訂: Paperback
  • ISBN: 1484230566
  • ISBN-13: 9781484230565
  • 相關分類: C++ 程式語言
  • 立即出貨 (庫存=1)

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

相關主題

商品描述

Go from competent C++ developer to skilled designer or architect using this book as your C++ design master class. This title will guide you through the design and implementation of a fun, engaging case study. Starting with a quick exploration of the requirements for building the application, you'll delve into selecting an appropriate architecture, eventually designing and implementing all of the necessary modules to meet the project’s requirements. By the conclusion of Practical C++ Design, you'll have constructed a fully functioning calculator that builds and executes on multiple platforms. Access to the complete source code will help speed your learning.
 
Utilize the Model-View-Controller pattern to determine the optimal architecture for the calculator; the observer pattern to design an event system;  the singleton pattern as you design the calculator’s central data repository, a reusable stack; the command pattern to design a command system s

upporting unlimited undo/redo; and the abstract factory pattern for a cross-platform plugin infrastructure to make the calculator extensible.

 
What You Will Learn:
  • Learn to read a specification document and translate it into a practical C++ design
  • Understand trade-offs in selecting between alternative design scenarios
  • Gain practical experience in applying design patterns to realistic development scenarios
  • Learn how to effectively use language elements of modern C++ to create a lasting design
  • Develop a complete C++ program from a blank canvas through to a fully functioning, cross platform application
  • Learn to read, modify, and extend an existing, high quality code
  • Learn the fundamentals of API design, including class, module, and plugin interfaces
Who This Book Is For:
Practical C++ Design is a book designed for the experie

nced C++ developer ready to take the next step to becoming a skilled C++ designer.

商品描述(中文翻譯)

從合格的 C++ 開發者轉變為熟練的設計師或架構師,您可以利用本書作為您的 C++ 設計大師班。這本書將引導您通過一個有趣且引人入勝的案例研究的設計與實現。首先,快速探索構建應用程序的需求,然後深入選擇合適的架構,最終設計並實現所有必要的模組以滿足項目的需求。在《Practical C++ Design》的結尾,您將構建一個完全運行的計算器,能夠在多個平台上構建和執行。完整的源代碼訪問將幫助加速您的學習。

利用模型-視圖-控制器(Model-View-Controller)模式來確定計算器的最佳架構;使用觀察者模式(observer pattern)設計事件系統;在設計計算器的中央數據庫(central data repository)時使用單例模式(singleton pattern),這是一個可重用的堆疊;使用命令模式(command pattern)設計支持無限撤銷/重做的命令系統;以及使用抽象工廠模式(abstract factory pattern)為跨平台插件基礎架構,使計算器可擴展。

您將學到的內容:

- 學習閱讀規範文檔並將其轉換為實用的 C++ 設計
- 理解在選擇替代設計方案時的權衡
- 獲得在現實開發場景中應用設計模式的實踐經驗
- 學習如何有效使用現代 C++ 的語言元素來創建持久的設計
- 從空白畫布開發一個完整的 C++ 程序,直到成為一個完全運行的跨平台應用程序
- 學習閱讀、修改和擴展現有的高質量代碼
- 學習 API 設計的基本原則,包括類、模組和插件介面

本書適合對象:

《Practical C++ Design》是一本為有經驗的 C++ 開發者設計的書籍,旨在幫助他們邁出成為熟練 C++ 設計師的下一步。