docs/docs/en/plugin-development/server/index.md
NocoBase server-side plugins can do many things: define data tables, write custom APIs, manage permissions, listen to events, register scheduled tasks, and even extend CLI commands. All these capabilities are organized through a unified Plugin class.
| I want to... | Where to look |
|---|---|
Understand the plugin class lifecycle and app members | Plugin |
| Perform CRUD and transaction management on the database | Database |
| Define or extend data tables with code | Collections |
| Migrate data during plugin upgrades | Migration |
| Manage multiple data sources | DataSourceManager |
| Register custom APIs and resource operations | ResourceManager |
| Configure API permissions | ACL |
| Add request/response interceptors or middleware | Context and Middleware |
| Listen to application or database events | Event |
| Use cache to improve performance | Cache |
| Register scheduled tasks | CronJobManager |
| Support multiple languages | I18n |
| Customize log output | Logger |
| Extend CLI commands | Command |
| Write test cases | Test |
app object