How to add the tarzan(aws tools) as a third party?
Rate Topic:

By far, it seems that yii has no any cloud compute tools or extensions integrated, but the related product is more and more popular, like amazon cloud aws.
so i want to integrate the popular aws tools tarzan into yii as a third party.
the following are the steps :
1.make a dir 'vendors' under the 'protected' folder
2.copy the tarzan folder(tarzan_2.0.5) into it
3.add these lines at the begining of a controller class file:
Yii::import('application.vendors.*');
require once('tarzan_2.0.5/tarzan.class.php');
{the tarzan documentation said: In your application (e.g. a specific PHP document), simply use require_once() (or require() or include_once() or include()) to add the tarzan.class.php file to your page. This will load the core Tarzan API.}

Hey bro, did you ever figure this one out? ...maybe it's just a Simple DB thing? Tarzaan wrappers for Yii sound like a great idea. If you've made some progress on this, you should make a Yii extension for Tarzaan.

This happen because yii try to include the class name by it file name (see YiiBase.php:337) because class AmazonSDB exist in sdb.class.php you got the first faile, requre will not work well in yii. to solved it i can suggest this sed, running in tarzan root
(in your case tarzan_2.0.5)

this will create files named by the Tarzan classes using include_once to include he right file for relevant class.
I use include_once to prevent future errors because class AmazonSQS & AmazonSDB are located in the same file.