All about Uploading Files in Symfony
Offered By: SymfonyCasts
Course Description
Overview
Need to upload some files in Symfony? Excellent! You've come to the right place!
These days, uploading files can be simple... or incredibly complex - with cloud storage, private files, thumbnailing, validation and so much more. So let's tackle... all of it!
- Understanding basic file uploading
- File uploads in a Symfony form
- File (and Image) validation
- Naming files (unique vs keeping the original name... or both?)
- Handling/moving uploaded files in an organized way
- Rendering links to the uploaded files
- Thumbnailing with LiipImagineBundle
- "Uploading" files in your data fixtures
- Flysystem: using a filesystem abstraction
- Uploading files but keeping them private
- Adding a download endpoint for "private" files
- Fancy AJAX uploading with Dropzone
- Storing files in the cloud (S3)
So get into the (Drop)zone and let us upload some serious knowledge to you in this... multipart(.../form-data) tutorial. Ok... better jokes are inside... I promise!
Syllabus
- Setting up with the Symfony Local Web Server
- Uploads, multipart/form-data & UploadedFile
- Where & How to Store the File
- Unique (but not Insane) Filenames
- File Upload Field in a Form
- Centralizing Upload Logic
- File Validation
- Upload Field Styling & Bootstrap
- URL to Public Assets
- The asset() Function & assets.context
- Thumbnailing with LiipImagineBundle
- Image Preview on the Form
- File Uploads & Data Fixtures
- Flysystem: Filesystem Abstraction
- Using the Filesystem
- Flysystem: Streaming & Defensive Coding
- Flysystem
Taught by
Ryan Weaver
Related Courses
Architecting Microsoft Azure SolutionsMicrosoft via edX Computing, Storage and Security with Google Cloud Platform
Google via Coursera Windows Server 2016: Azure for On-Premises Administrators
Microsoft via edX Microsoft Professional Orientation : Cloud Administration
Microsoft via edX IT Support: Troubleshooting Microsoft Office
Microsoft via edX