-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New package for inclusion - vsivsi:file-collection #33
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Thanks for reopening it. This Package has been installed almost 12.000 times. It is the only package that allows using gridFS for file storage (pictures and movies) in an easy and secure way after the demise of the complex fs:collection. The alternative https://github.com/VeliovGroup/Meteor-Files is not as an elegant solution for grids as this one is. It is so popular that It has already been forked many times to replace the older coffescript dependency, like done here https://github.com/brucejo75/meteor-file-collection and here with an non-coffee version https://github.com/swiftcourt/meteor-file-collection . The other problem is its incompatibility with SSL mongo servers, which is an impediment for using Mongo Atlas, for instance, as detailed here https://forums.meteor.com/t/issues-migrating-from-mlab-to-atlas/54206 that were supposedly solved here https://github.com/sakeena12/meteor-file-collection . |
Just glancing, @sakeena12's https://github.com/sakeena12/meteor-file-collection does look like a good starting point, incorporating @brucejo75's CoffeeScript upgrade and |
Hi @edemaine, I don't feel I have enough knowledge to take on this task, specially regarding CoffeeScript. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi @edmaine, For basic Mongo file storage I don't recommend this package. I ended up switching to a more modern technique simply using -Bruce |
How have you done it? Have you got any code example that I could reuse and also replace |
HI @juliomac, Here is a summary. Client Side
Server Side
Summary of main parts
|
Great! I will try that! |
Hi @brucejo75 , I am trying this in practice, but you are suggesting using Express framework inside Meteor framework just for the process of REST? Could we just use Meteor's own REST processing |
BackgroundHere is how I think of the Meteor Server:
This enables some interesting things like
|
Meteor's webapp package ought to suffice. That's what vsivsi:file-collection uses, and I've also used it for other file access in other projects. I personally would not use Meteor and Express together. I'd rather have a project that's easy to install with minimal dependencies, and Meteor should support everything you need out of the box. (I could see switching wholesale to Express, but I wouldn't.) But maybe that's just me... Anyway, this thread doesn't seem like the place to discuss, unless @brucejo75 is suggesting that vsivsi:file-collection should not be added to Meteor Community Packages? For what it's worth, I still use vsivsi:file-collection everyday in a major project, and am still willing to help maintain it. |
Thanks @edmaine,
Note: I wouldn't be too afraid to install NPM packages directly. You can see that Even though you are using "Meteor" packages they can pull in npm dependencies. |
@brucejo75 I'm not afraid to install NPM packages. But I don't want to run two Node.js server processes (Meteor and Express) for a single project. Unless there's some integration that lets Express apply its hooks from within Meteor (via What is the extra overhead of vsivsi:file-collection? The Files subscription? In my application, I do routinely upload and download 1-100MB files. And you are welcome to your opinion about CoffeeScript, but it's still my preferred language for all projects, so that's actually a positive for me. |
Hi @edmaine, Oh, you don't need 2 servers. Simply If you look closely at Summary: At its core a Meteor server is simply a node server. And this is a great thing about Meteor, you do not have to use it at all if you choose not to. Very flexible. It all works together in one server. Benefits without vsivsi:file-collectionWhen I removed
3 big wins. Sorry for the |
Interesting... I would think adding an entire framework like |
Good thought. But the problem is that And look at all the other packages that And interestingly, With Why not just use 1 copy of express? |
@brucejo75 , thanks for the great analysis on this package. I would never know that it was using I think you have put out the last argument against the package. I would definitely follow your advice. If I succeed, I will post here my experiences with the suggested path. Thanks! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Package/project name & description
file-collection enables arbitrary-size binary file support using MongoDB gridFS, so users can easily upload/download files in a Meteor system, keeping everything in the MongoDB.
Major features from the README:
Links
Current status of the project
Reasoning
Storing all files in MongoDB makes it particularly easy to backup the state of a Meteor project: just backup the database.
I use the package in my Coauthor system, so it's important to me. I'm willing to maintain it for now, at least trying to review PRs and I have some (slow) plans to improve some functionality. This has been discussed some on vsivsi/meteor-file-collection#172, with support from the original author, @vsivsi.
Progress
communitypackages
org added as a maintainer on AtmosphereRelated projects
The text was updated successfully, but these errors were encountered: