uploading to amazon S3 - kohana - php

Im building an app using kohana. I need to be able to upload files directly to S3. Can you advise on a S3 helper for kohana?
Thanks

Someone wrote a module for Kohana using the AWS PHP SDK.
You can find it here : https://github.com/jylinman/kohana-aws

I would highly recommend using the AWS PHP SDK.
It is not specific to kohana and will work on any platform.
It is really easy to use, especially with S3.
There is minimal setup, and it is really well documented.

Related

Function changes in the new sdk aka aws adk 2.0 for PHP

I am working on the integration of a jquery uploader plugin with aws s3.I found a example for it on the community wiki .Now the example is written in the old sdk and I no more find those functions in the latest one.I tried to search for a list of comparison(as to which replaced which) but didn't find any.
I want to port the code to the new SDK as the Amazon guide itself says that they would be gradually moving towards using the new one.I would like to know if there's any list which comapares the two sdk's in terms of functions.
I am looking for these functions specifically get_object_filesize,get_object_list,create_object delete_object.
These are present in the plugin code which I need to change.
Also the plugin involves a lot of dependency(If I include one class I have to include an extended one or else each time). I want to reduce the dependency for the S3 class.Can anyone help me out with this?
Thank you
Yeah, anything new should use the 2.x version of the SDK.
These links should help:
Migrating from SDK1 to SDK2
Amazon S3 User Guide (SDK2)
listObjects()
getObject()
putObject()
deleteObject()

CMS that uses s3 for a data store?

I was wondering if anyone had any suggestions about a DAM (Digital Asset Manager) that uses S3 as a data store? I would like the following features:
Asset stored in S3 (or some other cloud storage)
The ability to 'tag' the assets
Use a CDN (such as Cloudfront or Akamai) to deliver the assets
This can be a solution in any language, but PHP/Ruby on Rails are preferred if it is a web based solution. I understand rolling my own with Paperclip/CarrierWave and acts-as-taggable-on, but I am looking for some input!
Thanks!
EDIT: I want to change the requirements. I am not looking for a CMS, I am looking for a DAM (Digital Asset Manager). Thanks!
I recomment Wordpress with an S3 plugin.
Locomotive CMS does use S3. Can be deployed on Heroku with a mongo DB.
edit: Refinery CMS too!

Amazon API Class

Out of all the Amazon affiliate PHP classes, could anyone share their experiences or recommend a particular one?
I have used php-aws several times ( http://code.google.com/p/php-aws/ ) and it's pretty solid, I've only used it for Amazon S3 Mind you, but I'm sure the other functionality is solid too.
I found that the zend framework has good amazon library which is enough for me (S3, EC2) - http://framework.zend.com/manual/en/zend.service.amazon.html

YouTube API + PHP + site hosting?

I have made a site which can pull and upload videos from and to YouTube,
http://www.tole-rants.com/
This site was made with the combination of Python, Google App Engine and YouTube API. It is hosted at Google App Engine. I did not code the main structure of this application bcos I don't speak Python so I was made with a Python programmer. However, we found that this application has been causing lot of problems, especially on uploading videos.
Now I hope I can code the entire site myself with PHP - is it possible?
Another big question - do I have to host this site on Google's?? Can I just host this site on a normal/ standard server which I normally do when I develop a website?
I have read the documentation about YouTube API for developers, but I still cannot get my head around if I want to make this site from scratch with PHP.
It seems to suggest that using a PHP framework - Zend Framework, which I have no clues about it - do I really have to use a PHP framework then?
Any thoughts/ better suggestions or any online tutorials/ books I can follow through?
Many thanks,
Lau
No you dont have to host it on Google's. You can host it anywhere. And you don't need to use the Zend Framework. What they are suggesting is that you use the Zend framework's GData library to communicate with YouTube API. But you wouldnt even need that. YouTube Data API documentation is complete with examples. I am sure it will help you. But ofcourse if you have some specific questions you can ask them here.

S3 File Management Skeleton - PHP/MySQL

I am looking for a skeleton framework to manage files on S3 utilizing php/mysql. My hope is that someone has already created it and I can pull from it instead of building it all myself.
I am thinking something like dropbox.com
Anyone know of a open source solution that I can pull from?
Zend Framework offers very robust AWS components, including S3. http://framework.zend.com/manual/en/zend.service.amazon.s3.html

Categories