4 ms·
Forget Rails and embrace Sveltekit. All the magic of Rails can be achieved in any framework with LLMs.
by claudiojulio 2y ago
Forget Rails and embrace Sveltekit. All the magic of Rails can be achieved in any framework with LLMs.
- theflyinghorse 2y agoReally struggling to see how Sveltkit is a all similar to RoR. Sveltkit is just a frontend SSR framework lacking the rest of the goodies and patterns of a full stack framework. Sveltkit seems to be a next.js alternative but not a RoR alternative
- claudiojulio 2y agoSveltekit is not the same as Rails. It's an evolution. Plus, it's very easy to get any Rails functionality from NPM.
- nicce 2y ago> Plus, it's very easy to get any Rails functionality from NPM. Well, that is the issue of modern software development. People download even packages like `is-number` which is in the end few lines of code.
- nop_slide 2y agoIt's not the same at all. I have a SvelteKit + FastAPI app that ironically I'm porting to Rails after rediscovering it. Indeed SvelteKit is basically like NextJS for Svelte. It's just a thin server layer + routing which enables SSR, form submissions, and a few other goodies. You don't get the kitchen sink like with Rails. Just off the top of my head here's things you get with Rails that you don't with SvelteKit - auth (new in Rails 8) - background jobs - email processing - database connections and ORM - caching layer By the way this is coming as someone who is a fan of SvelteKit, it's just not objectively the same nor an evolution of rails at all.
- sureglymop 2y agoOne minor thing I would add is that of very recently, the new svc utility can set up auth, database stuff, i18n and some other things when creating a new svelte kit project. I suggest trying it out, it's pretty cool.
- deleted 2y ago[deleted]