Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm about to integrate Amazon Simple Storage Service (S3) with a php web application that must maintain a lot of office documents and photoshop files.
Can anyone point me to a brief tutorial on how to do this? There's "too much" documentation on the Amazon website for me to wade through. I learn best by studying and tinkering with code that actually works.
If you're using Zend, the S3 section has a great tutorial.
http://framework.zend.com/manual/en/zend.service.amazon.s3.html
If not, but don't want to roll your own code, try this:
http://undesigned.org.za/2007/10/22/amazon-s3-php-class
The basics are pretty ... basic:
$s3 = new S3('accessKey', 'secretKey');
$s3->putBucket('bucket', S3::ACL_PUBLIC_READ);
$s3->putObjectFile('file.doc', 'bucket', 'docs/file.doc', S3::ACL_PUBLIC_READ);
$s3->deleteObject('bucket', 'docs/file.doc');
Or this:
https://github.com/tpyo/amazon-s3-php-class
Which is a great library - I've used it. I prefer it to Zend S3.
I would use the official SDK for php from Amazon.
Start with the Getting Started Guide, and then consult the full library docs as needed.
If you are new to S3, the general getting started guide should be useful in giving a general overview of how the service works.
This very nice tutorial comes with an added bonus; it links to an already-written library, so you won't have to write all the code yourself.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Is there a PHP library from Amazon using their new Amazon SP-API? I found this one: https://github.com/clousale/amazon-sp-api-php but it just looks like a dummy.
Thanks for your help!
Not yet for the time being. You can generate a library with swagger using the model files. You will get the same result as Clousale. However, if you can't handle it, you can build the library yourself by looking at the documentation.
Blog entry to explain SP-API and the current status
Selling Partnership Documentation
Selling Partnership Model-files
There are more links on how to authorize yourself in the API:
Selling Partnership Authorization (AWS Signature V4)
With this information you can already build the whole library in PHP. I did not need more information myself.
You will probably get to the same point as me where you will find that uploading encrypted files does not work that way. Currently several people have this problem (see issue in github). If I still get the problem solved, I would write a manual and make my PHP library available.
--->EDIT<---
Now I have found out how documents are encrypted and uploaded. A short manual and PHP code can be found here (selling-partner-api-docs/issues/97).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I just started a project in a company, they had it hosted on Google App Engine and the app was developed in Java. The thing is that this code was totally unreadable. So I've came to the conclusion that the best solution would be start it all over.
Because it is a Facebook App, one approach would be to stop using Java and start using their available PHP SDK. But, Google App Engine still doesn't work well with PHP, we can't install Frameworks like Yii without workarounds, etc.
So I think the best solution would be change the place that we are hosting the application. It needs to be a host for scalable PHP applications.
I've researched a little bit and found people talking about Pagoda and appfog.
Do you have any suggestions? What is the best solution considering: price, efficiency and also it needs to be easy to use. I don't have a lot of experiences managing servers, I usually have someone on the company that takes care of all of that for me.
My best advice would be to choose a standard Cloud provider like DigitalOcean, VPS.net or AWS. You get full access to the server to configure and install anything you like, and they often come with pre-built server images with PHP/MySQL/Apache already configured and ready to use.
Heroku has PHP support to https://devcenter.heroku.com/articles/getting-started-with-php and it's ideal for FB apps https://devcenter.heroku.com/articles/facebook
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I want to use the Google Calendar API php client library, it seems to work for the basic example available but I can't find any documentation/class-list/methods/api-explanation anywhere.
Are there anything available at all or do I have to dig the source file?
Google Apps API client: https://developers.google.com/google-apps/calendar/setup
Calendar V3 API documentation: https://developers.google.com/google-apps/calendar/v3/reference/
Examples: https://developers.google.com/google-apps/calendar/recurringevents
Is that what you expected?
Google's documentation seems to be outdated...
For the best chance you should head over to http://amazewebs.com
AmazeWebs has more than enough information to help you understand and write your own Google API Calendar Scripts. Using PHP and following the demonstration videos; you can have a script 'up and running' in minutes! ...including example scripts, instructional videos, PDF help guides (common debugging), 1-to-1 support etc...
See the demo of a simple script: http://amazewebs.com/demo
Download a working copy of the API Client Library v3 here: http://amazewebs.com/downloads/google-api.zip
See the demo in action here: https://www.youtube.com/watch?v=x6aurr7TDMI
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Does PHP have any classes to receive email? Do you know of any good resources about this?
Try php-imap library. It's very popular and stable.
I had this question too and I wanted to get emails in real time so I worked out my own solution with google app engine. I basically made a small dedicated google app engine app to receive and POST emails to my main site.
You can check out Emailization (a little weekend project I did to do it for you), or you this small GAE app that should do the trick.
I kinda explained it more on another question.
Hope that helps!
If you want to receive e-mail in real-time(COOL? but have to use .appspot domain. You could off course also forward it to the .appspot domain) I would advise you to have a look at google app engine which is free to use(generous quota). You could forward the email it your webserver using asynchronous request which in turn let's you do all the cool stuf you would like it to do in PHP.
Python is pretty easy to learn especially after watching this video from Brett Slatkin explaining how to "Developing and deploying an application on Google App Engine" and the snippets in the google app engine documentation should get you started in no time.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
we have developed e-learning web site for one of our customer.
recently he asked he need SCORM feed.
i dornt know whether my system is compatible with scrom.
do any body know any opensource php tool or lib to generate scrom from existing data.
thanks
The first thing you need to determine is whether your site would be considered a learning management system or a piece of content. The SCORM implementation varies considerably based of what you are trying to develop. Check out http://www.scorm.com/scorm-explained/ for a good explanation of SCORM and how it works.
I have tried Chamilo 1.9.6 and works well with SCORM 1.2 and 2004. This was used as evaluation tool (test) with up to 90 questions.
Have a look at Moodle project - SCORM module: http://docs.moodle.org/20/en/SCORM_module It's open source, but I do not know, it the SCORM related code is easy to use outside Moodle.
www.dokeos.com comes with open source edition containing SCORM module.
Or try Chamilo, it is maybe better fork of dokeos.
Drupal has a limited support for SCORM, too.
Good reputation has eFront.
Ilias is certified for SCORM 2004.
TinyLMS is interesting project - JavaScript only.
Also get idea from http://www.vsscorm.net/run-time-environment-rte/run-time-environment-downloads/
Don't forget Chamilo!! http://www.chamilo.org
You can try a demo at http://campus.chamilo.org
Chamilo supports SCORM is also a claroline/dokeos fork