Design Patterns in C#: A Hands-on Guide with Real-World Examples

Vaskaran Sarcar

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

商品描述

Get hands-on experience with each Gang of Four design pattern using the latest version of C# (Visual Studio Community 2017). For each of the patterns, you’ll see at least one real-world scenario, a coding example, and a complete implementation including output.
 
In the first part of Design Patterns in C#, you will cover the 23 Gang of Four (GoF) design patterns, before moving onto some alternative design patterns, including the Simple Factory Pattern, the Null Object Pattern, and the MVC Pattern. The final part winds up with a conclusion and criticisms of design patterns with chapters on anti-patterns and memory leaks. By working through easy-to-follow examples, you will understand the concepts in depth and have a collection of programs to port over to your own projects.
 
Along the way, the author discusses the different creational, structural, and behavioral patterns and why such classifications are useful. In each of these chapters, there is a Q&A session that clears up any doubts and covers the pros and cons of each of these patterns.He finishes the book with FAQs that will help you consolidate your knowledge. This book presents the topic of design patterns in C# in such a way that anyone can grasp the idea. 
 
What You Will Learn
  • Work with each of the design patterns
  • Implement the design patterns in real-world applications
  • Select an alternative to these patterns by comparing their pros and cons
  • Use Visual Studio Community Edition 2017 to write code and generate output
Who This Book Is For
 
Software developers, software testers, and software architects. 
 

 

商品描述(中文翻譯)

這本書將帶領讀者使用最新版本的C#(Visual Studio Community 2017)親身體驗Gang of Four設計模式。對於每個模式,你將看到至少一個真實世界的場景、一個編碼示例以及包括輸出在內的完整實現。

在《Design Patterns in C#》的第一部分中,你將學習到23個Gang of Four(GoF)設計模式,然後轉向一些替代設計模式,包括簡單工廠模式、空對象模式和MVC模式。最後一部分以結論和對設計模式的批評結束,並包括有關反模式和內存泄漏的章節。通過易於理解的示例,你將深入理解這些概念,並擁有一系列可應用於自己項目的程序。

在這個過程中,作者討論了不同的創建型、結構型和行為型模式,以及為什麼這些分類是有用的。在每個章節中,都有一個問答環節,解答任何疑問並介紹每個模式的優缺點。作者以常見問題解答結束這本書,幫助讀者巩固知識。這本書以易於理解的方式介紹了C#中的設計模式,任何人都能理解這個概念。

你將學到什麼:
- 使用每個設計模式
- 在真實應用中實現設計模式
- 通過比較優缺點,選擇替代模式
- 使用Visual Studio Community Edition 2017編寫代碼並生成輸出

適合閱讀對象:
- 軟體開發人員、軟體測試人員和軟體架構師。