Live data from Hacker News

Four ways to build web apps

tomhummel.com

71–80 of 181 posts

Re: Four ways to build web apps

#72
post #64

Earlier quoted context omitted.

It's not obvious but you can host an entire website or simple web app on AWS Lambda (as simple as a single function).

I host a full Web app on Lambda like so https://github.com/kaihendry/ltabus

Nice, I host a public chat app off lambda https://sqwok.im

Re: Four ways to build web apps

#73
Why recommend lock-in vendors when there are better options in between? There was no mention of Heroku which is easy and scalable.

Hugo is wonderful, until a deployment bug or misconfiguration exposes all of your server settings in a page that should be serving a 404 instead. Wordpress, Hugo and others also get constant attacks from hackers who can exploit each bug found on thousands of sites all at once.

Go has fantastic server examples and plenty of starter templates you can use to build your own server, and deploy to Heroku and scale to millions of users far cheaper in engineering and financial terms.

Re: Four ways to build web apps

#74
post #45

I guess the title should have been "Four Ways to Deploy Web Apps", not "build" them. Granted, option #2 (functions) is a different beast, but all others can be built the same way but deployed differently. For example - You can develop a static (Hugo) web site then deploy it on Fly.io using containers. or - You can develop a container based web site, then deploy it on a bare Linux server (k8s is not necessary for a fe…

Skip the containers and have it all be reproducible with Nix/Guix

Re: Four ways to build web apps

#75
post #23

Earlier quoted context omitted.

They may cut the extent of a free offering, but I suppose they won't drop it. An ability to make a quick proof of concept, to just try something and play with it, is very important for bringing in paying customers. People tend to buy with more confidence things they already know and comfortable with. People tend to pay for things that are widely known, with tons of examples and explanations online; free services gene…

That might be true but it really depends how many can convert. Recently Heroku dropped their free tier as well as Fly.io having a credit card only free trial in order to deter scammers.

I don't disagree with you, but I do think the economics of static sites are pretty different which may keep the free tiers around for longer. Even if it's "free for sites under 1MB", which would cover a lot of sites.

Re: Four ways to build web apps

#76
post #56
post #42

I agree with this, except I would take 3 out of the list.

3 is the most attractive option to me. I have a tiny localhost server I wrote, and have been looking for a simple way to deploy

Consider creating a tunnel with Cloudflare Argo (think more sophisticated ngrok). I just finished deploying a toy app from a local machine about 15 minutes ago.

Re: Four ways to build web apps

#77
post #73

Why recommend lock-in vendors when there are better options in between? There was no mention of Heroku which is easy and scalable. Hugo is wonderful, until a deployment bug or misconfiguration exposes all of your server settings in a page that should be serving a 404 instead. Wordpress, Hugo and others also get constant attacks from hackers who can exploit each bug found on thousands of sites all at once. Go has fant…

Heroku is on its knees

Re: Four ways to build web apps

#78

5th option: Webflow, airtable, whalesync. I could recreate one of his examples ( https://oldgames.win/ ) in 10-20 minutes off just a CSV file... And I could use something like https://simplescraper.io/ to scrape that data + find imagery.

Yea for like $100/m. Or instead you have a local db and use a static site generator to host for free.

Re: Four ways to build web apps

#79
post #22
post #18

Why not PHP on a shared or dedicated hosted server?

I wouldn't recommend PHP to anyone who isn't already invested/emerged in the language. Wordpress for blogs or websites on a shared host with automatic updates and a few select plugins? Yes. Laravel or Symphony for applications? Ok. But just PHP has way too many footguns and doesn't provide nearly enough affordances to make them worth it IMO. Plus it's a language that breaks backwards compatibility way too often, stop…

I'm sorry but this is a really ill informed comment, and nothing said here is actually true. You're going to need to spend some substantial time to back up what you've said.
Post reply on HN