MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

Working with Files and the File API Standard

Course Summary

Learn how to wrangle files in Drupal 7. We cover the most critical aspects of the File API including uploads and privacy


  • +

    Course Syllabus

    • How to Work With Files and the File API
      • What this video covers and a demo of our node-free image gallery module
      • What the difference is between a URI and a URL
      • What stream wrappers are and how they work
      • How the private file system works
      • How file and folder permissions work, and best practices
      • How to set up PHP to properly handle file uploading
      • How to create a simple form with an unmanaged file input
      • How to use a form validation function to validate a file
      • How to use hook_file_validate() to validate an uploaded file
      • How to use core file validation functions and define your own validator
    • How to Work With Files and the File API, Part 2
      • How to process an unmanaged file and recursively create a directory
      • How to use file_unmanaged_copy() to move a file to a permanent location
      • How to loop through a file directory and create a URL from a URI
      • How to delete an unmanaged file
      • How to recursively delete all unmanaged files in a directory
      • How to use the private file system with unmanaged files
      • How private files are delivered and how to troubleshoot private file issues
      • How to add a managed file input to a form
      • How to validate a managed file, prevent it from being deleted and add a usage marker
      • How to use the EntityFieldQuery class to match certain criteria and display the results
      • How to delete managed files
      • How to work with private managed files
      • How to configure and use X-Sendfile to improve private file performance
      • A quick look at the code behind stream wrappers
    • Resource Pack
      • Example Code Resource Pack


Course Fee:
USD 39

Course Type:

Self-Study

Course Status:

Active

Workload:

1 - 4 hours / week

This course is listed under Open Source , Development & Implementations and Networks & IT Infrastructure Community

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top