zachdaniel

zachdaniel

Creator of Ash

What if you had full stack types for SPAs built with tech like React, Inertia, Vue, Svelte… but all of the power Ash Framework and Elixir on the backend? Well, you can now.:wink: Home — ash_typescript v0.17.3

This is just 0.1.0, but it is the beginning of something big, and frankly something that we’ve been missing for a long time. Can’t wait to see what you all do with it, and a huge shoutout to our newest core team member @Torkan for all of his amazing work!


Showing Posts 1 to 10

mikesax

mikesax

Very nice! Didn’t see that one coming, and yet it’s perfectly in line with Model your domain, derive the rest. Congratulations @zachdaniel and @Torkan, and thank you!

zachdaniel

zachdaniel OP

Creator of Ash

One command now gets you a React SPA with full-stack types, backed by Ash Framework, Phoenix, and Elixir!:exploding_head: Install and visit localhost:4000/ash-typescript for a handy guide !:smiling_face_with_sunglasses:

Finally, a bridge to the reliability + elegance of Elixir for our React-loving friends!


Ferenc

Ferenc

~Not gonna lie, Ash is one of the most confusing products/solutions I have ever encountered. To this day I have no idea what it does. It seems to be the Ethereum of the Elixir world ;).

dstockdale

dstockdale

Ash is less like Ethereum and more like “define your data model once, and the rest of your app (queries, APIs, authorization, etc.) just fall out of it consistently”. Maybe that makes it the Solana of the Elixir world ¯\_(ツ)_/¯?

It has taken me quite a while to wrap my head around Ash fully but that might be because I don’t think I’ve come across anything exactly like it before. Original ideas can be confusing. At least it’s original to me :slight_smile:

Ferenc

Ferenc

I plan to follow the Elixir Mentor tutorial using Ash he introduced, so maybe it will click ;).

akramic

akramic

Definitely has a very steep learning curve. Am going through the Ash book and also building a side-project with it. For me, it is a way of centralising the business model and events that can change the model. It becomes the functional core of the application, the source of truth for your application in the same way the db is a the source of truth for your data. No more repetition of writing schemas and then having to write equivalent migrations etc, and all this barely scratches the surface of all the other capabilities of Ash and its libraries and extensions. What @zachdaniel and the Ash team have produced is quite simply brilliant - and all this made freely available to the Elixir community. Incredible.

zachdaniel

zachdaniel OP

Creator of Ash

It seems to be the Ethereum of the Elixir world ;).

Is this your perception having tried it? Or your perception from reading about it online? If the latter, I’d encourage you to break out the keyboard and just try and use it, because it will be infinitely more obvious. Try the live book tutorial linked from the Ash website for some basics: https://ash-hq.org.

bpat

bpat

Been having a lot of fun playing with this extension. I didn’t have to wrestle with esbuild at all. Not having to duplicate types is going to clean up a lot of boilerplate, redundant client code I have for one rather complicated React component. A lot of awesome activity in the Ash realm lately, and this might be favorite new addition in a minute.

zhangzhen

zhangzhen

AshTypescript is awesome. I want to know how does one do server-side rendering like phoenix-inertia?

Guy14

Guy14

That looks neat, I’ll give it a try soon ! :slight_smile:

Where Next? Top

Trending in News & Updates Top

sorenone
Today we’re releasing Oban for Python. Not an Oban client in Python. Not a pythonx wrapper embedded in Elixir. Nope, it’s a fully operati...
New
kip
I’m a bit excited to announce that Localize and friends are now at release 1.0. Even though it’s a 1.0 release, it stands on 8 years of w...
New
bartblast
I’ll be using this thread to share Hologram patch release announcements. Minor releases will continue to get dedicated threads with blog ...
New
sorenone
This release unifies configuration for queues, repos, and services, swaps opaque timing integers for readable durations, and backports pe...
New
jvoegele
Bond brings Design by Contract to Elixir: preconditions, postconditions and invariants as executable specifications, checked at runtime a...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews