Live data from Hacker News

Ask HN: What is your preferred “full-stack in a box” solution and why?

news.ycombinator.com

1–10 of 37 posts

Ask HN: What is your preferred “full-stack in a box” solution and why?

#1
What I mean by a "full-stack in a box" is a web client solution + server solution + DB solition that all work well together for a small to medium size business. Minimizing integration friction and maximising productivity. Is it Typescript/C#/Postgress? Elm/Haskell/MySQL? Clojurescript/Clojure/Datomic? Ruby on Rails/? Or something else entirely?

Re: Ask HN: What is your preferred “full-stack in a box” solution and why?

#2
Personally, I tend to go with Ruby on Rails and PostgreSQL run on Heroku. I recognise it has its limitations — Heroku’s pricing isn’t favourable for large apps, for example — but, combined with Hotwire [1] (which now comes out of the box, IIRC), it’s a powerful solution for most LOB apps.

[1] https://hotwire.dev

Re: Ask HN: What is your preferred “full-stack in a box” solution and why?

#3
I think it depends a lot on the product you are building, but in my option nothing beats Django for rapid development of a website/app. True it doesn't have an answer "in the box" for client side interaction but combined with tools such as htmx and alpine.js you get something very similar to the modern Rails/Hotwire stack. Personally though you can get along way with just vanilla JavaScript.

I think the killer feature of Django is the Admin framework, its so often overlooked when developing a site/app that internal (not user facing) tools are so important. With the Dango Admin you get something incredible with so few lines of code. It's practically a super power.

If you need a little more interactive "SPA" like functionality, throw in Django REST Framework and your preference of front end framework. I would tend to go with Vue as it feels like it's the same sort of "battery's included" framework as Django. You can also easily use it to build smaller components without having to go all in on SPA.

If you are then asked for a Mobile App on top of that I would reach for Ionic/Capacitor, particularly if you already have a (partly) Vue or React based front end. You can then reuse most of your code. Need some native functionality not covered by Capacitor plugins? take a look at brining in NativeScript, it works brilliantly with Capacitor. (If you haven't taken a look at modern Ionic/Capacitor it has come on so far since the Cordova/PhoneGap days)

Re: Ask HN: What is your preferred “full-stack in a box” solution and why?

#4
ASP.NET with Blazor or Kotlin with Kotlin/JS.

C# and Kotlin offer a nice balance between rigor and accessibility and have good docs and tooling. Using the same language across the stack makes collaboration and debugging simpler. Large labor pool of devs who prob have a bit stronger CS fundamentals than the average JS/TS dev, but still prob have a web/mobile app focus/experience

Re: Ask HN: What is your preferred “full-stack in a box” solution and why?

#7
Gonna throw a hat in for Deno. It’s not super mature, but you can certainly write isomorphic React + some MVC code in a monolith - nothing to sneeze at, looks promising.

I think tooling to generate typesafe SQL methods from inspecting a DB is a big win for the Deno ecosystem. And an equivalent for Storybook. From that point forwards, it’s pretty good for lean projects.

Re: Ask HN: What is your preferred “full-stack in a box” solution and why?

#8

I think it depends a lot on the product you are building, but in my option nothing beats Django for rapid development of a website/app. True it doesn't have an answer "in the box" for client side interaction but combined with tools such as htmx and alpine.js you get something very similar to the modern Rails/Hotwire stack. Personally though you can get along way with just vanilla JavaScript. I think the killer featur…

>If you are then asked for a Mobile App on top of that I would just deploy Vue as a PWA, unless you need specific native features
Post reply on HN