Snap! Websites
An Open Source CMS System in C++
Files that get uploaded to the server are all assigned a MIME type. This includes all the files that come with a plugin or a layout.
This plugin handles hundred of MIME types. It includes icons to dislpay for a given type. It knows the name and equivalents of many types.
This includes the ability to determine the MIME type on the client side (through JavaScript.)
Snap! Websites
An Open Source CMS System in C++