Execute scripts on events

Possibility to call scripts on database events (e.g. onBeforeSave), for example to call external systems / webhooks.