So, this past week, I spent a lot of time working on basic clean-up and security tightening. I was thinking, though about how to improve development of CRUD code.
I read a reddit post a few months ago, that talked about reddit having only two tables per thing. There is a thing table (holding common attributes) and a data table (holding ID, key, and value). I could see this as speeding up development of CRUD code. If all schemas are essentially the same, you would only need minor tweaks from CRUD app to CRUD app. It feels like a little bit of a deal with the devil, though.
I have always liked the thought of bottling up chunks of CRUD and calling them as methods of a crud class. You could have a date-picker method, a file upload method, a record list method, etc. I’m not sure if such a thing exists in the ColdFusion world. One of these days, I might need to pick it up as a task. That, along with use of ORM should make CRUD development reasonably easy and uniform.
Useful and/or interesting stuff I found this week:
Is It Worth the Time? [xkcd]
Microsoft Puts Free Portable WiFi In Forbes Magazine Print Issues
“Google’s Self-Driving Car gathers almost 1 GB per SECOND”
Eat This Much [Automated Meal Planner]
Super Mario Bros. Characters Reimagined as Hipsters
Community Supported Agriculture (CSA) in Milwaukee
$50, Starbucks-based application testing
Embed Photo Spheres on Your Website
Ghost: Just a Blogging Platform [kickstarter]
Tool for checking a vehicle’s VIN for free