Functional Design and Architecture: Examples in Haskell

Functional Design and Architecture: Examples in Haskell

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

Design patterns and architectures for building production quality applications using functional programming.

Functional Design and Architecture is 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.

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

Functional Design and Architecture lays out a comprehensive and complete approach to software design that utilizes the powerful and fascinating ideas of functional programming. Its examples are in Haskell, but its universal principles can be put into practice with any functional programming language. 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.

Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications.

About the technology

Functional 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

About the reader

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 Contents

Part 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

‘The functional scene needs to have this kind of book, one with not only theoretical functional domain chapters, but with practice in the area too.’ German Gonzalez-Morris ‘A much desired bridge between the theoretical understanding of functional programming and the ability to design and construct entire software systems using it.’ Makarand Deshpande ‘A very detailed look at functional design with rich examples.’ Charles Earl ‘A great book which show you different aspects of Haskell which are very uncommon to see in other articles or books.’ Andres Sacco ‘If you want to design real world applications in Haskell with a focus on elegance, flexibility, and scalability, you must read this book.’ David Paccoud

From the Back Cover

Design patterns and architectures for building production quality applications using functional programming, with examples in Haskell and other FP languages. 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 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.

    Amazon Page

    下载地址

    PDF, (conv), EPUB | 15 MB | 2024-12-29
    下载地址 Download解决验证以访问链接!
    打赏
    未经允许不得转载:finelybook » Functional Design and Architecture: Examples in Haskell

    评论 抢沙发

    觉得文章有用就打赏一下

    您的打赏,我们将继续给力更多优质内容

    支付宝扫一扫

    微信扫一扫