Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ash #188

Open
ndrean opened this issue Nov 8, 2022 · 4 comments
Open

Ash #188

ndrean opened this issue Nov 8, 2022 · 4 comments
Labels
discuss Share your constructive thoughts on how to make progress with this issue question A question needs to be answered before progress can be made on this issue research Research required; be specific technical A technical issue that requires understanding of the code, infrastructure or dependencies

Comments

@ndrean
Copy link
Contributor

ndrean commented Nov 8, 2022

Any experience with Ash? This declarative approach seems really interesting.

@nelsonic
Copy link
Member

nelsonic commented Nov 8, 2022

@ndrean thanks for opening this issue to capture the research into https://github.com/ash-project/ash 👌
We briefly looked at it a while back but forgot to open an issue.
It looks very promising but I don't immediately see the benefit over a standard Phoenix + LiveView App ...

image

image

image

image

Need to make time to follow https://www.ash-hq.org/docs/guides/ash/latest/tutorials/get-started 👩‍💻
to determine if it would be useful to us 🤞
or if it creates an unnecessary abstraction layer 🤷‍♂️
that makes debugging more tedious. ⏳

@nelsonic nelsonic added question A question needs to be answered before progress can be made on this issue discuss Share your constructive thoughts on how to make progress with this issue technical A technical issue that requires understanding of the code, infrastructure or dependencies research Research required; be specific labels Nov 8, 2022
@ndrean
Copy link
Contributor Author

ndrean commented Nov 8, 2022

Made me think of docker-compose over the Docker files, or Ecto over SQL. If you just make queries, the Ecto DSL (especially de "macro" |> one) is another - verbose, not so usefull - tool to learn over SQL. But as soon as you start INSERT data, then the changeset and multi abstraction with Transaction is pretty neat I think. I will try the example too, curious about the boilerplate served.

@nelsonic
Copy link
Member

nelsonic commented Nov 8, 2022

Yeah, I often feel that the Ecto Abstraction is annoying and less maintainable than SQL … but that appears to be counter to the consensus in the Elixir/Phoenix community. 💭

Again, very curious to investigate this. 👌

@ndrean
Copy link
Contributor Author

ndrean commented Oct 26, 2023

https://jon.hk/elixir/ash/a-gentle-primer-to-ash/

To read, one day!

Screenshot 2023-10-26 at 15 46 22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss Share your constructive thoughts on how to make progress with this issue question A question needs to be answered before progress can be made on this issue research Research required; be specific technical A technical issue that requires understanding of the code, infrastructure or dependencies
Projects
None yet
Development

No branches or pull requests

2 participants