Last Sunday, I announced that Conor and myself were starting a new file manager called SaorFM.
We started out slow, because we want to have absolutely everything in this to be checked by PHPUnit (for console-style testing) or Selenium (for GUI testing).
We’ve got enough written that you can do the following:
- Write and save a config file.
- Rename/Move files.
- Delete files/directories.
- List the contents of a directory.
All of the above have automated tests, so we’re fairly sure they’re correct. The main class’s source is readable here, and the test’s source is readable here.
Conor is currently adding support for SaorFM into his own CMS, Furasta. I’ll be working on adding it to my own tomorrow (got relatives coming over today – busy busy!).
We need to add some more functionality to make this basically complete:
- Move directories.
- Upload files.
After that, things get interesting, as we’ll be adding a plugin architecture.
Tomorrow, I’ll be finishing up the basics, and will write some simple jQuery plugins to select files, select directories, upload files, etc.
Soon, we’ll be catching up on KFM in functionality ;-).