Earlier quoted context omitted.
Why did you choose sveltekit-i18n instead of another svelte i18n lib?
> Why did you choose sveltekit-i18n instead of another svelte i18n lib? Mainly for the following argument: - It is built for SvelteKit and has good SSR support. And also, the following: - The translations are loaded for visited pages only. (and only once!) - As of v2.4.2, the size of the sveltekit-i18n package is 14 kB in the minified form and 4.6 kB in minified + gzipped form From https://blog.aakashgoplani.in/compa…
Ask HN: If you were to build a web app today what tech stack would you choose?
191–200 of 214 posts
Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#192I loved Drupal back in the day, but at some point (D8+, part of it moving to Symfony), it became too difficult to manage and for me personally to keep up with. But I believe that, in the early days, Drupal made excellent foundational design choices as a framework, and if you used it's APIs in your custom module development, then, generally speaking, you would have a secure website. But now, D7 is approaching EOL, and…
Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#193Earlier quoted context omitted.
Wait, wait, so reverse proxy functionality is available in ASP.NET? If I'm deploying an app to a K8s cluster, I assume I would still opt for an ingress rather than making my app handle that bit of functionality? Where's the cutoff here? Also, how do I handle discovering what ASP.NET offers in terms of functionality? Is there an overview somewhere that I missed?
RP has nothing to do with any programming language or framework, if a web server exists, you can put a reverse proxy in front of it. In this case, asp.net core has a built-in web server named Kestrel. IIS can be used as a reverse proxy so you can have IIS forward requests to web servers bound to local host. Personally, I think its quite hilarious that you went straight to k8's. The vast majority of asp.net code is ru…
> Personally, I think its quite hilarious that you went straight to k8's.
I work in a production environment with some 1.5mil loc that runs in a k8s cluster, so that's what I know. I'm not sure which reverse proxy we use in our ingress. I'd have to check with devops.
Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#194It's simplicity has been a fresh of breath air. I love Go and being able to use it for almost the entire web app is amazing. I am excited for the upcoming router enhancements Go has proposed, that will let me move off Chi router. I try to stay as close to the std lib as possible. Though, the `templ` package is amazing and I very much will continue to use it when possible.
For my database I use `libsql` by Turso with server mode.
As for deployment, I just dockerize the app and the database then run them as two separate components in a Docker App.
Makes it a simple and easy to develop and deploy updates.
Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#195I've really been into what I call the "HAG" stack: HTMX, Alpine.JS, Go. It's simplicity has been a fresh of breath air. I love Go and being able to use it for almost the entire web app is amazing. I am excited for the upcoming router enhancements Go has proposed, that will let me move off Chi router. I try to stay as close to the std lib as possible. Though, the `templ` package is amazing and I very much will continu…
Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#196Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#197I’d use whatever scales best for the least cost. Go backend. Single binary. Big performance. I’d use Go for as many things as possible until I actually had a need for distinct technologies (queues, redis, etc.). Throw embedded db into the mix and you shouldn’t have any problems for a long time. React UI on cloudflare pages. Free. Easy. Postgres. Single node goes far. Great plug n play extensions. Same as with Go I ca…
Do you by any chance know whether there's something like a go library or converter/transpiler that allows you to reuse the structs from a backend on the client side? Currently I always have a little redundancy in my projects when it comes to the JS HTTP client that calls the golang backend's API and I want to avoid that.
Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#198Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#199Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#200For anything new, I'd try Phoenix to see what I can achieve with Elixir and a non-React/Vue frontend.