Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-10078

Please consider removing PHP 4.0 driver until it's actually available

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Having to build my own PHP extension from source, using tools I don't have, is a clear indication that the 4.0 driver isn't complete. So I find it very frustrating that the default documentation presents the 4.0 driver as though it were release ready. Clearly it's not.

      Also, I mentioned this quite a while ago, but it's likely still applicable today. Prior to your 4.0 release, please ensure that your Composer package contains the full PHP SDK 4.0 code stubs. Last time I checked, the Composer package was nearly completely worthless, containing only 2 class names (extracted from the wildly outdated 2.3 version of the driver) instead of instead of the full SDK class and method stubs. PHPStorm and WebStorm recognize couchbase as a popular library and so include their own JetBrains code stubs, but these too are outdated. The only way to implement proper IDE integration was to ignore BOTH the JetBrains couchbase library AND the outdated and wrong Composer library and manually download code stubs from one of your repos. Not only is this a painful experience, but it makes upgrading the PHP driver a nightmare. To reiterate: the Composer library should contain FULL stubs for all PHP SDK 4.0 classes and methods. And since you have multiple versions of this driver in the wild, the Composer package should be split by versions.

      Thanks for your attention.

      Reporter: Robert Mirabelle
      E-mail: rmirabelle@gmail.com

      Attachments

        Issue Links

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

          Activity

            People

              maria.shodunke Maria Shodunke (Inactive)
              rmirabelle Robert Mirabelle
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty