![]() In between the meetings and designing the implementation, there were plenty of tutorials and discussion regarding the tools at our disposal. Those six questions were days of discussions with the stakeholders of the application. What kinds of files do I need to allow and what are the constraints on accepting them as valid attachments?.What do I do with the existing uploaded files?.Where should I cache files so they are stored cost-effectively while maintaining performance?.Do I need to create several versions of what the app uploads?.Do I offload uploading/receiving files from my application server entirely? (commonly called ‘direct uploads’).There are so many implementation details that change and require security hardening once an application starts accepting and manipulating files. Uploading files is one of those things that comes out of meetings as a trivial thing that can quickly become a sixteen legged octopus. My goal here is to save you an incredible amount of pain by telling you the story of how I approached production server ready uploads. I just spent way to long figuring this out. Happy users uploading files with Rails 5, Shrine, and Vue.js
0 Comments
Leave a Reply. |