FileSystem Package

January 18, 2008 – 5:46 pm

This package provides functionality to manipulate files on the server. This includes type and size validation, uploading, image resizing, MP3 - ID3 tag parsing, etc..

The need for this package really came up around the third time I had to accept file uploads from a site… first, there is a lot of steps you have to take that the file is actually there and valid (depending on varying criteria), and then I could never remember the proper syntax for moving files. This doesn’t even include validating target destinations and creating directories.. Pretty annoying!

So as you can see, plenty of opportunity for encapsulation. Enter the FileSystem Package…

(more…)


Filed under: Packages — Tags: , , , , , — by Richtermeister

Powered by WordPress