Nirvanix's REST service can be used effectively with PHP using the
SimpleXML
extension and Zend_Http_Client alone. However, using it this way
is somewhat inconvenient due to repetitive operations like passing the
session token on every request and repeatedly checking the response body for
error codes.
Zend_Service_Nirvanix provides the following functionality:
A single point for configuring your Nirvanix authentication credentials that can be used across the Nirvanix namespaces.
A proxy object that is more convenient to use than an HTTP client alone, mostly removing the need to manually construct HTTP POST requests to access the REST service.
A response wrapper that parses each response body and throws an exception if an error occurred, alleviating the need to repeatedly check the success of many commands.
Additional convenience methods for some of the more common operations.




