News for hackers. Stuff that matters.
Re:Craigslist Is Ugly, Janky, Old School, and Unbeatable by flukus on Wednesday February 15, 2017 @02:29AM (#13650361)
Well you just made me feel old. For put/patch/delete you can just as easily wire different options to different URL's. We had URL's like /Foo/Delete?43. It may be awkward in a particular framework but it's about as simple as things get.

I've always hated put/patch/delete because it tends to result in data centric UI's instead of workflow centric ones.

Re:Craigslist Is Ugly, Janky, Old School, and Unbeatable by GoodbyeEarl on Wednesday February 15, 2017 @05:43PM (#13656119)
Here it is https://github.com/viniciusCamargo/express-crud-barebone here is my try on this approach to server requests. Any suggestion would be welcome! :)
Re:Craigslist Is Ugly, Janky, Old School, and Unbeatable by GoodbyeEarl on Wednesday February 15, 2017 @08:27AM (#13651815)
Hmm now that you mentioned I realized I've seen this pattern before but I've never given it a thought. I'll definitely try it sometime, it seems to work pretty well. BTW sorry for make you feel old, it was not my intention haha