HessianPHP 1.0.5

HessianPHP 2 is a library that implements the Hessian binary web services protocol for PHP 5.

The Hessian Protocol:
The Hessian binary web service protocol makes web services usable without requiring a large framework, and without learning yet another alphabet soup of protocols. Because it is a binary protocol, it is well-suited to sending binary data without any need to extend the protocol with attachments." (from Caucho web site) Hessian was created by Caucho Technology in the Java programming language. This protocol was designed to be fast and simple to learn and use. It uses HTTP as transport by sending and receiving POST requests to remote services.

HessianPHP 2 is a complete rewrite of the original HessianPHP library published a few years ago to make it compatible with the newest versions of the protocol and PHP.

Features of HessianPHP:
- PHP 5 only
- Hessian protocol version 1 and 2 with autodetection
- Supports PHP 5.3 in strict mode
- Can create both clients and servers
- Support CURL and standard http stream wrappers

Requirements and Installation:
- PHP 5.1+
- PHP enabled web server (Apache, IIS, etc.)
- CURL extension enabled (optional)
- Download the code and place it in a directory in your web server, that's it.

Consuming a Hessian web service:
- To start consuming remote Hessian web services all you need to do is:
- Include or require the file HessianClient.php
- Create a HessianClient object passing the url of the service and additional options if required
- Call methods

Create a HessianService wrapper object:
- Register a previously created or new object in the service constructur or by calling registerObject().
- Execute the handle() method.

- Version 2.0 is in Beta phase and is the default build. It's compatible with PHP 5.3 but still in testing. Deployment requires a little over 100KB. Unit tests implemented using SimpleTest.
- Thanks to all people that has contributed with the whole set of Hessian implementations, we hope to help you get the best of the project.
- HessianPHP is licensed under the MIT license, so you can comfortably use it in commercial applications.

License type: MIT License
Date added: 3 years, 10 months 10 days ago | Last updated: 3 years, 10 months 10 days ago

More popular Framework

Listing Files

List All Files