News for hackers. Stuff that matters.
Re:Self-hosting forms, the sane way by ulrischa on Saturday April 27, 2024 @09:28AM (#40179813)
This is so overengineered. Just a simple web hosting and php script will do it
Re:Self-hosting forms, the sane way by ocdtrekkie on Saturday April 27, 2024 @09:37AM (#40179861)
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.

Re:Self-hosting forms, the sane way by megadal on Saturday April 27, 2024 @09:51AM (#40179956)
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.

Re:Self-hosting forms, the sane way by cchance on Saturday April 27, 2024 @11:57AM (#40180926)
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

Re:Self-hosting forms, the sane way by megadal on Saturday April 27, 2024 @12:37PM (#40181280)
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.

Re:Self-hosting forms, the sane way by CoolCold on Saturday April 27, 2024 @01:41PM (#40181893)
The author clearly states he is not dev/sysadmin and just playing around for hobby - I think it's totally fine.
Re:Self-hosting forms, the sane way by ocdtrekkie on Saturday April 27, 2024 @10:37AM (#40180280)
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.
Re:Self-hosting forms, the sane way by cess11 on Saturday April 27, 2024 @11:28AM (#40180723)
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.
Re:Self-hosting forms, the sane way by bdcravens on Saturday April 27, 2024 @10:09AM (#40180075)
Everything you're describing could still be done in PHP (or another language)
Re:Self-hosting forms, the sane way by ecoqba on Saturday April 27, 2024 @11:18AM (#40180628)
Yeah, but nowadays with GPT new forms can be generated fairly quickly.