PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Zend Framework 101: Zend_Service_Amazon_S3

This article is part of the series “Zend Framework 101”. The Zend Framework 101 series covers many components that make up the Zend Framework in easy to understand articles.. Read more about Zend Framework 101...

Introduction

In this article I will introduce you to the Zend_Service_Amazon_S3 component of the Zend Framework. This component makes use of Amazon Web Services (AWS) to manage files on Amazon's Simple Storage Service (S3).

Firstly, I will tell you how to sign up with AWS, then I will introduce you to buckets and show you how to manage them. Next, I will show you how send files to your Amazon S3 bucket so you can use it as a Content Delivery Network (CDN) for your web site.

This article requires Zend Framework, downloadable from http://framework.zend.com. At time of writing, the current version of Zend Framework is 1.10.2.

I have written this article to share my own experiences implementing Amazon S3 into Recite CMS, my company's PHP 5 content management system. Recite CMS offers an "asset mirroring" add-on module which allows you automatically mirror files uploaded via the CMS. This is especially useful in conjunction with the web services functionality of Recite CMS.

In This Article



Bonus listings: 2 available