About This Title

Pages: 250
Published: August 2025
ISBN: 9798888651520
In Beta

Skill Level Meter

Ash Framework

Create Declarative Elixir Web Apps

by Rebecca Le and Zach Daniel

Ash Framework is the game-changing toolkit for Elixir developers. With modular, plug-and-play building blocks, Ash slashes development time, effort, and complexity, letting you do more with less code. Design declarative, customizable domain models that are easy to maintain and optimized for performance. Shift your focus to what to build, instead of how, using Ash’s intuitive design principles. Tackle bigger challenges and build scalable, future-proof web applications with confidence. Elevate your Elixir skills and revolutionize your workflow with Ash.

eBook Formats:

  • PDF for desktop/tablets

  • epub for Apple Books, e-readers

  • mobi for Kindle readers

Get all eBook formats here for $31.95 (USD)

Add to Cart we accept visa, mastercard, amex, discover, paypal

This book is in Beta, final version expected Aug 2025

Beta Books: What do I get?


Discover a dynamic new way to build web applications with Elixir and Ash Framework. Ash enables you to structure and organize the code you write in a declarative programming style so you can build functionality more quickly and answer complex questions about data more easily.

Start with a Phoenix LiveView app and grow it into a fully functional system as you master Ash’s core principles. You’ll build the domain model for a music database throughout the book. As you create this model, you’ll learn how to define resources with ease, connect them through adaptable relationships, and enrich your models with calculated attributes and aggregates to make your data work smarter. Secure your app with seamless authentication and authorization policies that integrate cleanly across APIs and user interfaces. Skip the busywork by generating REST and GraphQL APIs from your resources, freeing you to focus on building standout features. From dynamic search and nested forms to pubsub and real-time updates, you’ll explore practical, real-world scenarios at every turn.

Coauthored by the creator of Ash, this book is packed with insider knowledge, best practices, and actionable guidance to get you started fast. By the end, you’ll have the skills and confidence to create applications that grow with your needs.

What You Need

The book will use and show outputs from the latest versions of Elixir and Erlang, but earlier versions will be supported.

Minimum versions: Elixir 1.15, Erlang/OTP 26, PostgreSQL 14

Resources

Releases:

  • B1.0 2025/01/13

Contents & Extracts

Note: Contents and extracts of beta books will change as the book is developed.

  • Welcome!
    • What is Ash?
    • Why Ash?
    • Is This Book For You?
    • What’s In This Book
    • Online Resources
  • Building Our First Resource
    • Getting the Ball Rolling
    • Oh, CRUD! — Defining Basic Actions excerpt
    • Integrating Actions into LiveViews
  • Extending Resources with Business Logic
    • Resources and Relationships
    • Loading Related Resource Data
    • Structured Data with Validations and Identities
    • Deleting All of the Things
    • Changing Data Within Actions
  • Creating a Better Search UI
    • Custom Actions with Arguments
    • Dynamically Sorting Artists
    • Pagination of Search Results
    • No DB field? No Problems, with Calculations
    • Relationship Calculations as Aggregates excerpt
  • Generating APIs Without Writing Code
    • Model Your Domain, Derive The Rest
    • Building a JSON REST Interface
    • Building a GraphQL Interface
  • Authentication: Who Are You?
    • Introducing AshAuthentication
    • Setting Up Password Authentication
    • Automatic UIs With AshAuthenticationPhoenix
    • Setting Up Magic Link Authentication
  • Authorization: What Can You Do?
    • Introducing Policies
    • Authorizing API Access for Authentication
    • Assigning Roles to Users
    • Writing Policies for Artists
    • Removing Forbidden Actions from the UI excerpt
    • Writing Policies for Albums
  • All About Testing
  • Fun With Nested Forms
  • PubSub and Real-Time Notifications

Author

Rebecca Le is an active contributor to Ash Framework. She is a coauthor of Rails 4 in Action and has many years of experience in building web applications.

Zach Daniel is an experienced software engineer and the creator of Ash Framework. He has a passion for declarative design, functional programming, and contributing to the open source community.

eBook Formats:

  • PDF for desktop/tablets

  • epub for Apple Books, e-readers

  • mobi for Kindle readers

Get all eBook formats here for $31.95 (USD)

Add to Cart we accept visa, mastercard, amex, discover, paypal

This book is in Beta, final version expected Aug 2025

Beta Books: What do I get?

Related Titles:

Skill Level Meter

About This Title

Pages: 250
Published: August 2025
ISBN: 9798888651520
Edition: 1
In Beta