I want to say that I predicted the tutorial on file content management would have more hits than the tutorial on image content management. The file management has 303 views as of 8:17 and is climbing while the image one is only at a measly 28. But I am not sure why since I find image content management more useful and more likely to be used.
Without going to in depth, the file content is for managing any type of file while the image content is for managing files explicitly for images. The remaining tutorials on the cms will have the feature of adding associated files directly into the CMS when creating or updating the content. How does this work?
If you not familiar with the DEFINES, they are a set of constants in ProdigyView that create the file structure of the framework. There was a whole tutorial on them here. Now with the DEFINES, there are 4 of them for media: PV_FILE, PV_IMAGE, PV_AUDIO, PV_VIDEO. I tried to develop this as obviously as possible. All file content that is not related to an image, audio or video file should go in the file directory associated with PV_FILE. So your uploaded zip files go in there. All image related files (jpeg, png, gif, etc) should go in the directory associated with the PV_IMAGE.
Now when a file is uploaded directly into the cms, the cms will place that file accordingly with the defines. So PVContent::createImageContentWithFile method will take the image file, give it a unique name, and place in the PV_IMAGE folder. This takes away some development time needed for placing and associating images or any other file content. The file path is also relative, so if you ever change your server all file structure, your uploaded files will not be affected. Again, this is designed for quick and easy management of all types of content but should be tweaked when using in production. Tomorrow will be the tutorials for audio and video files.
File Content Management: http://www.prodigyview.com/tutorials/slideshare/399/113
Image Content Management: http://www.prodigyview.com/tutorials/slideshare/400/113