Development talk:File API: Difference between revisions
From MoodleDocs
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
** unique class, able to handle one "file area" | ** unique class, able to handle one "file area" | ||
** security | ** security | ||
** js and non js implementations | ** js and non js implementations of FileManager | ||
** integration with editor | ** integration with editor | ||
** integration with formslib | ** integration with formslib | ||
Line 17: | Line 17: | ||
*** file.php | *** file.php | ||
*** pluginfile.php | *** pluginfile.php | ||
*** draftfile.php | |||
*** userfile.php | *** userfile.php | ||
* from other moddata places: | * from other moddata places: |
Revision as of 08:13, 16 July 2008
- 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 of FileManager
- integration with editor
- integration with formslib
- integration with repos
- problem: zip support
- File Serving:
- from pool:
- file.php
- pluginfile.php
- draftfile.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: