Ash Framework | ashframework.bsky.social

1.7K posts

Ash Framework | ashframework.bsky.social banner
Ash Framework | ashframework.bsky.social

Ash Framework | ashframework.bsky.social

@AshFramework

Model your Domain, Derive the Rest. Build powerful Elixir applications with a flexible tool-chain.

Katılım Ağustos 2020
23 Takip Edilen2.6K Takipçiler
Ash Framework | ashframework.bsky.social retweetledi
Zach Daniel
Zach Daniel@ZachSDaniel1·
Small thing I'm weirdly excited about in the next release of AshPostgres: upserts can now tell you whether each record was inserted or updated. Sometimes it is fun to work on fancy new packages for #AshFramework, but being able to focus on the core stuff is often more rewarding. This might sound easy, but the standard "INSERT ... ON CONFLICT" approach cannot generalize this without resorting to hacks that don't generalize to any given use case. Now you can just read `:upsert_action` from the result metadata — works for a single record or a whole bulk upsert. It's powered by a SQL `MERGE` under the hood now (PG17+), which also quietly sets up something much bigger I'll be sharing soon 👀 Just have to update the `min_pg_version` callback on your repo to take advantage of it #ElixirLang
Zach Daniel tweet media
English
1
8
77
2.1K
Ash Framework | ashframework.bsky.social retweetledi
Zach Daniel
Zach Daniel@ZachSDaniel1·
Now that AshPostgres supports `MERGE`, we can finally have `Ash.update_many/4` in #AshFramework 😎. This allows you to do many row-wise updates each with their own unique input. This differs from `Ash.bulk_update/4` which updates a query or a set of records with *one* set of inputs. This might not seem that cool, but try hand-rolling this in a re-usable way with all of the various features that Ash supports (atomics, expression-based-updates, lifecycle hooks, etc.) and you'll get it 😂 This can be used for all kinds of purposes, but will soon be used to significantly optimize relationship management logic, i.e updating a to_many relationship with a set of inputs will now be three discrete queries, one to create anything new, one to update anything modified (with `update_many`) and one to remove anything left out. Take a look at the example code & representative SQL query: #ElixirLang
Zach Daniel tweet mediaZach Daniel tweet media
English
2
8
69
2.6K
Ash Framework | ashframework.bsky.social retweetledi
Anthropic
Anthropic@AnthropicAI·
The US government, citing national security authorities, has issued an export control directive to suspend all access to Fable 5 and Mythos 5 by any foreign national, whether inside or outside the United States, including foreign national Anthropic employees. The net effect of this order is that we must abruptly disable Fable 5 and Mythos 5 for all our customers to ensure compliance. Access to all other Claude models is not affected. We apologize for this disruption to our customers. We believe this is a misunderstanding and are working to restore access as soon as possible. Read our full statement: anthropic.com/news/fable-myt…
English
12.6K
25.6K
88.1K
92.6M
Jakub Skałecki 🚀 #buildinpublic
@patrik_kuehl @AshFramework Thank you for a thorough response! I've already finished a book, and have some experience with Ash from one of my previous projects. Asked that question bc I believe we used Ash incorrectly there and had to fight with it (not very pleasant 😉). Anyway, going with it!
English
1
0
1
66
Ash Framework | ashframework.bsky.social retweetledi
Jakub Skałecki 🚀 #buildinpublic
I will be starting a new commercial project soon. Of course Elixir + Phoenix LiveView 😎 But since this project will be a bigger one - multi-tenant ERP, I'm considering using @AshFramework. What are your experiences for that use case? Roll my own or use Ash? #myelixirstatus
English
15
3
61
4.6K
Ash Framework | ashframework.bsky.social
@elchemista @jskalc All jokes aside, so many people that started with the same opinion have "converted". There are only so many problems you want to solve yourself, and we've now spent over 6 years solving problems in a vertically integrated, easy-to-use fashion. It might be worth a second look.
English
0
0
2
14
elchemista
elchemista@elchemista·
@jskalc @AshFramework As your team lead, we do Phoenix first. Ash is cool, but on a big ERP you don’t want to debug your business logic and a framework religion at 2am. 😄
English
1
0
1
56
Ash Framework | ashframework.bsky.social retweetledi
Zach Daniel
Zach Daniel@ZachSDaniel1·
We're doing another #AshFramework Conference, once again in Varberg Sweden, the day after goatmire! 🎉Tickets are not yet available, but we're looking for talk submissions. Submit your ideas, big or small 😎 What we're after: - Real-world experience: patterns, pitfalls, and lessons from building with Ash - Fresh takes on architecture, testing, or pushing Ash in unexpected directions - Deep dives into Ash and its ecosystem - Libraries and packages you've built to extend Ash or contribute to the ecosystem sessionize.com/ash-conference…
Zach Daniel tweet media
English
2
8
49
1.6K
Ash Framework | ashframework.bsky.social retweetledi
roguewealth
roguewealth@roguewealth·
Watching @ZachSDaniel1 building stuff for looper almost in real time makes me think I really need to hop on the @AshFramework bandwagon.
English
1
3
8
674
Ash Framework | ashframework.bsky.social retweetledi
Kennedy Odhiambo
Kennedy Odhiambo@kennedy_odh·
@AshFramework hits different when it clicks,feels like a whole new way of thinking about your app.
English
2
2
13
464