Earlier quoted context omitted.
> There’s no one go-to I thought Prisma.js was the most popular by far? It's the one I've always seen used in docs and examples.
Yes it's pretty good though it falls short of my golden standard (Django) by missing good automatic migrations and transactions in migrations.
We fell out of love with Next.js and back in love with Ruby on Rails
431–440 of 533 posts
Re: We fell out of love with Next.js and back in love with Ruby on Rails
#432When I see articles and discussions about web + stack I can’t but ask “What problem are they actually solving” ? The answer is always: put text on screen . When your business goal is put text on screen the next logical step is to ask how much time and money does the tech stack really save? I have never found a developer that answer that question with a number. That’s a really big problem.
Re: We fell out of love with Next.js and back in love with Ruby on Rails
#433Earlier quoted context omitted.
We have some other projects that are Angular, and NextJS was sort of a proof of concept for us. The goal is to just have one front-end framework for our devs to work with (and keep up to date, ugh!), so we’re folding those deploys back into our Angular family of features.
Have you checked out https://astro.build/ yet? You can drop in any framework where you need it, so if you need to bring along those Angular components you can but you can also lean on React if you need it.
Re: We fell out of love with Next.js and back in love with Ruby on Rails
#434Earlier quoted context omitted.
It's one of those things that's like "write one HTML file with zero styling, then you can have multiple different CSS files style the same content completely differently! Separation of Concern!" Sounds perfect in theory but just doesn't always work. Having one API for web and mobile sounds good but in practice often the different apps have different concerns. And SEO and page speed were always reasons the server neve…
>In fact, the trend is the opposite direction - the server sending the mobile apps their UIs. That way you can roll out new updates, features, and experiments without even deploying a new version Is that allowed by app stores? Doesn’t it negate the walled gardens if you can effectively treat the app as a mini browser that executes arbitrary code ?
Re: We fell out of love with Next.js and back in love with Ruby on Rails
#435Earlier quoted context omitted.
I stumbled upon hardcover when I was looking for a book info api and saw that goodreads discontinued theirs. Although it's pretty rough around the edges I've been using it extensively since then. As far as I understand hardcover was really created because goodreads discontinued their api and the team at hardcover saw how many people relied on it for a myriad of different niche projects. If hardcover was just a replac…
Thanks for the comments! You hit on a lot of why our app is structured the way it is. I agree too, we could've put those investments into Next.js rather than migrating to Rails. The difference was with Rails I could envision what the endpoint looked like (codebase, costs, caching, dev env, deployment, hosting options, etc). If we were to invest that time Next.js, some of those answers were (and still are) unclear. Ag…
Re: We fell out of love with Next.js and back in love with Ruby on Rails
#436Re: We fell out of love with Next.js and back in love with Ruby on Rails
#437Re: We fell out of love with Next.js and back in love with Ruby on Rails
#438Re: We fell out of love with Next.js and back in love with Ruby on Rails
#439Earlier quoted context omitted.
I've been a professional programmer for ~20 years and worked in a variety of languages on a variety of different types of projects, and Typescript with Bun is mostly just fine. It lacks some low level primitives I'd like to have available for certain projects (e.g. Go channels), and the FFI interface isn't as nice as I'd like, but it's basically serviceable for for a very broad range of problems. You should still kno…
I agree, nowadays working on mostly TS backend with some parts in JS written before async/await was introduced and I’m inclined to say TS is better than Python at most things bakcendy. I’m missing sqlalchemy and a sane numerical tower pretty much.
Re: We fell out of love with Next.js and back in love with Ruby on Rails
#440Earlier quoted context omitted.
Yep. The ORM situation in JS is not great. There’s no one go-to, and it seems like the question often prompts a patronizing response about how ORMs aren't really necessary. Kysely is really great, but it’s not an ORM. My take: the JS ecosystem tends to avoid abstraction for whatever reason. Example: they don’t believe that their web framework should transparently validate that the form submission has the correct shap…
The go-to is Drizzle