Sold by Mighty Ape
Type-Safe Web Apps with Gleam: Harnessing the Power of Functional Programming for Reliable Full-Stack Systems
Building robust, maintainable web applications doesn’t have to be a battle against complexity and runtime errors. Type-Safe Web Apps with Gleam shows you how to create fast, reliable, and type-safe full-stack systems using Gleam, a functional programming language that compiles to both Erlang (BEAM) and JavaScript.
Written in a clear and conversational style, this book guides you from the foundations of Gleam’s type-safe design to advanced concepts such as concurrency, distributed systems, and full-stack integration. You’ll learn how to harness the BEAM’s legendary reliability, write expressive and pure functional code, and confidently build production-grade applications that simply do not crash.
Through step-by-step explanations, practical exercises, and complete examples, you’ll discover how to design scalable backends, handle data safely, and seamlessly connect Gleam with JavaScript frameworks like React and Svelte. Whether you’re a backend engineer, a web developer exploring functional paradigms, or an Elixir/Erlang developer curious about static typing, this book equips you with everything you need to become fluent in Gleam’s ecosystem.
What You’ll Learn
Master the fundamentals of Gleam’s type system, immutability, and pure functions.
Build and deploy type-safe REST APIs using Gleam frameworks like Mist and Wisp.
Integrate PostgreSQL and SQLite databases safely using typed queries.
Implement concurrency and fault tolerance using lightweight processes and supervision trees on the BEAM.
Compile Gleam to JavaScript and connect it to modern frontend frameworks.
Test, debug, and deploy full-stack Gleam applications to platforms like Fly.io, Gigalixir, and Docker.
Modern web applications demand reliability, scalability, and maintainability qualities that Gleam delivers through static typing, functional purity, and the BEAM’s fault-tolerant runtime. By combining these strengths, Gleam enables developers to focus on building features instead of debugging production issues. This book bridges the gap between theory and practice, guiding you from your first “Hello, Gleam” project to deploying a production-ready, fully type-safe system. Every chapter builds practical skills grounded in real-world scenarios, helping you adopt Gleam with confidence and clarity.
Who This Book Is For
Developers coming from Elixir, TypeScript, Rust, or Go who want static safety on the BEAM.
Backend and full-stack engineers aiming to build reliable, fault-tolerant systems.
Functional programming enthusiasts seeking a pragmatic, type-safe language for production use.
Anyone curious about combining functional design with real-world web architecture.
Step into the future of web development – one where safety, performance, and simplicity coexist. Learn Gleam, master type safety, and start building web systems you can trust. Get your copy of Type-Safe Web Apps with Gleam today and build smarter, safer, and faster applications that scale effortlessly.
We are committed to protecting your rights under the Consumer Guarantees Act and working with our suppliers to assist with warranty claims. Products sold by Mighty Ape will be covered by a Manufacturer's Warranty for at least a one-year period from the date of purchase.
Your warranty will cover any manufacturing defects which, if existing, will present themselves within this warranty period.
Your warranty will not cover normal wear and tear, faults caused by misuse, and accidents which cause damage or theft caused after delivery. Using the product in a way it is not designed for will void your warranty.
Please refer to our Help Centre for more information.