24
top 8 comments
sorted by: hot top new old
[-] PokerChips@programming.dev 7 points 3 days ago* (last edited 3 days ago)

I'm looking into static generated sites again.. (never created one professionally), how do you handle forms without passing it off to third party?

I have interest in zola but wondering if anyone has hacked it to allow some backend manipulation. I know it kind of defeats the purpose but interested in some minimal backend use cases.

I guess you could pass off to something like backend(.) mysite(.)com

[-] wicked@programming.dev 12 points 3 days ago

You'd use a reverse proxy like nginx to route requests to the server you want to respond with.

[-] PokerChips@programming.dev 3 points 3 days ago* (last edited 3 days ago)

That makes some sense. Much easier than I thought.

[-] ICastFist@programming.dev 5 points 3 days ago

I might sound like a caveman stuck in 1995, but... Aren't forms just "send this info back to the server"? If your form points to an appropriate page you own (fill-the-form.php -> validate-form.php -> success.php), there's no 3rd party involved.

[-] Colloidal@programming.dev 5 points 3 days ago

Key word here being a static site.

[-] The_Decryptor@aussie.zone 2 points 2 days ago

Static sites with things like CGI "endpoints" were a thing back in the day. There's no need for URLs to have a 1:1 mapping to the filesystem, you can have a half static and half dynamic site if needed.

[-] Colloidal@programming.dev 2 points 2 days ago

Yeah, but then it's not static anymore. Your hosting options change, your threat model changes, it's a whole different game.

[-] codeinabox@programming.dev 1 points 2 days ago

I've been thinking about this, and I do think it's a great form of degradation. I would love to see more sites that are statically rendered, but under load dynamic features are removed.

this post was submitted on 29 Oct 2026
24 points (100.0% liked)

Web Development

5927 readers
6 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 3 years ago
MODERATORS