Ash Elixir

AE

Ash Elixir

Join the community to ask questions about Ash Elixir and get answers from other members.

Join

support

showcase

today-i-learned

One-to-many Form Example

I've put together a little example of using AshPhoenix.Form to build an interactive one-to-many form: https://github.com/totaltrash/form_example I picked up Ash around the same time I got into Elixir (both Ash and Surface blew my mind at the time, so much declarative goodness). As I've never really worked with Ecto directly, I absolutely loved this post (https://kobrakai.de/kolumne/one-to-many-liveview-form) on building a one-to-many form using Ecto changesets - I began to understand how Ecto was never built with this interactive use case in mind, and the complexities involved of rolling your own solution. AshPhoenix.Form just handles this stuff out of the box, so I had to model something similar using Ash and AshPhoenix....

Ash Primer: Calculations

https://www.youtube.com/watch?v=oxaqpDlI-Hk The first video of a series called Ash Primers has been released. Still a work in progress on recording/editing, but I'd rather ship something that isn't perfect than ship nothing at all 😆....

Filter Form Example

I was doing a bit of a proof of concept with AshPhoenix.FilterForm, so I thought I'd roll up a little example application: https://github.com/totaltrash/filter_form_example Hopefully it might be useful to anyone who wants to try out complex nested filter forms....

Proof of Concept using Ash

I am wondering if some of the Main functions can be put in the resources. Learned a lot and got a lot of help from Zach! https://github.com/djgoku/poc...

Ash Application Template

Attached is a LiveBook template which starts up an Ash / LiveView application with with a few basic things set up. This sets up a resource and shows an example of inserting and reading the data. Additionally it is has graphql set up, so the resource is served on the playground. Hopefully this can serve as a starting off point for people who want to create recipes highlight certain features, to isolate behavior so others can more easily help in debugging, or anything else you may find useful

Model your Domain, Derive the Rest

I'll be giving the first iteration of a talk entitled "Ash is your Application" at the Jacksonville Elixir meetup next month. Its hybrid, so feel free to attend virtual https://www.meetup.com/jax-ex/events/291931851/

WIP (pre-alpha) Ash UI Extension & Component Lib

Hey all. 👋 I'm happy to tease the near public release of Plegethon (provisional title), a (very experimental) Ash UI extension and LiveView component library! It's inspired by Petal, AshAdmin, and AshAuthenticationPhoenix. I'm trying very hard to design in the ability to configure/extend nearly every aspect of the components, and to have an Ash-core level of escape hatches/overrides in the extension config. The idea is that you can declare UI config in your Ash resource, then use that in "smart components" that know how to introspect the Ash resource to build themselves. Kind of like AshPhoenix.Form w/ auto: true, but for the UI (examples in images)....
No description

Coinbits V2

From @chef : We just released Coinbits 2.0 yesterday. It's been a long 6 months of building and I'm proud to announce that we're fully built on Ash, AshPostgres, and AshGraphql. No live view here, still on legacy React 😉 ...