Skip to content
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

File uploads are difficult and the documentation unclear #12205

Closed
EwanValentine opened this issue Oct 10, 2014 · 6 comments
Closed

File uploads are difficult and the documentation unclear #12205

EwanValentine opened this issue Oct 10, 2014 · 6 comments

Comments

@EwanValentine
Copy link

DX: I think a lot of work could be done in getting file uploads working. I'm a fairly experiences Symfony developer, and have been using it non-stop for over a year now. But one thing that has tripped me up a few times has been file uploads. It takes me ages to get working, I think it's a pretty popular part in any webapp, so there's a lot in that area I feel could be speeded up.

@jakzal
Copy link
Contributor

jakzal commented Oct 11, 2014

Any suggestions how we could improve the experience? What's hard about file uploads in particular?

@EwanValentine
Copy link
Author

Well I follow the guide in the cook books section, and it just always feels like a struggle to get working properly.

It would be awesome if it was part of the CRUD generator or something?

@jakzal
Copy link
Contributor

jakzal commented Oct 11, 2014

It would be better to discuss documentation improvments in the https://github.com/symfony/symfony-docs repo. If you just have implemented file uploads, you might have valuable suggestions on how to make the docs clearer.

I'm not using the CRUD generator myself, but a better place to discuss it is the https://github.com/sensiolabs/SensioGeneratorBundle repo.

Do you think there's anything to improve in Symfony components itself? In case of this repo I think we're mainly talking about the HttpFoundation, Form and Validation components.

@xabbuh
Copy link
Member

xabbuh commented Oct 11, 2014

@EwanValentine You're right that the documentation about file uploads is one of the worst parts of the documentation. If you have any concrete ideas about what should be described, we'll be happy to get any suggestions. You can have a look at symfony/symfony-docs#2346 for the issue. You can also have a look at symfony/symfony-docs#4018 for an attempt to improve the existing cookbook article.

@weaverryan
Copy link
Member

Certainly we need to improve the docs (they are terrible). And in doing so, this might help us identify some improvements that could potentially be made to the core. I think that would be great :).

@jakzal
Copy link
Contributor

jakzal commented Oct 17, 2014

Ok, let me close this issue, since there are several issues opened in the docs repo. If there are any ideas on how to improve the code, let's open new issues with specific actions.

@jakzal jakzal closed this as completed Oct 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants