Documentation of Ampersand
Search…
RAP4
Introduction
Why Ampersand?
Tutorial
The language Ampersand
Running the Ampersand compiler
Architecture of an Ampersand Application
Backend framework
Hooks
Extensions
Deploying your Ampersand script
Reusing Available Modules
Exercises
Installing Ampersand
Modeling
Configuring your application
The Excel Importer
Plans
Research
Powered By
GitBook
Hooks
Hookpoint use the following naming convention:
camelCasing
start with
pre
or
post
to define if hooks are called before or after the following position
specify classname or file where hookpoint is positioned
specify functionname where hookpoint is positioned
optionally specify postion within function where hookpoint is positioned
Current list of hookpoints:
Hookpoint
Extensions that use it
postDatabaseReinstallDB
ExecEngine
postDatabaseUpdate
Mutation (experimental), Mqtt (experimental)
postDatabaseInsert
Mutation (experimental), Mqtt (experimental)
postDatabaseDelete
Mutation (experimental), Mqtt (experimental)
preDatabaseCloseTransaction
ExecEngine
​
postDatabaseCloseTransaction
postDatabaseAddAtomToConceptInsert
Mqtt (experimental)
​
postDatabaseAddAtomToConceptSkip
postDatabaseDeleteAtom
Mqtt (experimental)
​
postDatabaseStartTransaction
postDatabaseCommitTransaction
Mqtt (experimental)
​
postDatabaseRollbackTransaction
More hookpoints will be defined when needed.
Previous
Backend framework
Next
Extensions
Last modified
4yr ago
Export as PDF
Copy link