12 ms·
This is so overengineered. Just a simple web hosting and php script will do it
by ulrischa 3y ago
This is so overengineered. Just a simple web hosting and php script will do it
- ocdtrekkie 3y agoI 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.
- megadal 3y agoYeah but this is using 3 different backend services just to automate self hosted forms. Pretty sure you can do this without 3 different services.
- ocdtrekkie 3y agoThat's entirely fair. I don't think I'd end up using the same setup as the author, but it definitely planted some ideas.
- cchance 3y agoI 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
- megadal 3y agoMaybe 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.
- CoolCold 3y agoThe author clearly states he is not dev/sysadmin and just playing around for hobby - I think it's totally fine.
- bdcravens 3y agoEverything you're describing could still be done in PHP (or another language)
- ecoqba 3y agoYeah, but nowadays with GPT new forms can be generated fairly quickly.
- cess11 3y agoWhy? 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.