News for hackers. Stuff that matters.
Re:Ask HN: If you were to build a web app today what tech st... by edent on Sunday October 29, 2023 @11:26AM (#38059443)
LAMP.

It can easily be maintained by a single developer. Scales well enough for a decent number of users. Huge ecosystem of components. Easy to deploy to literally any web host. Wide variety of front-end systems.

If you need to scale, it can do that. Developers for it are plentiful. But you can always rewrite it in the flavour-of-the-month framework when you hit either scale or money.

Re:Ask HN: If you were to build a web app today what tech st... by issa on Sunday October 29, 2023 @11:38AM (#38059570)
Never underestimate the value of tried and true solutions!
Re:Ask HN: If you were to build a web app today what tech st... by supportengineer on Sunday October 29, 2023 @11:28AM (#38059471)
Agree but with Postgres instead
Re:Ask HN: If you were to build a web app today what tech st... by xhkkffbf on Sunday October 29, 2023 @11:39AM (#38059579)
I'm having great luck with SQLite. Most of the content is cached in ram so there aren't many hits on the db.
Re:Ask HN: If you were to build a web app today what tech st... by hotnfresh on Sunday October 29, 2023 @12:04PM (#38059846)
FNPP

FreeBSD

Nginx

PostgreSQL

PHP/Python

Or, for something a bit less mainstream and only for certain types of application but more minimalist:

FNRL

FreeBSD

Nginx

Redis

Lua

Re:Ask HN: If you were to build a web app today what tech st... by simonw on Sunday October 29, 2023 @11:27AM (#38059456)
Which P?
Re:Ask HN: If you were to build a web app today what tech st... by edent on Sunday October 29, 2023 @11:32AM (#38059514)
Haha! As it's you, I'll say Python. But for me, PHP.
Re:Ask HN: If you were to build a web app today what tech st... by edg5000 on Sunday October 29, 2023 @11:57AM (#38059768)
For anything that is anticipated to grow beyond a very small codebase, the lack of static checkability really becomes a pain with PHP.

I'm surprised that Java and modern C++ are not more popular. I know for large web applications, Java is popular in "enterprise" environments.

Re:Ask HN: If you were to build a web app today what tech st... by hipadev23 on Sunday October 29, 2023 @12:12PM (#38059925)
Re:Ask HN: If you were to build a web app today what tech st... by catlover76 on Sunday October 29, 2023 @03:05PM (#38061569)
There are other statically typed languages that are more pleasant to work with.
Re:Ask HN: If you were to build a web app today what tech st... by KronisLV on Sunday October 29, 2023 @08:00PM (#38064106)
> I'm surprised that Java and modern C++ are not more popular. I know for large web applications, Java is popular in "enterprise" environments.

Java scales both up (Spring Boot, with it's many integrations) and down (Dropwizard, a bunch of popular packages, nice for simpler projects) pretty well, has a great runtime and the language itself is okay.

Also there's .NET, where everything seems to revolve more around ASP.NET and EF, but as a consequence feels less fragmented than things on the Java side. Performance is also nice (especially on Linux with Kestrel) and the tooling is nice.

Honestly, both seem a viable option for something with more typing and language guarantees, as well as on average having a bit better performance than some of the highly dynamic languages (at the expense of iteration speed early on in development).

That said, Go is probably also worth a look, the deployment situation there is way simpler.

Re:Ask HN: If you were to build a web app today what tech st... by threatofrain on Sunday October 29, 2023 @01:38PM (#38060827)
Astro is the PHP of JavaScript and it’s quite lovely.
Re:Ask HN: If you were to build a web app today what tech st... by mooreds on Sunday October 29, 2023 @11:48PM (#38065472)
> Developers for it are plentiful.

It's been a hot minute since I was looking for PHP developers, but when I did, I saw a ton of folks with Wordpress experience. And not many others who had experience with traditional three tier applications, how to write a database query, separation of concerns and general software development.

Maybe I was looking in the wrong places.

Do you find that software engineers who work in PHP are prevalent?

Re:Ask HN: If you were to build a web app today what tech st... by mooreds on Saturday November 11, 2023 @09:41AM (#38230662)
I recently attended Longhorn PHP and found plenty of PHP software engineers (in the true sense of that word) so maybe I was looking in the wrong places previously?

https://longhornphp.com/