CHAPTER 4Building a Simple Application Using Berkeley DB

The best way to get a feel for a new software product is to try it out by using it in a simple program. Since Berkeley DB is a developers' database, it's important that you get introduced to the API as quickly as possible.

In this chapter, I'll show you how to build a simple data store using Berkeley DB. This will allow you to become familiar with the main methods and terminology used in the Berkeley DB APIs. You'll learn about the Berkeley DB environment, which is one of the most important concepts for a Berkeley DB programmer to understand. Berkeley DB allows you to choose an access method for your application. I'll go over the various access methods available in Berkeley DB and explain ...

Get The Berkeley DB Book now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.