Lurker News
As a long time software developer who hasn't done full stack in awhile (since 2013), what's everyone's go to web hosting stack today? Wanted to quickly put together a simple website with react/node.

Comments (441) 141 threads

Earlier comments
pjmlp#
Tooling JEE, Spring or ASP.NET MVC, with server side rendering.

Eventually coupled with full stack CMS like Liferay or Sitecore.
For frontend either tiny pieces of vanilajs when dynamic code is really required, or something that is WebComponents friendly like Angular, if the backend is mostly composed of Web APIs.
Might not be fashionable, performance is quite good, and we get to focus on delivering instead of playing JS framework of the month.

pragmatic1 reply#
Use what you know.

The technology fashion show continues on at full tilt.
PHP, asp.net, node, go, etc.
Angular, react, Vue, etc
MySQL, sqlserver, postgres, nosql, etc.
I've used all of these and more to build systems.
I'd stick with what you know and look at what your requirements are, SEO, massive scaling, needs to be cheap, needs to run on multiple platforms, et.

snazz#
Your username matches the suggestion in your comment (which I agree with wholeheartedly)
butterfi#
The problem I have with most, if not all, of these answers is that they seem to be good choices for orgs that have a dedicated development team. If its a small org, or a company that basically just has a brochure site, all of these answers are huge overkill. You want a "simple" site made from node/react? You've already raised your technical requirements higher then they might need to be. If your site has a rotating team of developers, I'd say start with the LAMP stack and go from there. It's easier, more affordable, and less time consuming to find developers with decent HTML5/CSS3/JS then it is to find dev's competent in the latest thing your senior dev is enthralled by. I turned down a job offer managing a Rails site because frankly I'm tired of trying to find Rails devs. Tooling choices by developers have serious staffing issues that many orgs still have to deal with after the original devs left, which sucks for the org as they never really understood what they were signing up for when the senior dev promised them that insert framework here was the solution to all their problems, when in reality the dev simply wanted to keep their skill set "up to date."
ninjakeyboard2 replies#
I don't believe there is a good answer to this as details are missing. What scale are you trying to get to? What level of concurrency? How much state and how often is it accessed? And what are the skill of your engineers.

You could write a rails monolithic app on postgres if you're building an internal application 100 people will use. Or you could use Akka and Scala with all state in memory backed by an event journal stored in cassandra.
IMO Ruby, Python and Elixir are perfectly suitable but the last languages I would choose. I've been working with elixir for the last 1.5 years and have decided I don't really like it. I'm happiest writing scala - I get more done faster and less bugs make it into production. Event sourcing and Akka cluster allow some really interesting patters that move state into application memory. But those technologies require a much different, more involved skill and experience set to lead.
I'd probably be using Go or Scala if I had to start a tech company in a small city. Scala if I were in a large city with talent 100%. There is evidence that Static typic improves speed of delivery and it's easier to refactor/maintain. And it's faster (generally). Both languages are much more widely used than elixir.

malloryerik2 replies#
May I ask, what is it that you don't like about Elixir?
inferiorhuman1 reply#
Deployments are a nightmare.
nathan_long1 reply#
I'm not sure what you're comparing it to. Releases can be tricky, but if you're accustomed to `git push heroku master`, or to "blue green deployment" (https://martinfowler.com/bliki/BlueGreenDeployment.html), there's no reason you can't do that with Elixir.

Continue this thread — 1 reply

ninjakeyboard#
I don't dislike elixir, I just think scala and akka are better tools for some problems for a few reasons.

- BEAM is slow for computation. - Static typing

agbell#
If scala, http4s, gaurdrail and doobie connecting to postgres is a great stack.

Http4s is a great functional http service.
Guardrail generates stub services from an openapi spec and is well thought out enough that it doesn't get in the way.
Put React with Typescript on top of it.

Load more comments