I know a reasonable amount about SQL database structure and enough about PHP to put together a crude solution to my problem, which could of course be built upon later, but I'm appealing to any coders who frequent GH for your thoughts on how to approach this.
The "problem" I am trying to solve: the lack of simple yet powerful methods to 100% electronically store: vehicle service records, upcoming maintenance schedule, fuel economy and odometer logs, photos associated with service records, and receipts associated with service records.
There's a catch: ideally the solution will be accessible from anywhere, e.g. web-based, stored on hosting that is within my control (not an online service to store the info, but rather my OWN service that is hosted wherever I see fit and can be picked up and moved if need be).
The system should have no real limitation to number of vehicles supported (would be a lifetime system, to store old records indefinitely). Photos and receipts should remain in the format that they were originally, and be stored in a directory structure alongside the database to allow access from outside of the system (e.g. PHP Gallery accessing same photos).
I started writing out tables and I do think I can come up with something, but problems I run into involve the storage of photos and receipts. If I am going to be storing what basically amounts to a hyperlink to a given image or receipt in a field, then I am limited to the number of fields for the number of photos or receipts that can be associated with a given maintenance item. For example, when I replaced my lower intake manifold gaskets, there were several photos taken throughout the process and receipts from at least two retailers. A simple oil change will have two receipts (I buy my filters in bulk from RockAuto, but the oil from a local store), and usually no photos with the possible exception of the odometer.
Aside from storing all associated files in an archive and then linking to said archive (one file, easy, solved), is there an easy way around the "number of files" dilemma? Since direct outside access to the files is preferred, this is not optimal, but disk space grows cheaper by the day so it's not the end of the world.
There are software programs that accomplish pretty much all that I want to do (notably, CARCare,
http://www.carcaresoftware.com/) except I'd have to use Remote Desktop to access the software away from home. This is itself not the end of the world either, but it means that "forever" I will need to have a Windows computer, and while I do not foresee that changing now, it could create an issue down the road if Windows 11 really irks me enough to change to *nix...
So, brainstorm? Any input is appreciated.