Raven allows you to use triggers to add custom behavior for the database. Those triggers are wired together using MEF, by default, Raven will search for triggers in a directory called Plugins under the application base directory.

Raven supports the following triggers:

While not precisely a trigger, the document codec does fall into the same category:

Figure 1: Triggers

This allows you to control the actual byte storage format on the disk. This is useful if you want to encrypt the data on the disk.