CFCouchbase SDK
Search…
ColdBox Module
The CFCouchbase SDK is already a ColdBox Module. So if you are building a ColdBox MVC application you can install the SDK with CommandBox via: box install cfcouchbase. The SDK will be installed in your modules directory, create a mapping called cfcouchbase for you, manage all SDK instances and create all the WireBox binders for you.

WireBox Mappings

The following objects are already mapped in the module edition and can be injected anywhere in your ColdBox application.

ColdBox Settings

You can configure the SDK by creating a couchbase structure in your ColdBox.cfc configuration file. This structure can contain any setting from theCouchbaseConfigobject and ColdBox will configure theCouchbaseClient` for you.
1
couchbase = {
2
servers = "http://127.0.0.1:8091",
3
bucketname = "default",
4
viewTimeout = "1000"
5
};
Copied!
Last modified 3yr ago
Copy link
Edit on GitHub