AF
Ash Framework
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.
JoinAF
Ash Framework
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.
JoinAsh Framework: Better Together
ElixirConf talk is up! https://youtu.be/c4iou77kOFc?si=jjoXbS2RYRxsxPNr
Ash Resource - 3 minute introduction
Learn how to setup an Ash resource with create, read, update and destroy.
https://www.youtube.com/watch?v=tYCL0Rk12no...
[VIDEO] Early thoughts on using Ash Framework to produce a GraphQL API.
👨💻 In this video, I speak to some ideas about a future project and my current experiments around different technologies, specifically the Elixir Ash Framework, and using it to produce GraphQL endpoints.
https://www.youtube.com/watch?v=ZeMuXWrRq80...
AshUUID: extension for using UUID v4 and v7, with encoding and prefixing support
Hi there,
already released a new Ash extension for enhancing Ash UUID fields support.
AshUUID allows usage for UUID v4 and the new v7 draft (official paper: https://www.ietf.org/archive/id/draft-peabody-dispatch-new-uuid-format-04.html#name-uuid-version-7, more about: https://blog.devgenius.io/analyzing-new-unique-identifier-formats-uuidv6-uuidv7-and-uuidv8-d6cc5cd7391a).
...
Friendlier ids: base62 with resource type (mentioned recently for Ecto on Thinking Elixir)
Livebook: https://gist.github.com/dev-guy/51a4c12983424d3480cd1201263b50c9
This is what I could do in about 24 hours. Ash experts could do something much better than this....
AshGeo: Tools for using Geo, Topo and PostGIS
I've noticed some chatter on here from folks working with geospatial, and decided to pull something out from under my umbrella:
ash_geo
.
It provides:
- All the st_*
functions that you would get with Geo.PostGIS
for use with Ash expr
, and more to come...Ash Twitter: An example Ash application by @zachdaniel
Author: @Zach Daniel
As featured in LiveView Mastery episodes from January 2023 (posted here previously):
Code: https://github.com/zachdaniel/twitter
Part 1 https://youtu.be/8Ll31HK9GSU
Part 2 https://youtu.be/pwxShYmJgkk...
Phoenix+Ash+Svelte : Better together
This is the beginning of an Ash project using Svelte for responsive UX and collaborative editing via TipTap coming soon. It will become a daily team diary but it's mainly a tool for you and I to learn how to get up and running with performant code fast. This is the result of about 30 hours of mostly client-side work. I spent more time on styles than I expected but I should have known better. This is an experiment in technology as well as "working in public." While nothing will be earth-shatter...
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)....