(no title)
wrapperup | 2 years ago
But recently (and maybe you're already familiar), a library called htmx started gaining popularity, which you might like. It doesn't require a build step, npm or node to use it. I'm using it with a Rust-based monolithic website to great success, but you can use it with any backend in any language you like.
TylerE|2 years ago
wrapperup|2 years ago
Astro is another one that is server-first, similar to PHP, so maybe you'll like that. It also has integrations with the popular frontend frameworks.
And if you don't like any of that, htmx is great!
tamimio|2 years ago
With an API, depending on the db too some have ready connectors.
tamimio|2 years ago
How’s htmx+rust combo so far? Any issues? Pros/cons?
wrapperup|2 years ago
But I am working on a simple web bundler crate similar to vite to alleviate that (check out the htmx discord!). It's missing the HMR part for assets that can be hot reloaded (it just refreshes your browser), but this will improve things quite a bit for anyone making templated SSR Rust sites.
Otherwise, the backend ecosystem is really fantastic in Rust, not much to complain about. Axum is great, and I'm using cornucopia for SQL. Having the type safety is a killer feature.
code_witch_sam|2 years ago