One of the challenges when working on any software system is working out the database design and structure of the code.
My son is making a car paperwork tracking database website allowing tracking of service history and so on. Not a bad idea.
I made the mistake of going a bit "meta" on him and saying "car" is "vehicle".
He now has "car" or "bike" as a setting and is working on changing scripts and database tables to change to vehicle and not "car".
At this stage it its a couple of tables and half a dozen cgi files, but even now is a lot of hassle. It really does stress the need to "step back" in anything you do and consider how meta it can get,
Hopefully he can launch this soon - it looks cool, and "Bikey McBikeface" already has a place as vehicle type "bicycle"...
Subscribe to:
Post Comments (Atom)
Fencing
Bit of fun... We usually put up some Christmas lights on the house - some fairy lights on the metal fencing at the front, but a pain as mean...
-
Broadband services are a wonderful innovation of our time, using multiple frequency bands (hence the name) to carry signals over wires (us...
-
For many years I used a small stand-alone air-conditioning unit in my study (the box room in the house) and I even had a hole in the wall fo...
-
It seems there is something of a standard test string for anti virus ( wikipedia has more on this). The idea is that systems that look fo...
Before he touches the code he should spend a couple of days deciding what what this thing will actually be. What problems is it trying to solve? Is it a car paperwork tracking database or a vehicle paperwork tracking database? Will it be further developed?
ReplyDeleteTreat it like a proper project, even if its small nature means the stages are compressed, it's a good mindset to get into early on. Then commit to the design and plan how to write and deploy it to the design specifications.
This helps to avoid situations like you describe where things are changing as you write.
Oh I know, but there is something to be said for trying out a concept as part of that decision process, some times :-) You have to be prepared to throw it away and start again with a proper design though.
DeleteSounds handy - I run a couple of spreadsheets to track my vehicles. Would he like a copy to analyse how I do it?
ReplyDeleteJames says it may help...
DeleteAnother thought (and maybe mission creep here) is that I use a site called Fuelly to track my MPG for each car also. May be interesting to combine the two as it tracks how much I spend on fuel as well as therefore the TCO for the vehicle.
Delete