News for hackers. Stuff that matters.
Re:Mistakes Beginners Make When Working with Databases by olavgg on Wednesday June 08, 2016 @02:03PM (#11864184)
Actually in some cases you want your application to touch that blob, especially if want to automatically generate thumbnails and have aggressive/best effort compression on that image. It is the best way to do something about users that uploads a 10MB image that is uncompressed :-)
Re:Mistakes Beginners Make When Working with Databases by ryanbrunner on Wednesday June 08, 2016 @02:44PM (#11864540)
For sure - but you should ask yourself if you need to routinely deal with that blob, or just process it on the way in? If your upload functionality generates thumbnails and resizes images properly, you can isolate file handling to that section of the code and the rest of your app can just deal with nice, simple URLs.