YoVDO

All about Uploading Files in Symfony

Offered By: SymfonyCasts

Tags

Symfony Courses Web Development Courses AJAX Courses File Management Courses Cloud Storage Courses

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

Introduction to Computing 计算概论A
Peking University via Coursera
数据结构与算法 Data Structures and Algorithms
Peking University via Coursera
Introduction to Ableton Live
Berklee College of Music via Coursera
iOS Persistence and Core Data
Udacity
计算机操作系统
Nanjing University via Coursera