Zend Framework 101: Zend_Service_Amazon_S3
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.