[VIDEO] Early thoughts on using Ash Framework to produce a GraphQL API.

mikezornek
2023-08-17

mikezornek:

👨‍💻 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

zachdaniel:

Nice! Enjoyed the video 🙂

jharton:

This is great! Thanks <@710851710834311219>

dblack1:

Yes really nice video, I look forward to seeing your svelte video

jharton:

I’m interested in why you’re looking at svelte instead of liveview

dblack1:

Me too. I’m pretty settled with LiveView but my mind goes in circles and sometimes i wish for a separate js front end, mostly because of the choice of ui frameworks. But then I think what LiveView brings to the party… It’s hard to beat

mikezornek:

The short reason is that the site I have in mind will have a fair amount of frontend interactivity (drag and drop, client-side file uploads, interactive graphs), and while yes I could use LiveView to inject the JavaScripts I feel like I’m better off just living in the environment. Additionally, I feel like there are not enough frontend LiveView UI libraries to help me, whereas, for Svelte and JS in general, there are lots (though to varying quality).

I’ll have more to share when I record my Svelte video, and I want to be clear this is all an experiment, so I reserve my right to change my mind mid-way through. 🙂

There are also some people using Svelte in LiveView (see ElixirConf video archives) so I guess even that could be an option down the road.