Functional Design and Architecture: Examples in Haskell
Author: Alexander Granin (Author)
Publisher finelybook 出版社: Manning
Edition 版本: 1st edition
Publication Date 出版日期: 2024-11-5
Language 语言: English
Print Length 页数: 456 pages
ISBN-10: 1617299618
ISBN-13: 9781617299612
Book Description
Book Description
In
Functional Design and Architecture you will learn:• Designing production applications in statically typed functional languages such as Haskell
• Controlling code complexity with functional interfaces
• Architectures, subsystems, and services for functional languages
• Developing concurrent frameworks and multithreaded applications
• Domain-driven design using free monads and other functional tools
• Property-based, integrational, functional, unit, and automatic whitebox testing
Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications.
About the technologyFunctional programming affects every aspect of software development, from how you write individual lines of code to the way you organize your applications and data. In fact, many standard OO patterns are unsuitable or unnecessary for FP applications. This book will reorient your thinking to align software design with a functional programming style. The examples are in Haskell, but the ideas are universal.
About the book Functional Design and Architecture teaches you how to design software following the unique principles of functional programming. You’ll explore FP-first paradigms like Functional Declarative Design by building interesting applications, including a fun spaceship control simulator and a full-fledged backend framework. This is an opinionated book and you may disagree on some points. But we guarantee it will make you think in a fresh way about how you design software. What’s inside• Control code complexity with functional interfaces
• Architectures, subsystems, and services for functional languages
• Domain-driven design using free monads
• Property-based and automatic whitebox testing
• Recalibrate OO designs for functional environments
For experienced developers who know a functional language.
About the author Alexander Granin is a senior software engineer and architect with more than 15 years of experience. He is an international speaker, researcher, and book author.
The technical editor on this book was
Arnaud Bailly. Table of ContentsPart 1
1 What is software design?
2 The basics of functional declarative design
Part 2
3 Drafting the MVP application
4 End-to-end design
Part 3
5 Embedded domain-specific languages
6 Domain modeling with free monads
Part 4
7 Stateful applications
8 Reactive applications
Part 5
9 Concurrent application framework
10 Foundational subsystems
11 Persistence: Key–value databases
12 Persistence: Relational databases
13 Error handling and dependency inversion
14 Business logic design
15 Testing
A Plenty of monads
B Stacking monads with monad transformers
C Word statistics example with monad transformers
D Automatic white-box testing
Review
From the Back Cover
Designing production applications in statically typed functional languages such as Haskell Controlling code complexity with functional interfaces Architectures, subsystems, and services for functional languages Developing concurrent frameworks and multithreaded applications Domain-driven design using free monads and other functional tools Property-based, integrational, functional, unit, and automatic whitebox testing Functional Design and Architectureis a pioneering guide to software engineering using Haskell and other functional languages. In it, you’ll discover Functional Declarative Design and other design principles perfect for working in Haskell, PureScript, F#, and Scala. about the technology Functional programming offers a powerful alternative to object-oriented programming that helps tackle the complexities of large-scale software. Entrenched design patterns and architectural principles made for OOP are poorly suited for creating large-scale functional applications. This book lays out new methodologies, principles, and architectures optimized for high-level software design using functional languages. about the book Functional Design and Architecture is a comprehensive guide to software engineering using functional programming. Inside, you’ll find cutting-edge functional design principles and practices for every stage of application development, from architecting your application through to running simple and maintainable tests. There’s no abstract theory–you’ll learn by building exciting sample applications, including an application for controlling a spaceship and a full-fledged backend framework. You’ll explore functional design by looking at object-oriented principles you might already know, and learn how they can be reapplied to a functional environment. By the time you’re done, you’ll be ready to apply the brilliant innovations of the functional world to serious software projects.
About the Author
下载地址
相关推荐
- Computational Techniques for Smart Manufacturing in Industry 5.0: Methods and Applications
- Building Web APIs with ASP.NET Core
- Digital Technology 360°: Leverage technology to build a secure and sustainable digital future
- Full Stack JavaScript Strategies: The Hidden Parts Every Mid-Level Developer Needs to Know
- Ghidra Software Reverse-Engineering for Beginners: Master the art of debugging, from understanding code to mitigating threats, 2nd Edition
- Large Language Models for Developers: A Prompt-based Exploration