Добавить в избранное
Форум
Правила сайта "Мир Книг"
Группа в Вконтакте
Подписка на книги
Правообладателям
Найти книгу:
Навигация
Вход на сайт
Регистрация



Реклама



Functional Design and Architecture: Building real programs in Haskell: application architectures, design patternsНазвание: Functional Design and Architecture: Building real programs in Haskell: application architectures, design patterns
Автор: Alexander Granin
Издательство: Leanpub
Год: 2020
Страниц: 495
Язык: английский
Формат: pdf (true), epub + Extra
Размер: 41.3 MB

Software Design in Functional Programming, Design Patterns and Practices, Methodologies and Application Architectures. How to build real software in Haskell with less efforts and low risks. The first complete source of knowledge.

It is a fundamental book about Software Design in Haskell. The main idea of this book is to provide a comprehensive source of knowledge, a complete methodology of building real world applications in Haskell. Application architectures, best practices, design patterns and approaches, - all the information you need to achieve a simple, maintainable, testable code with low complexity and low risks. By reading this book, you’ll learn many useful techniques: from the requirement analysis to the implementation of particular subsystems such as SQL and NoSQL databases, multithreading, logging. You’ll learn about design principles, application layers, functional interfaces, Inversion of Control and Dependency Injection in Haskell.

The book is very practical. It will be useful for software engineers who want to improve their software design skills with a strong relation to many advanced Haskell concepts. The book requires a certain level of Haskell knowledge, up to intermediate.

The book covers a big gap in the Haskell ecosystem: the lack of resources about high-level application design. It’s also important that the ideas from the book were used in real production with great success. The book offers my own methodology - Functional Declarative Design, with Hierarchical Free Monads as a core technology. Using this methodology, I created several real-world frameworks, and they are driving a successful business in several companies.

Book topics:

requirements analysis and architecture modeling;
application layering;
design principles, SOLID;
Haskell-specific design patterns;
Inversion of Control and Dependency Injection;
domain modeling, embedded and external DSLs;
functional interfaces, subsystems and services;
Free monads, ReaderT pattern, Service handle pattern;
Final Tagless/mtl, GADTs
multithreading and concurrency;
state and stateful applications;
design of business logic;
interaction with impure subsystems;
relational and key-value databases;
error handling, exceptions, error domains;
web servers, HTTP backends, CLI applications;
property-based, functional and integration testing;
black box and white box testing.

The book is project-based. There are two showcase projects for it:

Hydra, a full-fledged framework for building web services, multithreaded and concurrent applications with SQL and KV DB support. Contains 3 engines: Final Tagless, Free Monad and Church Encoded Free Monad, as well as several demo applications to compare these 3 approaches.
Andromeda, a SCADA software for spaceship control.

I designed the following real-world frameworks using the ideas from the book (with the help of other people of course):

PureScript Presto - a framework for building mobile apps using a handy eDSL.
PureScript Presto. Backend - a framework for web RESTful backends. It has the same design as Presto but also is empowered by some additional features like logging, HTTP APIs integration, KV DB, SQL DB subsystems, state handling, automatic whitebox testing, and other useful stuff.

Both of these frameworks drive the business of an Indian financial company Juspay. Its mobile apps and financial backends are written on top of Presto and Presto.Backend. This technology helped the company to grow up and enabled a wide adoption of PureScript and Haskell in the future. Essentially, Juspay was the first company I used my ideas in. We found that Hierarchical Free Monads hide all the complexity of implementation details behind convenient interfaces so that the code is understandable by not only developers but by managers as well. This helped us to easily reason about the domain, the logic, the business goals and requirements. My approach also brought confidence that Haskell and PureScript are not only academic languages.

Node - a full-fledged framework for building distributed, concurrent, multithreading apps, blockchains initially, but not only. I designed this framework for Enecuum and then we successfully created our own blockchain using it. What's important, we managed to achieve our goals less than in 4 months with a team of 4 haskellers. The framework allowed us to write fast, complicated blockchain logic easily, quickly, without bugs and with maximum confidence due to a great testability of the HFM approach. You can read more about the framework in this my article: Building network actors with Node Framework.

Скачать Functional Design and Architecture: Building real programs in Haskell: application architectures, design patterns








ОТСУТСТВУЕТ ССЫЛКА/ НЕ РАБОЧАЯ ССЫЛКА ЕСТЬ РЕШЕНИЕ, ПИШИМ СЮДА!







Автор: Ingvar16 1-01-2021, 15:49 | Напечатать |
 
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.





С этой публикацией часто скачивают:

    Haskell in Depth (MEAP) Haskell in Depth (MEAP) Название: Haskell in Depth (MEAP Version 12) Автор: Vitaly Bragilevsky Издательство: Manning Publications Год: 2020 Формат: True PDF Страниц: 528...

    Algebra-Driven Design: Elegant Software from Simple Building Blocks Algebra-Driven Design: Elegant Software from Simple Building Blocks Название: Algebra-Driven Design: Elegant Software from Simple Building Blocks Автор: Sandy Maguire Издательство: Sandy Maguire Год: 2020 Формат: PDF...

    Algorithm Design with Haskell Algorithm Design with Haskell Название: Algorithm Design with Haskell Автор: Richard Bird, Jeremy Gibbons Издательство: Cambridge University Press Год: 2020 Формат: True PDF...

    Practical Haskell: A Real World Guide to Programming, 2nd Edition Practical Haskell: A Real World Guide to Programming, 2nd Edition Название: Practical Haskell: A Real World Guide to Programming, 2nd Edition Автор: Alejandro Serrano Mena Издательство: Apress ISBN: 1484244796 ...

    Cloud Computing Patterns. Fundamentals to Design, Build, and Manage Cloud Applications Cloud Computing Patterns. Fundamentals to Design, Build, and Manage Cloud Applications Название: Cloud Computing Patterns. Fundamentals to Design, Build, and Manage Cloud Applications Автор: Christoph Fehling Издательство: Springer Год:...

    Get Programming with Haskell Get Programming with Haskell Название: Get Programming with Haskell Автор: Will Kurt Издательство: Manning Publications Год: 2018 Страниц: 616 Формат: True PDF, EPUB Размер: 15...

    Practical Concurrent Haskell: With Big Data Applications Practical Concurrent Haskell: With Big Data Applications Название: Practical Concurrent Haskell: With Big Data Applications Автор: Stefania Loredana Nita, Marius Mihailescu Издательство: Apress Год: 2017...

    Professional Java EE Design Patterns Professional Java EE Design Patterns Название: Professional Java EE Design Patterns Автор: Alex Theedom, Murat Yener Издательство: Wrox Год: 2015 Страниц: 264 Формат: PDF Размер: 16 Mb...

    Scala Design Patterns: Patterns for Practical Reuse and Design Scala Design Patterns: Patterns for Practical Reuse and Design Название: Scala Design Patterns Patterns for Practical Reuse and Design Автор: John Hunt Издательство: Springer Год: 2013 Формат: PDF, EPUB Размер:...

    Real World Haskell Real World Haskell Автор: Bryan O'Sullivan Название: Real World Haskell Издательство: O'Reilly Media Год: 2008 ISBN: 9780596514983 Язык: English Формат: pdf Размер:...

Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.


 MirKnig.Su  ©2024     При использовании материалов библиотеки обязательна обратная активная ссылка    Политика конфиденциальности