Getting started
You need experience with PHP and MySQL, a clear idea of the problem your plugin solves, and a test account. Request a test account through the developer enquiry form.
A plugin is a folder with a manifest file, a set of PHP files for its logic, and optional views for the pages it adds. [CONFIRM: final folder layout]
The plugin system
Plugins register for named events, such as when a record is saved or a page is shown. Your code runs at that moment, without changing the core product.
Each event passes a copy of the data it needs. Plugins cannot write to another plugin's records. [CONFIRM: event list for the first release]
Sample plugin
The sample plugin adds a single page and a form. It shows the manifest, one event handler and one database table. [CONFIRM: sample code publication date]
Review and publishing
Every plugin is reviewed for security, performance and clear behaviour before it is published. Reviews check permissions, data handling and the plugin's description.
When approved, your plugin appears in the goCraftee library and you set the price. You keep the revenue share set out in the partner terms. [CONFIRM: revenue share]
API access
Read and write app data from your own systems through the API. [CONFIRM: API availability, authentication method and rate limits]