Skip to content

Have a component for file-uploading #966

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

Open
chinnichaitanya opened this issue May 12, 2015 · 6 comments
Open

Have a component for file-uploading #966

chinnichaitanya opened this issue May 12, 2015 · 6 comments
Milestone

Comments

@chinnichaitanya
Copy link

File Uploading is used in almost every app. So why not have a component for that ?

@vicky-gonsalves
Copy link

I don't think there is a need of component for file uploading. As we have large repository of plugins for file uploading on bower/npm.. Also its user dependent, so each one can have their own taste.

@Awk34
Copy link
Member

Awk34 commented Jun 16, 2015

There would need to be a lot of options, like GridFS, filesystem, SQL, maybe even cloud..

@chinnichaitanya
Copy link
Author

I think GridFS is promising. For storing in filesystem, we need to take care some security measures like first storing it in a temp folder and then storing it in actual folder.

@kingcody
Copy link
Member

@chinnichaitanya do you have a proposal or PR that you would like to offer?

In my personal opinion this seems a little bit out of the scope of the generator, also as @vicky-gonsalves mentioned there are so many plugins/methods that could be used to implement it; I don't feel that it would be easy to satisfy and support a majority of the users.

Another idea might be to include a file uploading component via a sub-generator. @chinnichaitanya is that something you have expirence with by chance?

@Awk34
Copy link
Member

Awk34 commented Jul 15, 2015

@kingcody I've got some ideas for how it would be implemented. I'll PM you.

@Awk34 Awk34 modified the milestones: 2.2.0, 2.3.0 Jul 15, 2015
@chinnichaitanya
Copy link
Author

@kingcody As of now, I don't have any PR to offer.
What I meant is having multiple options i.e, asking if the user wants uploading through GridFS or filesystem similar to asking whether we want authentication using google or facebook or twitter etc.

And I didn't understand what does a sub-generator means. Can you explain me what it is ?

@Awk34 Thanks for adding it to the 2.3.0 milestone.

@Awk34 Awk34 modified the milestones: Later, Soon May 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants