To be documented.
In the meantime check out these great write-ups from @mcudev: https://mcudev.github.io.