Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > Suggestions > Topic : CouchBase as a NoSQL db

1


Threaded Mode | Print  

 CouchBase as a NoSQL db, NoSQL document Key/value DB (27 Replies, Read 43139 times)
Kynao
Group: Member
Post Group: Elite Member
Posts: 489
Status:
Hi,

I suggest CouchBase as a Document - Key/Value db, memcached compliant, auto-sharding, zero downtime maintenance, simple management with great admin admin gui, data replication and auto failover and so on... well a first class free db.

The db and its php client deserves a place in AMPPS.
IP: --   

CouchBase as a NoSQL db
Kynao
Group: Member
Post Group: Elite Member
Posts: 489
Status:
As the couchbase server binaries are provided for windows, the suggestion is about to add the PHP windows extensions available here http://www.couchbase.com/develop/php/current.

You will find there the extensions for both PHP 5.3 and 5.4
IP: --   

CouchBase as a NoSQL db
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

We are already providing MongoDB, a NoSQL DB. Also the PHP windows extensions are not available for PHP 5.2. We will still discuss about this.

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

CouchBase as a NoSQL db
Kynao
Group: Member
Post Group: Elite Member
Posts: 489
Status:
Yes, i know but the world offers many nosql dbs and people are using different of them. Coucbase is not the same db as Mongo and bring different but unique features like sync with the document mobile db as one example in the list.

Do you mean there must be only one nosql db into ampps ?
Maybe i miss the purpose of ampps but i see it brings much more than only one script in cms, as well in shopping cart, frameworks and so on.

Regarding PHP 5.2, is it a problem ? PHP 5.3 is so often needed in a lot of scripts (including scripts already included in ampps so i don't see the problem) and it will be more and more true, 5.5 is already in alpha and afaik 5.2 is not supported anymore by zend; furthermore is it a problem for a developer wanting to use a software which need php 5.3 ?
IP: --   

CouchBase as a NoSQL db
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

We are now also thinking of the disk space taken by AMPPS and the installer size.

Yes. PHP 5.2 extension is important as we want to keep things common when user switches its PHP version.

Still we will discuss about this.

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

CouchBase as a NoSQL db
Kynao
Group: Member
Post Group: Elite Member
Posts: 489
Status:
Ok, i understand about the size but :

- the 2 dll represent only 200k

- can they be dowloaded and installed on demand so that it's not in the ampps installation primary package ?

- the user can download install couchbase server binaries by himself using a nice and easy .exe
IP: --   

CouchBase as a NoSQL db
Kynao
Group: Member
Post Group: Elite Member
Posts: 489
Status:
Hi,

What were the results of the discussion ?
IP: --   

CouchBase as a NoSQL db
Kynao
Group: Member
Post Group: Elite Member
Posts: 489
Status:
Just to mention again, the suggestion is not about installing couchbase itself as it comes with its own a windows installation.

It's about the php sdk installation (2 dll files) and configuration (php.ini).
There is a workaround for some wamp servers like xampp for example http://stackoverflow.com/questions/15787715/installing-couchbase-client-sdk-for-php-on-xampp-on-windows but apparently it does not work with Ampps so that would be nice to have something straightforward.

Yes, there is no PHP 5.2 support but an information note could handle this.
Anyway, the ones interested into couchbase and php are already aware of php 5.3 minimal requirement. That could have been an issue if we were talking about a "whole couchbase application" but it's only about the sdk which concerns developers only.
IP: --   

CouchBase as a NoSQL db
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Okay we will provide the dll's in next version.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

CouchBase as a NoSQL db
Kynao
Group: Member
Post Group: Elite Member
Posts: 489
Status:
Thanks a lot, thay may look as a little step for the humanity :) but it's really useful as it saves much times and headache.

Just to be sure, do you plan to add the dll and modify the php.ini :

- without testing if it works with an installed couchase

or

- and validate that it's working

Dll are provided, thread safe and not thread safe,  for php 5.3, 5.4 and 5.5 (bu in alpha for this one) : http://www.couchbase.com/develop/php/current
IP: --   

CouchBase as a NoSQL db
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Okay Thanks.

We will test it first and will provide only if it works. By default they will be disabled(no need to change php.ini). User will have to go to PHP extension from Control Center, enable it(here ampps will change php.ini) and restart.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

CouchBase as a NoSQL db
Kynao
Group: Member
Post Group: Elite Member
Posts: 489
Status:
Apparently it is not mentionned in release 2.4 http://www.softaculous.com/board/index.php?tid=4503&title=AMPPS_2.1.

Is it a miss or are there some news about this ?


IP: --   

CouchBase as a NoSQL db
Kynao
Group: Member
Post Group: Elite Member
Posts: 489
Status:
Quote From : tidus June 25, 2013, 7:25 am
Hi,

Okay we will provide the dll's in next version.


Apparently 2.4 finally miss this.
Has it been postponed to 2.5 ?
Is 2.5 planned between now and the end of the year ?
IP: --   

CouchBase as a NoSQL db
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Extensions for Windows are still in Beta so we are not sure whether to provide or not.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

CouchBase as a NoSQL db
Kynao
Group: Member
Post Group: Elite Member
Posts: 489
Status:
If that can help both you and us, i suggest to share here when you change of mind so that we may eventually help.

Example : we can see that beta concerns 1.1.2 release mentionned here http://www.couchbase.com/communities/php/getting-started. Date is from december 2012 but you have much more recent libcouchbase.dll here http://www.couchbase.com/communities/c/getting-started.

Whatever, i suspect the doc is not updated there. Do you want me to ask them in forum for some more information ?

Another approach with pecl repository : http://pecl.php.net/package/couchbase
we can see there that 1.1.5 stable is available but the windows dll link drives to "Error 404 - document not found". If you can't access this information from them, i can try it for you.
IP: --   

CouchBase as a NoSQL db
Kynao
Group: Member
Post Group: Elite Member
Posts: 489
Status:
I asked here http://www.couchbase.com/communities/q-and-a/updated-windows-php-client-library
IP: --   

CouchBase as a NoSQL db
Kynao
Group: Member
Post Group: Elite Member
Posts: 489
Status:
The PECL link is working now and gives us access to this page for release 1.1.5 much more recent : http://pecl.php.net/package/couchbase/1.1.5/windows

DLL List, whatever thread safe or non thread safe, covers PHP 5.3 to PHP 5.5, final releases.

Can we expect this support before the end of the year ?
IP: --   

CouchBase as a NoSQL db
Kynao
Group: Member
Post Group: Elite Member
Posts: 489
Status:
So, as mentionned, stable 1.1.5 isavailable.
Brett from couchbase is working on the availability for windows of stable 1.2.1 => http://www.couchbase.com/communities/q-and-a/updated-windows-php-client-library.
IP: --   

CouchBase as a NoSQL db
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Dll's will be surely included in next version.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

CouchBase as a NoSQL db
Kynao
Group: Member
Post Group: Elite Member
Posts: 489
Status:
Couchbase PHP Client Library for windows release 1.2.1 is about to be released. If next Ampps release is available before, i presume it will take into account 1.1.5.

As 1.2.0 and 1.2.1 are just bugfix and share the same dependencies :

PHP Version: PHP 5.3.0 or newer
PEAR Package: PEAR 1.4.8 or newer
PECL Package: igbinary

I presume we will just have to manually replace the couchbase dll into ampps, right ?
PHP Client Library for windows
Windows PHP Client Library
Windows PHP Client Library
Windows PHP Client Library
Windows PHP Client Library
IP: --   

CouchBase as a NoSQL db
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

php_couchbase.dll has been tested and added in our extensions folder of Ampps 2.2 [Windows].

Just see to it that libcouchbase.dll is present in apache\bin folder, it is located in respective php folder.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

CouchBase as a NoSQL db
Kynao
Group: Member
Post Group: Elite Member
Posts: 489
Status:
This one is an exception good one news,
Thanks so much tidus and softaculous !

I will test this very soon
IP: --   

CouchBase as a NoSQL db
Kynao
Group: Member
Post Group: Elite Member
Posts: 489
Status:
"exceptional" i meant
IP: --   

CouchBase as a NoSQL db
Kynao
Group: Member
Post Group: Elite Member
Posts: 489
Status:
Quote From : tidus November 23, 2013, 6:21 am
Hi,

php_couchbase.dll has been tested and added in our extensions folder of Ampps 2.2 [Windows].

Just see to it that libcouchbase.dll is present in apache\bin folder, it is located in respective php folder.


I just did a fresh ampps install withthe latest release i just downloaded from your website.

php_couchbase.dll is present in folders :
php\ext
php-5.4\ext
php-5.5\ext

while libcouchbase.dll is present in folders :

php
php-5.4
php-5.5

I will test that.
As it seems a little different from what you mentionned, is it still ok for you based on your own tests ?


IP: --   

CouchBase as a NoSQL db
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Sorry for the confusion.

Quote
Just see to it that libcouchbase.dll is present in apache\bin folder, it is located in respective php folder.


What I meant was you will have to put libcouchbase.dll in apache/bin manually from respective php folder.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

CouchBase as a NoSQL db
Kynao
Group: Member
Post Group: Elite Member
Posts: 489
Status:
Yep, i supposed it but :
- i prefered you confirm it :)
- i finally doubt of my supposition as i don't see why the ampps install does not do it by itself :)

Thanks anyway.
Nothing to do with php_couchbase.dll ? :) good where it is per default ?
IP: --   

CouchBase as a NoSQL db
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Quote
Nothing to do with php_couchbase.dll ? :) good where it is per default ?


Yes nothing to do with it.

You will have to enable(check) it from PHP Extension folder (which will add the required line in php.ini of the current active PHP)

The following is the workaround for libcouchbase.dll issue(transferring respective libcouchbase.dll from php to apache/bin ):

Open Apache Configuration -> Find the line LoadFile "{$path}/php/libpq.dll" below it add the new line LoadFile "{$path}/php/libcouchbase.dll"

Save the file and restart Apache.

This fix will be added in the next version.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

CouchBase as a NoSQL db
Kynao
Group: Member
Post Group: Elite Member
Posts: 489
Status:
Quote From : tidus November 26, 2013, 8:10 am
Hi,
This fix will be added in the next version.


Cool, in the meantime, thanks for your tip
IP: --   

« Previous    Next »

Threaded Mode | Print  

1


Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 2, 2024, 5:45 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.029