A few years ago I wrote a conference tutorial that discussed techniques for using flat text files as simple databases, including tricks for in-place modification, the Tie::File module, and advanced features of Berkeley DB.

I think it's a good class, but for some reason nobody much was ever interested in it, so I've decided to release it under a creative commons noncommercial license.

Class materials.

More details.

Share and enjoy!

  • Comment on "Lightweight Database Techniques" tutorial materials freed

Replies are listed 'Best First'.
Re: "Lightweight Database Techniques" tutorial materials freed
by tilly (Archbishop) on Aug 19, 2007 at 07:19 UTC
    Were you writing that today, a good addition would be DBM::Deep.
      Well, the CC license allows you to make derivative works based on my class, so please feel free to add a section and release the updated, improved version. I'll even send you the source code for the slides if you want.
Re: "Lightweight Database Techniques" tutorial materials freed
by aufflick (Deacon) on Jul 29, 2007 at 07:59 UTC
    Thanks Mark - really great! I've saved it away for next time I need a refresher on flat file techniques. (That binary search code will definitely come in handy some day).