4 ms·
Ash isn’t an alternative to Phoenix. It’s an alternative to Ecto. It’s a data layer that uses Ecto under the hood. If you read the first few paragraphs of the
by spiderice 3y ago
Ash isn’t an alternative to Phoenix. It’s an alternative to Ecto. It’s a data layer that uses Ecto under the hood.
If you read the first few paragraphs of the linked tutorial, I think you’ll have a pretty decent understanding of what it does.
You can use Ash with Phoenix and Liveview.
- sph 3y agoWell, today I learned, thanks.
- DylanSp 3y agoI really wish the Ash website made this more immediately clear; the initial description makes it sound like Ash has a broader scope than it actually does (as far as I can tell).
- zachdaniel 3y agoWe tried to make it a bit clearer recently with the section on "Compatibility". "Works great with Phoenix, Ecto and all the other first rate tools in the Elixir ecosystem."But you aren't the first person to say this. It's complex because we do build your APIs for you, and it's not a requirement to use Phoenix to make this work. But Ash also can (and usually does) act as something you use alongside Phoenix. It makes it difficult to message :(