CMS that uses s3 for a data store? - php

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!

Related

How to handle user editable templates in a cloud stateless hosting environment?

I've been using since a few year now a home-made PHP CMS/ERP based on Symfony components for my clients. Every site using this framework is hosted on a "classic" linux hosting and I use git to deploy updates. Every site has a folder that stores html/css templates, images and downloadable files that the site admin can access to customize their site. This folder is git-ignored so my framework updates via git won't overwrite the site admin's changes.
I'm thinking about moving those sites in a cloud-based scalable environment like Heroku. As I understand it, this git-ignored folder would be reset every time I'd do git push to Heroku or for every new dyno created. How could I handle this without including this custom folder in the git repo ?
I've thought about storing HTML/CSS templates in the database, and copy them to the drive each time they are updated, after every git deployment or new instance creation. But that wouldn't solve the problem for images or downloadable files.
Instead of storing user-uploaded files locally, Heroku recommends putting them on an external service like Amazon S3.
You may want to use an existing library for this, e.g. KnpGaufretteBundle:
Easily use Gaufrette in your Symfony projects.
Gaufrette itself is "a PHP5 library that provides a filesystem abstraction layer". Amazon S3 is one of its supported backends.

How can I handle SCORM integration in web application? Or how can I integrate Moodle player in my webpage

I want to implement SCORM upload functionality and SCORM package play functionality in my web app which is in php so please suggest any solution for it.
I don't think Moodle is modular enough to extract what you want out of it directly, but you could learn from how they managed to do it. It may even be worth upgrading it to your architecture anyway.
uploading a zip
expanding on your server
reading the imsmanifest.xml to make the appropriate Table of contents
assigning
launching the content*
*Moodle runs the SCORM 1.2 API literally named "API" which has all the communication methods for the content to communicate data back to the LMS. You'd have to reverse engineer that as well which means managing the student attempt or CMI object on your server too. Extensive bit of work, but possible.

Updating static files on Amazon S3 from Zend application

we inherited Zend project, which hosts all static files (css, js, images, ..) on Amazon S3. Original programmer told me, that deployment is automated, but when I update new (for example) css file on server, on S3 is still old version.
Same guy linked me this article: http://www.labnol.org/internet/lower-amazon-s3-bill-improve-website-loading-time/5193/, where is section "Implement Caching for Amazon S3 Files". I added ?v param for my css file, but it didn't help.
I set permissions in Amazon S3 console for user "info" (I'm logged as info#domain.tld) to: Open/Download, View Permissions and Edit permissions for mentioned css file.
Is it possible, that Zend can update static files on Amazon S3, or it's bad info? I tried to search in Zend doc, but unsuccessfully.
Thank for help
Zend Framework does offer a component to connect and work with Amazon S3. check out Zend Framework S3
It dosen't matter what kind of file (object) it is, it can be updated.
If you can find it post some of the update code and maybe someone can troubleshoot it.

uploading to amazon S3 - kohana

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.

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