Uploaded image for project: 'Couchbase PHP client library'
  1. Couchbase PHP client library
  2. PCBC-189

[Better sample needed] Code sample of PHP Get and Lock

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public
    • Labels:
      None

      Description

      One of our users asked for a code example demonstrating Get and Lock in PHP for the Developer Guide.

        Issue Links

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

          Hide
          brett19 Brett Lawson added a comment -

          All important docs will be in the new getting started guide.

          Show
          brett19 Brett Lawson added a comment - All important docs will be in the new getting started guide.
          Hide
          kzeller kzeller added a comment -

          See blockers on sample and information.

          Show
          kzeller kzeller added a comment - See blockers on sample and information.
          Hide
          kzeller kzeller added a comment -

          Dependancies/Blockers:

          -Reviewed code with Technical Support (Perry)

          -Need a better PHP Get and Lock code sample. Should demonstrate Get and Lock in sample application context.
          -Need information on why get and lock suited for the context.

          Show
          kzeller kzeller added a comment - Dependancies/Blockers: -Reviewed code with Technical Support (Perry) -Need a better PHP Get and Lock code sample. Should demonstrate Get and Lock in sample application context. -Need information on why get and lock suited for the context.
          Hide
          kzeller kzeller added a comment -

          Note to self, this is a test case with assertions vs. example of when to use in sample application.....

          Show
          kzeller kzeller added a comment - Note to self, this is a test case with assertions vs. example of when to use in sample application.....
          Hide
          kzeller kzeller added a comment -

          It was specifically asked for the Dev Guide, but if it makes more sense, I can just add the cross reference from there to the actual example in the PHP area.

          Show
          kzeller kzeller added a comment - It was specifically asked for the Dev Guide, but if it makes more sense, I can just add the cross reference from there to the actual example in the PHP area.
          Hide
          ingenthr Matt Ingenthron added a comment -

          A code sample can be found here:
          https://github.com/couchbase/php-ext-couchbase/blob/master/tests/Get.inc#L301

          The description says in the developer guide? Do you want this there or in the API reference? In any event, I'm passing it back to you to update the appropriate document.

          Show
          ingenthr Matt Ingenthron added a comment - A code sample can be found here: https://github.com/couchbase/php-ext-couchbase/blob/master/tests/Get.inc#L301 The description says in the developer guide? Do you want this there or in the API reference? In any event, I'm passing it back to you to update the appropriate document.

            People

            • Assignee:
              ingenthr Matt Ingenthron
              Reporter:
              kzeller kzeller
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes