Practical C++ Design: From Programming to Architecture

Adam B. Singer

  • 出版商: Apress
  • 出版日期: 2017-09-30
  • 定價: $1,650
  • 售價: 9.0$1,485
  • 語言: 英文
  • 頁數: 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++設計的實際案例為指導,引導您進行設計和實施。從快速探索構建應用程序的要求開始,您將深入研究選擇適當的架構,最終設計和實施所有必要的模塊以滿足項目的要求。通過《實用C++設計》的結論,您將構建一個在多個平台上構建和執行的完全功能的計算器。完整的源代碼將有助於加快您的學習速度。

利用模型-視圖-控制器模式來確定計算器的最佳架構;使用觀察者模式設計事件系統;使用單例模式設計計算器的中央數據庫,一個可重用的堆棧;使用命令模式設計支持無限撤消/重做的命令系統;使用抽象工廠模式設計跨平台插件基礎架構,使計算器具有可擴展性。

您將學到什麼:
- 學會閱讀規範文件並將其轉化為實用的C++設計
- 理解在選擇替代設計方案時的權衡
- 在實際開發場景中獲得應用設計模式的實踐經驗
- 學會如何有效地使用現代C++的語言元素來創建持久的設計
- 從空白畫布開始,開發一個完整的C++程序,直到成為一個完全功能的跨平台應用程序
- 學會閱讀、修改和擴展現有的高質量代碼
- 學習API設計的基礎知識,包括類、模塊和插件接口

這本書適合有經驗的C++開發者,準備邁出成為熟練C++設計師的下一步。