CHAPTER 4

image

Accessing Couchbase with PHP

PHP is one of the most commonly used scripting languages, and its usage (http://php.net/usage.php) for developing web sites continues to increase. PHP is an open source, object-oriented, server-side language and has the advantages of simplicity with support for all or most operating systems and web servers. The Couchbase PHP SDK provides access to Couchbase Server from a PHP script. JSON documents in Couchbase may be created and updated from PHP. In this chapter we shall use CRUD (create, read, update, delete) operations on Couchbase from PHP scripts. The chapter covers the following topics.

  • Setting the ...

Get Pro Couchbase Development: A NoSQL Platform for the Enterprise now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.