English | Apr. 2018 | ISBN: 178847130X | 396 Pages | EPUB
Learn how to write efficient, clean, and reusable code with Scala
Design patterns make developers’ lives easier by helping them write great software that is easy to maintain, runs efficiently, and is valuable to the company or people concerned. You’ll learn about the various features of Scala and will be able to apply well-known, industry-proven design patterns in your work.
The book starts off by focusing on some of the most interesting and latest features of Scala while using practical real-world examples. We will be learning about IDE’s and Aspect Oriented Programming. We will be looking into different components in Scala. We will also cover the popular "Gang of Four" design patterns and show you how to incorporate functional patterns effectively. The book ends with a practical example that demonstrates how the presented material can be combined in real-life applications. You’ll learn the necessary concepts to build enterprise-grade applications.
By the end of this book, you’ll have enough knowledge and understanding to quickly assess problems and come up with elegant solutions.
What You Will Learn
Immerse yourself in industry-standard design patterns—structural, creational, and behavioral—to create extraordinary applications
See the power of traits and their application in Scala
Implement abstract and self types and build clean design patterns
Build complex entity relationships using structural design patterns
Create applications faster by applying functional design patterns
Table of Contents
1: THE DESIGN PATTERNS OUT THERE AND SETTING UP YOUR ENVIRONMENT
2: TRAITS AND MIXIN COMPOSITIONS
3: UNIFICATION
4: ABSTRACT AND SELF TYPES
5: ASPECT-ORIENTED PROGRAMMING AND COMPONENTS
6: CREATIONAL DESIGN PATTERNS
7: STRUCTURAL DESIGN PATTERNS
8: BEHAVIORAL DESIGN PATTERNS – PART ONE
9: BEHAVIORAL DESIGN PATTERNS – PART TWO
10: FUNCTIONAL DESIGN PATTERNS – THE DEEP THEORY
11: APPLYING WHAT WE HAVE LEARNED
12: REAL-LIFE APPLICATIONS