Company
Date Published
Author
Brett Lawson, Principal Software Engineer, Couchbase
Word count
577
Language
English
Hacker News points
None

Summary

The SDK development team has been working on a new interface, SDK 2.0, to better align with the document-oriented nature of Couchbase Server 2.0, moving away from the cache-focused design that catered to the memcached project. This overhaul has included a complete rewrite of the PHP SDK, aimed at resolving issues such as inconsistent function behavior and outdated parameter ordering, resulting in a more uniform and modern API. Key improvements include a reliable error handling mechanism, transcoder support for custom serialization and deserialization strategies, and comprehensive documentation for developers. The new PHP SDK is available for installation on both Linux and Windows systems, with various build options provided, and it requires the prior installation of libcouchbase. Feedback and bug reports can be submitted through the Couchbase Communities site and the issues tracker.