DBM Files
While I was on my trip I was reading about Perl and DBM files. Apparently in Perl you can bind a hash directly to a DBM file. This would make it really easy to work with large amounts of data. PHP has support for DBMs too, it's not nearly as clean, but it is pretty cool. Very simple way to store data locally. Much easier than SQL for small things.