.NET Design Patterns
by Praseed Pai and Shine Xavier
Paperback: 314 pages
Publisher Finelybook 出版社: Packt Publishing (31 Jan. 2017)
Book Description to Finelybook sorting
Knowing about design patterns enables developers to improve their code base, promoting code reuse and making their design more robust.
This book focuses on the practical aspects of programming in .NET. You will learn about some of the relevant design patterns (and their application) that are most widely used. We start with classic object-oriented programming (OOP) techniques, evaluate parallel programming and concurrency models, enhance implementations by mixing OOP and functional programming, and finally to the reactive programming model where functional programming and OOP are used in synergy to write better code.
Throughout this book, we’ll show you how to deal with architecture/design techniques, GoF patterns, relevant patterns from other catalogs, functional programming, and reactive programming techniques.
After reading this book, you will be able to convincingly leverage these design patterns (factory pattern, builder pattern, prototype pattern, adapter pattern, facade pattern, decorator pattern, observer pattern and so on) for your programs. You will also be able to write fluid functional code in .NET that would leverage concurrency and parallelism!
1: AN INTRODUCTION TO PATTERNS AND PATTERN CATALOGS
2: WHY WE NEED DESIGN PATTERNS?
3: A LOGGING LIBRARY
4: TARGETING MULTIPLE DATABASES
5: PRODUCING TABULAR REPORTS
6: PLOTTING MATHEMATICAL EXPRESSIONS
7: PATTERNS IN THE .NET BASE CLASS LIBRARY
8: CONCURRENT AND PARALLEL PROGRAMMING UNDER .NET
9: FUNCTIONAL PROGRAMMING TECHNIQUES FOR BETTER STATE MANAGEMENT
10: PATTERN IMPLEMENTATION USING OBJECT/FUNCTIONAL PROGRAMMING
11: WHAT IS REACTIVE PROGRAMMING?
12: REACTIVE PROGRAMMING USING .NET RX EXTENSIONS
13: REACTIVE PROGRAMMING USING RXJS
14: A ROAD AHEAD
What You Will Learn
Put patterns and pattern catalogs into the right perspective
Apply patterns for software development under C#/.NET
Use GoF and other patterns in real-life development scenarios
Be able to enrich your design vocabulary and well articulate your design thoughts
Leverage object/functional programming by mixing OOP and FP
Understand the reactive programming model using Rx and RxJs
Writing compositional code using C# LINQ constructs
Be able to implement concurrent/parallel programming techniques using idioms under .NET
Avoiding pitfalls when creating compositional, readable, and maintainable code using imperative, functional, and reactive code.
Praseed Pai has been working in the software industry for the last 25 years, starting his career as a MS-DOS systems programmer using ANSI C. He has been actively involved in developing large-scale, cross-platform, native code-based systems using C++ on Windows, GNU Linux, and macOS X. He has experience in COM+ and CORBA programming using C++. In the last decade, he has worked with Java- and .NET-based systems.
He is the primary implementer of the SLANG4.net compilation system, which has been ported to C++ with an LLVM backend. He coauthored .NET Design Patterns, by Packt Publishing.