Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is so overengineered. Just a simple web hosting and php script will do it


I write PHP forms for fun but there's a very valid point the default of this is extremely manual for every form you want to build. I really like the idea of at minimum using a database that creates tables and columns as needed for a form sent at it.

At the office we have less proficient users who want to make web forms, but self-hosting the data is important to us.


Why? If you need more than five forms, invent a small DSL that consumes something like a five column CSV (form element type, label, id, something, something) and craps out some PHP and SQL for you. Maybe make the layout boilerplate configurable through a bit of simple templating.


Yeah but this is using 3 different backend services just to automate self hosted forms.

Pretty sure you can do this without 3 different services.


That's entirely fair. I don't think I'd end up using the same setup as the author, but it definitely planted some ideas.


I mean one a db.. you’d want that regardless and the others the processor.. and ones the form… you’d need those 3 in some variety anyway and technically you could drop the db if you just want it dumped to email id imagine

This is literally a blog recommending to use n8n as your processor… that’s basically it lol he’s just adding ways that can be extended too like noco and metrics


Maybe the article should be titled "Self-hosting forms, the n8n way" then, because if I was working with a dev who did this I would definitely question their sanity.

But as an article about a cool way to utilize n8n, this is fair, and perhaps even elegant.


The author clearly states he is not dev/sysadmin and just playing around for hobby - I think it's totally fine.


Everything you're describing could still be done in PHP (or another language)


Yeah, but nowadays with GPT new forms can be generated fairly quickly.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: