sanjar-notes / frontend

The basics - HTML, CSS, Javascript, browser APIs, performance
3 stars 0 forks source link

File uploads (client side), to study #78

Open sanjarcode opened 1 year ago

sanjarcode commented 1 year ago

Study, prepare reusable snippets related to file uploads (web/browsers)

Basics

Also libraries/frameworks/resources for snippets

Advanced:

sanjarcode commented 1 year ago

Just a list of requirements, not the study plan

sanjarcode commented 1 year ago

A surprise in the browser File API. https://stackoverflow.com/a/42288675

I had a task which required the file type (MIME type) to be changed before upload - it felt very hard to do, turned out it's not trivially possible. Code: _volopay_privaterepo

https://en.wikipedia.org/wiki/Principle_of_least_astonishment :gun: :sweat:

sanjarcode commented 9 months ago

https://www.notion.so/sanjarcode/Web-API-File-Blob-preview-960ea157034346548f2123a8cca1a5e8?pvs=4

sanjarcode commented 9 months ago

Priority++, https://github.com/sanjar-notes/web_dev_fundamentals/issues/35

sanjarcode commented 2 months ago

https://jenkov.com/tutorials/html5/file-api.html

sanjarcode commented 2 months ago

MDN: Using FormData Objects, Sending and Receiving Binary Data