logoalt Hacker News

scwoodallast Wednesday at 10:05 AM4 repliesview on HN

I’d consider Phoenix to be like Flask. Ash fills the gap that brings Phoenix up to feature parity with a batteries included framework like Django.

Ash Admin (Django admin), Ash Resource & Domain (Django models & ORM), Ash JSON (Django Rest Framework), Ash Auth (Django Allauth), Ash Phoenix (Django Forms), Ash policies (Django permissions)

But you aren’t required to use Phoenix with an Ash project. Ash will happily work as a standalone CLI, terminal app or some other Elixir web framework that comes out tomorrow.


Replies

boxedlast Wednesday at 12:20 PM

The forms https://hexdocs.pm/ash_phoenix/AshPhoenix.Form.html seem even more low level than Django forms, and those are notorious for being too low level and annoying to work with. This to me seems to run counter to the tagline. Compare with iommi for Django where you can truly "derive the rest" from the domain model to get forms and tables.

show 2 replies
joshpricelast Wednesday at 10:14 AM

Exactly! That's a great way to think about it in Django terms.

show 1 reply
ctxclast Wednesday at 12:04 PM

Thanks. This is exactly what the website should say!

sriklast Wednesday at 10:44 AM

They really should put something to that effect on the homepage.