As a programmer, one of the biggest things I struggle with while making plugins is saving data to the disk. For me, I often get all caught up in the structure and design of my classes or I'll get tripped up by having to implement connection pools, validation, etc, etc... Long story short, saving data has ALWAYS been a headache for me. More often than not people will recommend that I use an external library to handle this kind of stuff. But from my perspective this behavior doesn't teach me anything. So, What is the best, most elegant, design patten for saving plugin data to databases and flat files? What is the best way to think about saving data? Thank you!