We are working on a web application where every user will have 20-30 projects. A project can be an image project with about 200-300 images, or a video project with only one video, or a flash project (swf) with only one flash. Images will be resized and stored in 5 different formats (different resolutions).
At the very beginning all static files (images, videos, etc.) and a web server (apache + nginx) will be on the same machine. After 6 months we plan to move static files to a separate static file server.
Now the question is how to organize user files so we can easily work with it and won't have problems while moving static files to a new server in the future?
Any suggestions are greatly appreciated.
Thank you!
P.S. Every image/video/flash will have a record in the database with its file name and path.