vsivsi / meteor-file-collection

Extends Meteor Collections to handle file data using MongoDB gridFS.
http://atmospherejs.com/vsivsi/file-collection
Other
159 stars 37 forks source link

Some suggestions #117

Open mzygmunt opened 8 years ago

mzygmunt commented 8 years ago

Hello, It is some suggestions for development in the future:

Thank you for your hard work on this package!

vsivsi commented 8 years ago

Hi, thanks for the suggestions. These are the types of things that CollectionFS does for you, and file-collection intentionally leaves for the developer to implement. That is by design. I abandoned CollectionFS and wrote file-collection almost entirely because CollectionFS's "kitchen sink" philosophy of adding every requested feature made the system large and difficult to maintain and understand.

CollectionFS is no longer maintained, largely for that reason, I suspect. I'm scoring +1 for the file-collection's simpler "do less but do it better" philosophy on that account. I'm not likely to change that going forward.

vsivsi commented 8 years ago

To briefly add: The first 2 suggestions can be implemented via appropriate allow/deny rules.

The 3rd suggestion can be accomplished by instantiating your own resumable.js instances. See for example: https://github.com/vsivsi/meteor-file-collection/issues/71

In future releases, my goal is to minimize the direct ties between resumable.js and file-collection: https://github.com/vsivsi/meteor-file-collection/pull/107