Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
joshprice
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
joshprice
1y ago
Likewise! ElixirConfUS?
2.
▲
by
joshprice
1y ago
This is awesome! Can't wait to find some use cases to embed a sandboxed and safe mini Lua language in our apps. https://hexdocs.pm/lua/Lua.html
3.
▲
by
joshprice
1y ago
Glad to hear you got a new project started, but let's address the ick factor. When you define a relationship like `has_many :representatives`, Ash does’t create `representative_id` on the destination resource, we only validate that it
4.
▲
by
joshprice
1y ago
Ash was definitely inspired by Rails but takes the seed of those ideas much further. So far that it starts feeling like a flexible and extensible domain modelling language and application configuration tool. It also happens to produce a wor
5.
▲
by
joshprice
1y ago
There are some fun Easter Eggs in there for the truly curious :) That's a great suggestion, the one-liner is cute but isn't quite as readable and explanatory as your multi-line version. Not to mention, the one-liner doesn't s
6.
▲
by
joshprice
1y ago
Good catch! The issue is that we list Phoenix and Phoenix LiveView but LiveView doesn’t have its own logo AFAIk
7.
▲
by
joshprice
1y ago
This is exactly why honest feedback is super valuable. If we don't know where new users get stuck or confused then we can't make it better for the next person. We'll definitely be looking at how to make it even better, becaus
8.
▲
by
joshprice
1y ago
This is one of the earliest projects we did with Ash. It's a really big app and the customer architect was convinced that if we didn't use Ash then they'd ultimately end up building some custom version of what Ash provides.
9.
▲
by
joshprice
1y ago
I'm honestly really sad to hear you've had a bad time. My apologies. Quite a few users have commented that the free support in Discord is incredibly fast and comprehensive. Zach responds unreasonably quickly and often you've
10.
▲
by
joshprice
1y ago
Understand the hesitation, but this is just a convenience script to make installation a shell one-liner and totally optional. Just click on the hard to spot "Already have an app?" link and it will show you the individual mix tasks
11.
▲
by
joshprice
1y ago
It's definitely worth taking another look. The Ash DSLs get full autocomplete from your LSP and so make sure this is setup. The new Elixir LSP called Expert - https://expert-lsp.org/ is coming soon and aims to make thi
12.
▲
by
joshprice
1y ago
There is definitely room for the Phoenix Form helpers to do more. Iommi looks like a really interesting approach I hadn't seen before. For example AshAdmin ( https://github.com/ash-project/ash_admin ) takes these id
13.
▲
by
joshprice
1y ago
Check out the docs for the Ash Igniter mix tasks, they will generate skeleton code for you: https://hexdocs.pm/ash/Mix.Tasks.Ash.Gen.Resource.html will generate a new resource for example (and the Domain if it doesn&#x
14.
▲
by
joshprice
1y ago
So Ruby off Rails??
15.
▲
by
joshprice
1y ago
Absolutely, if your customers want websites or ecommerce shops, then that's totally true. The context here is that Alembic builds custom business applications where these problems have not typically been solved before. We want to spend
16.
▲
by
joshprice
1y ago
That's really helpful feedback and there are few comments mentioning exactly this and you're right, we can definitely explain more up front on the landing page so it's more obvious. Thanks!
17.
▲
by
joshprice
1y ago
AshGraphQL ( https://github.com/ash-project/ash_graphql ) errors are relatively customisable https://hexdocs.pm/ash_graphql/handle-errors.html
18.
▲
by
joshprice
1y ago
Rails are definitely inspiration for the way Ash DSLs are used to model your business domain, but Ash takes this idea way further. Ash models nouns and relationships like ActiveRecord does, but it also models Domains (think DDD bounded cont
19.
▲
by
joshprice
1y ago
Oh hey Scott! :)
20.
▲
by
joshprice
1y ago
"Magic" in software can be good or bad. I've tried to explain the apparent "dark magic" at the end of this article. https://alembic.com.au/blog/essence-of-ash-framework Would love any feedback
21.
▲
by
joshprice
1y ago
Ash models an application's verbs or operations as actions . This allows the production of events via an "Aspect Oriented" way of hooking into the action lifecycle. Although it doesn't support a command first Event sour
22.
▲
by
joshprice
1y ago
There is a post that Mike wrote that describes the thinking behind Ash's declarative approach https://alembic.com.au/blog/declarative-programming I just wrote a post which attempts to explain the big ideas in Ash
23.
▲
by
joshprice
1y ago
Right and unlike an ORM which only models the "nouns" and "relationships" of your business domain model, Ash also models the verbs . This allows it to reveal the actions of your system externally via GraphQL or JSON API
24.
▲
by
joshprice
1y ago
Exactly! That's a great way to think about it in Django terms.
25.
▲
by
joshprice
1y ago
Unlike Django, Ash is not a web framework, it’s an *application* framework. One way to think of it is that it’s a flexible and extensible domain modelling language that also happens to derive an Elixir application which can be called from P
26.
▲
by
joshprice
1y ago
I've talked about this a few times and this is the shortest answer to this question. The first part of this talk may help explain concisely where Ash fits at a higher level. https://youtu.be/10VBTcN8gAo?feature=shared&a