
Learn to upload and play files from the cloud using Amazon S3 and CloudFront CDN.
Identify and set up essential development tools for PHP, including editors like PhpStorm or Sublime, composer, a version control system, and terminal commands for an object-oriented PHP course.
Create a basic php folder structure with app, public, and includes; organize css and javascript in public, and place header and footer in includes, then bootstrap via cdn.
Create a basic PHP project by building an index page and a blog page, split header and footer into includes, wire Bootstrap, and prepare an upload page for Amazon S3.
Create an html index with a table showing files and a bootstrap form for uploading files to the cloud using multipart/form-data, including download links and linked navigation.
Learn to install the aws sdk for php with composer, require the package, and access the vendor folder to work with s3 and cloudfront in the next steps.
Configure PHP to use Amazon S3 by creating a config file with your AWS keys, securing credentials, and autoloading the SDK for seamless access.
Configure secure API access by defining the latest version, selecting the correct region, and supplying the AWS key, secret, and bucket name for PHP file uploads to S3.
Instantiate the AWS S3 client from the SDK using a config array with version, region, and credentials (key and secret). Import the class and create the object.
Learn to upload files from a form to a local directory, then hash and rename them for cloud storage. Prepare for uploading to Amazon S3 and CloudFront.
Upload files to the cloud with a PHP S3 client by configuring the bucket and key, opening the file body from a temp path, and setting public read access.
Learn to upload files to an S3 bucket, automatically create missing folders, and verify uploads by inspecting the bucket directory, while debugging permission errors with try-catch blocks and updated policies.
Display files stored in an s3 bucket by listing objects, iterating through them, and generating download links in php; clean object names and consider download logging.
Learn to download files from an Amazon S3 bucket with PHP by retrieving the object URL, using get object, and echoing dynamic file names for display and download.
Learn to generate time-bound S3 downloads by creating pre-signed requests for bucket objects, set expiration in days or seconds, and manage access permissions.
Set up a CloudFront distribution to serve content from your bucket with caching. Deliver from locations closer to the user and secure access with a bucket policy.
Learn to build a video page that streams from a CloudFront URL backed by an S3 bucket, including a video tag with a secure, time-limited source.
Configure CloudFront connections by updating the config with the distribution id and secure private key, plus the key pair id, and prepare to initialize in the next lecture.
Instantiate the CloudFront client with the SDK version and region, then define the object name, stream host, and expiration to generate a signed URL for the S3 object.
Upload a video to your CloudFront distribution and S3 bucket, configure expiration, and test with a short video. Retrieve the time stamp and set private keys and key pair IDs.
Learn how to upload files to Amazon S3 and deliver video content via CloudFront, streaming from edge servers worldwide, and adjust php.ini upload limits for large files.
Conclude the PHP course by thanking students, inviting feedback and five-star reviews, and guiding them to explore other courses in JavaScript, object oriented programming, and Python on the instructor's profile.
Learn to implement a file upload progress bar using bootstrap and jQuery, wiring in CDN hosted scripts, preventing default form submission, and updating the progress dynamically as the file uploads.
Set up an ajax post request to submit a form, send form data to the server, handle success callbacks, and log results to console during the upload workflow.
Set up the request object and attach a progress listener to monitor upload progress, converting loaded and total bytes into a percentage with a Math.round calculation.
Update the progress bar in real time with JavaScript by selecting the progress element, updating its width to a percentage, and displaying the percent value.
Apply best practices for progress events by checking a length property and a boolean flag before executing code, read the documentation, and organize the logic in a separate JavaScript file.
This is a small course focus on uploading files to the cloud in this case Amazon S3 which stands for Amazon Simple Storage Service. The great thing about S3 is that is very cheap and very scaleable.
Wether you are building a blog, video or photo application as your application gets bigger you might need to start saving your data somewhere else rather than in your server.
Hosting your videos and photos with S3 can really improve your application speed, hosting prices and even your SEO results.
This course focuses on Amazon S3 but after you learn how to do it wth S3 you will find easier to do it with other cloud space providers.