چه کسانی این کتاب را می‌خوانند

دانشجوعلاقه‌مند یادگیری
کتابخوان حرفه‌ایلذت مطالعه
نویسندهالهام‌گیری

Design Patterns in Modern C++ : Reusable Approaches for Object-Oriented Software Design

Dmitri Nesteruk

قیمت نهایی

۴۴٬۰۰۰ تومان۴۹٬۰۰۰ تومان۱۰٪ تخفیف
  • تخفیف زمان‌دار−۵٬۰۰۰ تومان

۵٬۰۰۰ تومان صرفه‌جویی نسبت به قیمت اصلی

نسخه اصلی و اورجینال

بلافاصله پس از خرید، فایل کتاب روی دستگاه شما آمادهٔ دانلود است.

تحویل فوری
پرداخت امن
ضمانت فایل
پشتیبانی

مشخصات کتاب

نویسنده
Dmitri Nesteruk
سال انتشار
۲۰۱۸
فرمت
PDF
زبان
انگلیسی
تعداد صفحات
۷ صفحه
حجم فایل
۲٫۴ مگابایت
شابک
9781484236024، 9781484236031، 1484236025، 1484236033

دربارهٔ کتاب

part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark.The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights. xi About the Author Dmitri Nesteruk is a quantitative analyst, developer, course and book author, and an occasional conference speaker. His professional interests lie in software development and integration practices in the areas of computation, quantitative finance, and algorithmic trading. His technological interests include C# and C++ programming as well high-performance computing using technologies such as CUDA and FPGAs. He has been a C# MVP since 2009.xiii About the Technical Reviewer Massimo Nardone has more than 24 years of experiences in Security, Web/Mobile development, Cloud, and IT Architecture. His true IT passions are Security and Android.He has been programming and teaching how to program with Android, Perl, PHP, Java, VB, Python, C/C++, and MySQL for more than 20 years.He holds a Master of Science degree in Computing Science from the University of Salerno, Italy. Table of Contents About the Author About the Technical Reviewer Chapter 1: Introduction Preliminaries Who This Book Is For On Code Examples On Developer Tools Piracy Important Concepts Curiously Recurring Template Pattern Mixin Inheritance Properties The SOLID Design Principles Single Responsibility Principle Open-Closed Principle Liskov Substitution Principle Interface Segregation Principle Dependency Inversion Principle Time for Patterns! Part I: Creational Patterns Chapter 2: Builder Scenario Simple Builder Fluent Builder Communicating Intent Groovy-Style Builder Composite Builder Summary Chapter 3: Factories Scenario Factory Method Factory Inner Factory Abstract Factory Functional Factory Summary Chapter 4: Prototype Object Constrution Ordinary Duplication Duplication via Copy Construction Serialization Prototype Factory Summary Chapter 5: Singleton Singleton as Global Object Classic Implementation Thread Safety The Trouble with Singleton Singletons and Inversion of Control Monostate Summary Part II: Structural Patterns Chapter 6: Adapter Scenario Adapter Adapter Temporaries Summary Chapter 7: Bridge The Pimpl Idiom Bridge Summary Chapter 8: Composite Array Backed Properties Grouping Graphic Objects Neural Networks Summary Chapter 9: Decorator Scenario Dynamic Decorator Static Decorator Functional Decorator Summary Chapter 10: Façade How the Terminal Works An Advanced Terminal Where’s the Façade? Summary Chapter 11: Flyweight User Names Boost.Flyweight String Ranges Naïve Approach Flyweight Implementation Summary Chapter 12: Proxy Smart Pointers Property Proxy Virtual Proxy Communication Proxy Summary Part III: Behavioral Patterns Chapter 13: Chain of Responsibility Scenario Pointer Chain Broker Chain Summary Chapter 14: Command Scenario Implementing the Command Pattern Undo Operations Composite Command Command Query Separation Summary Chapter 15: Interpreter Numeric Expression Evaluator Lexing Parsing Using Lexer and Parser Parsing with Boost.Spirit Abstract Syntax Tree Parser Printer Summary Chapter 16: Iterator Iterators in the Standard Library Traversing a Binary Tree Iteration with Coroutines Summary Chapter 17: Mediator Chat Room Mediator with Events Summary Chapter 18: Memento Bank Account Undo and Redo Summary Chapter 19: Null Object Scenario Null Object shared_ptr is not a Null Object Design Improvements Implicit Null Object Summary Chapter 20: Observer Property Observers Observer Observable Connecting Observers and Observables Dependency Problems Unsubscription and Thread Safety Reentrancy Observer via Boost.Signals2 Summary Chapter 21: State State-Driven State Transitions Handmade State Machine State Machines with Boost.MSM Summary Chapter 22: Strategy Dynamic Strategy Static Strategy Summary Chapter 23: Template Method Game Simulation Summary Chapter 24: Visitor Intrusive Visitor Reflective Printer WTH is Dispatch? Classic Visitor Implementing an Additional Visitor Acyclic Visitor Variants and std::visit Summary Part IV: Appendix A: Functional Design Patterns Chapter 25: Maybe Monad Index Apply modern C++17 to the implementations of classic design patterns. As well as covering traditional design patterns, this book fleshes out new patterns and approaches that will be useful to C++ developers. The author presents concepts as a fun investigation of how problems can be solved in different ways, along the way using varying degrees of technical sophistication and explaining different sorts of trade-offs. Design Patterns in Modern C++ also provides a technology demo for modern C++, showcasing how some of its latest features (e.g., coroutines) make difficult problems a lot easier to solve. The examples in this book are all suitable for putting into production, with only a few simplifications made in order to aid readability. What You Will Learn Apply design patterns to modern C++ programming Use creational patterns of builder, factories, prototype and singleton Implement structural patterns such as adapter, bridge, decorator, facade and more Work with the behavioral patterns such as chain of responsibility, command, iterator, mediator and more Apply functional design patterns such as Monad and more Who This Book Is For Those with at least some prior programming experience, especially in C++. Apply modern C 17 to the implementations of classic design patterns. As well as covering traditional design patterns, this book fleshes out new patterns and approaches that will be useful to C developers. The author presents concepts as a fun investigation of how problems can be solved in different ways, along the way using varying degrees of technical sophistication and explaining different sorts of trade-offs. Design Patterns in Modern C also provides a technology demo for modern C , showcasing how some of its latest features (e.g., coroutines) make difficult problems a lot easier to solve. The examples in this book are all suitable for putting into production, with only a few simplifications made in order to aid readability. What You Will Learn Apply design patterns to modern C programming Use creational patterns of builder, factories, prototype and singleton Implement structural patterns such as adapter, bridge, decorator, facade and more Work with the behavioral patterns such as chain of responsibility, command, iterator, mediator and more Apply functional design patterns such as Monad and more Who This Book Is For Those with at least some prior programming experience, especially in C . Applying modern C++17 to the implementations of classic design patterns, this book presents concepts as a fun investigation of how problems can be solved in different ways, along the way using varying degrees of technical sophistication and explaining different sorts of trade-offs. -- Edited summary from book

قیمت نهایی

۴۴٬۰۰۰ تومان