1 Star 2 Fork 1

hm-tools / hm-tools-CKFinder

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.75 KB
一键复制 编辑 原始数据 按行查看 历史
hm-tools 提交于 2019-04-01 13:19 . 更新 README.md

hm-tools-CKFinder

996.icu

介绍

软件架构

主要参照 spring cache、官方 ckfinder Java版的代码组织架构。

实现目标

参照CKFinder源码,其对文件的操作命令有:init、getfiles、getFlod 等,且每个指令都是一个单独的类。即,为方便功能扩展,要求有:

  1. 统一接收请求入口,即一个URL地址,命令以参数形式传输。
  2. 支持多种文件存储系统,如:本地磁盘文件、阿里云OSS、百度云OSS。
  3. 均统一至少支持如下指令:
  • Init: this is the first command issued by CKFinder. It returns the general settings of the connector and all configured resource types.
  • GetFolders: gets the list of the children folders of a folder.
  • GetFiles: similar to the above command, gets the list of the children files of a folder.
  • CreateFolder: creates a child folder.
  • RenameFolder: renames a folder.
  • DeleteFolder: deletes a folder.
  • RenameFile: renames a file.
  • DeleteFile: deletes a file.
  • CopyFiles copies files.
  • MoveFiles moves files.
  • FileUpload (non XML): adds a file in a folder.
  • QuickUpload (non XML): adds a file in a folder.
  • DownloadFile (non XML): downloads a file from the server.
  • Thumbnail (non XML): downloads the thumbnail of an image file.

启动流程图

boot flow

Java
1
https://gitee.com/hm-tools/hm-tools-CKFinder.git
git@gitee.com:hm-tools/hm-tools-CKFinder.git
hm-tools
hm-tools-CKFinder
hm-tools-CKFinder
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891