Hi! i am using the aws php sdk (compatible with eucalyptus cloud) to create a web based cloud management system for eucalyptus. So, basically most of the work has been done on the cloud server, but then we generally make API calls to the server.
Firstly, i wrapped the SDK code into a library.
Right now i make a new Instance of the AWS object, every time i require it and it is mostly done on almost every function.
I want to know that is there any generic way to do it so that we can use it .. something like global variable .. suggestions and insights are always welcomed.