Gem 一个新轮子

huobazi · 2014年12月15日 · 最后由 Rei 回复于 2014年12月15日 · 2407 次阅读
Refile is a modern file upload library for Ruby applications. It is simple, yet powerful. Refile is an attempt by CarrierWave's original author to fix the design mistakes and overengineering in CarrierWave.

https://github.com/elabs/refile

目测,一大波国内云的 refile backends 正在接近

其实我觉得各大云厂商搞一份自己的 Fog Provider 就 基本够用了,不用冒出那么多

upload_gem-aaa upload_gem-bbb upload_gem-ccc

http://fog.io/about/provider_documentation.html

我现在更偏向针对云储存定制写逻辑。例如 S3 直接上传,七牛的图片裁剪和多媒体支持,多后端的上传库考虑的情况太多反而有些不顺手。

需要 登录 后方可回复, 如果你还没有账号请 注册新账号