Development talk:File API
From MoodleDocs
- File Storage API:
- abstract
- local pool implementation
- DB schema
- deletion, acls, metadata
- problem: empty directories, file overwriting
- File Manager API:
- unique class, able to handle one "file area"
- security
- js and non js implementations
- integration with editor
- integration with formslib
- integration with repos
- problem: zip support
- File Serving:
- from pool:
- file.php
- pluginfile.php
- userfile.php
- from pool:
- from other moddata places:
- rssfile.php
- user/pix.php
- user/pixgroup.php
- Migration:
- course files (as much as possible, allow fallback)
- moddata
- Backup & restore: