Functional Design and Architecture you own this product

Examples in Haskell
Alexander Granin
  • September 2024
  • ISBN 9781617299612
  • 456 pages
  • printed in black & white

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside
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.

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.

Comprehensive, with simple and clear code examples, lots of diagrams, and very little jargon!

Scott Wlaschin, author of <i>Domain Modeling Made Functional</i>

Fills an empty slot in the field of software architecture. I enjoyed reading about Haskell applications from the perspective of design and architecture.

Vitaly Bragilevsky, JetBrains, author of <i>Haskell in Depth</i>

Discusses the goodness of functional programming patterns in the context of real world business applications. It explains free monads beautifully.

Debasish Ghosh, Conviva

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Functional Design and Architecture ebook for free

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Functional Design and Architecture ebook for free

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Functional Design and Architecture ebook for free