I have been using Yii for a few months. I am working on a mid-size project that handles users, groups and some interaction between users (By example, users can make proposals in their groups, other users can comment on proposals, there are group moderators/administrators, and so on)
I am about to start a part of my project that involves managing user files. Basically I will handle 2 kind of files: images and pdfs. Images will be grouped in galleries, each having a name and description. Only the group administrators can create galleries (no restriction on the number of galleries) and upload files. Other users can see the pictures and files of their group only.
As I said, I have been working with Yii for some months, but I can't find clear information on user files management. I have a few questions:
What directory should I use to store files? Is there some kind of standard for this?
What facilities are provided by Yii for file management?
Hope you can give me ideas. Thanks in advance
EDIT: simplified the number of questions :)
For File management, yii have some extensions. This may be helpful for you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.