Kick off your book project in 3 hours! Live workshop on Zoom. You’ll leave with a real book project, progress on your first chapter, and a clear plan to keep going. Saturday, May 16, 2026. Learn more…
Have you wondered what makes functional programming such a big deal, but haven't been able to get through any of the explanations? We wrote this book for you. Four years in the making! Phone-friendly: the code listings are easily readable without phone gymnastics. This is a small book—it took an enormous amount of effort to make it so! Also available as a Print Book.
CRUD erases the story your system lived through; event sourcing keeps it. Build an account aggregate in Scala 3 and ZIO: past-tense events, a pure applyEvent fold, decide for invariants and idempotency, then wire an append-only PostgreSQL journal, transactions, and a balance projection—and trace one account from HTTP command to read model. When the log must leave the database, follow the same events through transactional outbox, Kafka, and at-least-once consumers without pretending you have magic consistency. For architects and implementers who want decision-grade ES + CQRS, not a toy demo.
A practical book aimed for those familiar with functional programming in Scala who are yet not confident about architecting an application from scratch. Together, we will develop a purely functional application using the best libraries in the Cats ecosystem, while learning about design patterns and best practices.
Discover the pure functional side of HTTP API programming in Scala.
Clean, Hexagonal, Onion—one dependency rule, three names. Walk a runnable multi-module SaaS billing service in Scala 3 and ZIO: a pure domain ring, ports and use cases in the middle, PostgreSQL + Flyway + JDBC and a thin HTTP shell on the outside—with full source in the PDF, not truncated snippets. See how ZLayer at the composition root keeps one repository for the whole graph, how webhook idempotency stays on the right side of the boundary, and how munit and zio-test (plus optional Docker) prove the architecture you intend to defend in code review.
No distributed transaction spans your whole business process—so you design steps and compensations instead. In Scala 3 and ZIO, build a full order-placement saga from domain types and service algebras to orchestration and event-driven choreography, with tests that prove compensations fire when things break. Then see what it takes to move the same design toward production: outbox, idempotency, persistence, and how to choose between central coordination and decentralized reactions.
For those who want to build controlled, reproducible AI systems entirely within their own infrastructure, this book is the most practical and implementation-focused trainer. Instead of relying on external APIs or cloud-hosted intelligence services, this book clearly demonstrates how Apache Spark can orchestrate data preparation, model training, batch inference, reporting, and LLM acceleration in a disciplined and transparent way.
Discover the complete world of Scala programming in one comprehensive encyclopedia. SCALAPEDIA takes you from language fundamentals to advanced functional programming, covering Cats, Cats Effect, ZIO, design patterns, architectural patterns, and performance optimization. With over 85 chapters spanning 10 major parts, this is the definitive guide for mastering Scala and building enterprise-grade applications. Whether you're starting your Scala journey or looking to deepen your expertise, SCALAPEDIA is your complete reference for modern functional programming in Scala.
Stop fighting side effects and start building robust, testable software.Functional Programming in Scala: A Comprehensive Guide is your definitive roadmap to mastering the FP paradigm using the power of Scala 3. From the foundational concepts of immutability and pure functions to advanced topics like Monads, Type Classes, and effect management, this book provides clear explanations and practical, modern code examples. Learn to write code that is inherently safer, easier to reason about, and a joy to maintain.
Languages covered in the book: C++, Clojure, Crystal, D, Dart, Elixir, Factor, Go, Hack, Hy, Io, Julia, Kotlin, Lua, Mercury, Nim, OCaml, Raku, Rust, Scala, and TypeScript. Start with the basics of the language and progress through functions and objects to creating programs that use parallel and concurrent features!
The book contains the full transcript of Software Diagnostics Services training with 16 hands-on exercises on various topics related to Linux API.
The book contains the full transcript of Software Diagnostics Services training with 10 hands-on exercises on various topics related to Windows API.
I am not going to teach Play or Scala to you. Alas, I have read too many books whose authors have bitten off more than they could chew by trying to explain anything & everything themselves. The parts which go to make Play are concisely and well explained in the official, freely accessible docs; there is no point in me reinventing the wheel. Instead, this book is a guided tour through the Play docs and my intention is to show how to apply what you have learned by reading them to two production-level, albeit simple, Web apps.In doing so, my aim is to help you progress from programming to software development sprinkledwith some software engineering.
This book teaches you how to test Apache Spark codebases. Tests encourage your to write well designed code, help you identify bottlenecks in your code, make refactoring easier, and prevent some production deploy errors. You'll need to master testing Spark code to be a great Spark programmer.
Do you want to get a deeper understanding of Scala and functional programming? Has Scala from Scratch: Exploration whetted your appetite? This follow-up book gives you an in-depth understanding of Scala, including many of the advanced concepts. You'll learn about best practices and you'll be ready to get productive in real-life Scala code bases.