This past week, I started to about “better” ways of handling crud operations. A lot of what I do as a developer is to allow the user to input a collection of things and then output that list of things on the page. I’ve used ORM to speed this up but can you go further? I think I have an idea for speeding up the CRUD side of things (at least). I was thinking that you could have a template set of functions (for text inputs, date inputs, text areas, etc). You could instantiate them, using desired attributes (like range, data type, etc) and put them into an array of a struct or something. That could be what is used as the template for the CRUD. I am just kinda curious how far you could take something like that and how flexible it would be. I would want to make sure it would be flexible, secure, and efficient but I would also want to make sure that it would require less effort than traditional methods. I’m not sure if that is a feasible goal or not.
Useful and/or interesting stuff I found this week: