jkwchui
Soliciting feedback on an Ash primer tutorial
Hello all. I am drafting a tutorial for Ash, using AshCsv as a transparent datalayer, and contrasting the imperative-declarative ways of going about things. It’ll have some LiveBooks / source CSV, so it’s minimal setup to get started; and some accompanying videos for those who like to see it in action.
Before doing those, I want to make sure the content is alright. I am writing as someone relatively new to both Elixir and Ash, so your critical eyes would be helpful. I’ve published the draft here: A Gentle Primer to Ash – jon.hk
If you can let me know what should be changed (and probably how), then I’ll try to work it in. I anticipate one criticism being too much redundancy; that is intentional, as I think making minimal changes between steps, and showing each of these minimal changes explicitly, helps people who are new.
(I’m thinking about what is the right scenario extension for [2-4] relationship… ideas are welcome!)
Edit: I am also looking to disable code-formatting in LiveBooks, as they messes up the Ash DSL. Is that possible?
Most Liked
jkwchui
The LiveBooks / CSVs are here!
I personally love tutorials that come with LiveBooks (and enjoyed @woutdp 's Ash set), and hope this self-contained/transparent setup can be an inviting start for everyone that was intimidated by the sheer Bigness of Ash.
…the sad thing is that I wrote [2-4] from a different browser window and somehow that got overwrote
Will add that back in the next day or two.
TwistingTwists
This is great as an introductory material.
Would love to have a deeper guide on relationships. ![]()
jkwchui
Hello all.
The prose and LiveBooks are now done, with a new section on Code Interface inserted after calculations/queries, and the Relationship section is re-written to assume knowledge of code interface. I think this is as much as I can stretch “a Gentle Primer” ![]()
Different strokes for different folks: there are also (low production) video walkthrough accompanying the article, that is parallel to the prose and the LiveBooks. I will keep coming back to this thread for your comments, but I consider this complete (and if you find it helpful, you’re welcome to share with the world).
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









