
Learning Elixir
@Learning_Elixir
Followers
40
Following
107
Media
13
Statuses
141
RT @jskalc: We have portals in Phoenix! 🥳. Useful for modals, of course. But I also hope they might make it possible to interleave Vue and….
0
9
0
RT @mwarger: I found a way to make this a little cleaner using the File Nesting extension settings:. I added a `*.ex` extension with a coup….
0
1
0
RT @josevalim: @thmsmlr In LV v1.1 you will be able to do:. phx-mounted={JS.ignore_attribute("style")}.
0
1
0
RT @elixirforum: [Ash Chat] Awesome list about Ash #AshFramework #ElixirLang #WeBeamTogether #MyElixirStatus.
0
1
0
RT @elixirforum: [Ash Question] Trying to transition to the mental model of Ash #AshFramework #ElixirLang #WeBeamTo….
0
1
0
RT @AshFramework: @dreamjordan2 Oh I see it's not automatic you have to choose to log it by calling `all_and_log`🤔 two ways: 1. there is a….
0
1
0
RT @chris_mccord: @riipandi @elixirphoenix @buildWithLit lit is my goto when I need something in my LV app that's beyond server rendering.
0
1
0
@src_rip You can use Escape+o if you have the VISUAL environment variable configured. I got that from
0
0
0
> I gave a talk a few years back, “Ecto without a DB” exploring that when I worked at a company transforming a lot of json from 3rd party APIs. @gregvaughn. #ElixirTip #MyElixirStatus.
[Question] (De)serializing JSON documents into Structs: Just include `__struct__`? Seemingly not quite #ElixirLang #WeBeamTogether #MyElixirStatus.
1
0
0
Would the @AshFramework book show the correct way to do this? Are there examples somewhere that show all the correct way to do things in Ash?.
[Ash Question] How to properly use aggregates on a resource? #AshFramework #ElixirLang #WeBeamTogether #MyElixirStatus.
1
0
0
#ElixirTips Ash Framework.
@Learning_Elixir @TylerAYoung @AshFramework Mainly learning the Ash way vs the Ecto's. Defining resource actions and domain code interfaces with arguments is significantly different from writing normal functions. However, the validations and changes feel much easier once you understand them. The best part is conditional.
0
0
3
I gave @AshFramework another try because of this tweet. I got nested forms generating with automatically. I don’t think I have to learn sort_param and drop_param now. #MyElixirStatus.
@ATimberlake I hear ya. I went the @AshFramework + AshPhoenix route, which was an intense learning curve; a solid week of fumbling around. But man oh man, once it clicked, it is now comical how easy for me make complex forms with all sorts of nested inputs. Validation "just works".
0
2
13
#ElixirTip LiveView and LiveSvelte.
Things have been great so far with @elixirlang's LiveView + LiveSvelte. I thought it would be a good time to share the design patterns that have emerged with this stack, specifically around forms:. Patterns I discuss:. 1. How we manage errors and.
0
0
0
#ElixirTip permissions.
Here's how I do permissions in my @elixirlang app:. 1. Every schema implements an `ownership_query` where it's given a User schema query and it joins the user to the current schema. So each schema defines the path from User to itself. 2. I use UXIDs, like stripe, so each id
0
0
1
RT @jskalc: It has changed now, because my PR to Phoenix LiveView was merged 🚀. Now we keep the old state of all the assigns, so it should….
0
1
0