Well you’ve gone and done it now. You were so clever and used GridFS to store large files in MongoDB. It worked awesome, and you’ve had zero problems. But now you have a problem: Let’s say you want a hardcopy of those files — for reasons ranging from archiving, to migrating to a different database system. Well I have bad news for you, because if your files collection count is more than a few dozen, there is no convenient way to retrieve the actual files from that filesystem except rolling your own — or following the instructions here, that is.

Downloadable products in Magento are quite slick, but the way they are handled I have found to be not so. Faced with the prospect of creating many hundred product-file relationships, the admin interface works fine I’m sure a few times through, but it quickly becomes more than one can bear. The best programmer is a lazy programmer, and here are my notes on the process one would go through to associate them programmatically.

Dewdrop: Part Two

At work, we have been working on a plugin tool called Dewdrop. You can find more information on it at GitHub. This is the second in a series of high-level tutorials on Dewdrop plugin development for WordPress.

Dewdrop: Part One

At work, we have been working on a plugin tool called Dewdrop. You can find more information on it at GitHub. This is the first in a series of high-level tutorials on Dewdrop plugin development for WordPress.