As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
I”m looking to use a NoSQL solution for my next project, which will be written in PHP. What choices do I have in terms of NoSQL solutions that can easily interfaced via PHP? I haven”t done much thinking about the architecture yet, so I”m not sure what my needs will be; I”d simply like to know what my choices are so I don”t build something I can”t reasonably implement.

For instance, I know Cassandra has Pandra, but that”s just a PHP library. MongoDB has a native PECL extension.

Đang xem: 15 nosql databases using php

*

CouchDB has PHPillow:

PHPillow is an object orientated wrapper for CouchDB. Releases can be found on the downloads page. Apache CouchDB is a distributed, fault-tolerant and schema-free document-oriented database accessible via a RESTful HTTP/JSON API. Among other features, it provides robust, incremental replication with bi-directional conflict detection and resolution, and is queryable and indexable using a table-oriented view engine with JavaScript acting as the default view definition language.

Also see http://nosql-database.org for a good overview.

Share
Improve this answer
Follow
edited Mar 18 “13 at 8:22
answered May 12 “10 at 19:26

*

GordonGordon
294k6767 gold badges508508 silver badges533533 bronze badges
0
Add a comment |
29
I wrote the PHP driver for MongoDB and I think it”s a great interface 🙂

The mongo PECL package is not only pretty mature (comparatively… nearly a year and a half old now!) and fairly thoroughly documented, it is really widely used. If you check out MongoDB”s PHP page, you can see that there are ways of integrating it with Cake, Doctrine, Drupal, Kohana, Symfony, and Zend, as well as a couple admin GUIs (like PHPMoAdmin) and several of it”s own ODMs (object document mappers).

Xem thêm:

P.S. salathe has a good point, though, the best solution is really going to depend on what you”re doing.

Share
Improve this answer
Follow
answered May 12 “10 at 19:50

*

kristinakristina
21.4k99 gold badges6565 silver badges7575 bronze badges
1
Add a comment |
9
a NoSQL solution

Your question is very vague, whether you intended it or not. Without knowing that you are wanting to get out of the NoSQL solution then any recommendations would just be naming names (not necessarily a bad thing, but nothing that you can”t Google yourself in a few minutes). For example, the two that you name above (Cassandra and MongoDB) are different animals: to base the choice on friendliness seems a little short-sighted.

So, could you have a think about it, then come and elaborate on the project (no need to divulge details; general approaches, wants and desires, that sort of thing) to aid us in helping you move towards a choice?

P.S. This is only an “answer” because it”s too long for a comment. Waffley fingers!

P.P.S. Not that it means anything, but I am quite the fan of MongoDB… with PHP or otherwise.

Xem thêm: Lỗi Bị Mất Chữ Khi Sửa Lỗi Nuốt Chữ Trong Chrome, Sửa Lỗi Unikey Bị Gõ Mất Dấu

Share
Improve this answer
Follow
answered May 12 “10 at 19:46

*

salathesalathe
48.2k1111 gold badges9696 silver badges126126 bronze badges
Add a comment |
0
I have not tried it yet myself, but it”s on my to do list: trying out mongo with php.

Share
Improve this answer
Follow
answered May 12 “10 at 19:33

*

koenkoen
12.2k99 gold badges4343 silver badges4949 bronze badges
Add a comment |

Not the answer you're looking for? Browse other questions tagged php nosql pecl or ask your own question.

The Overflow Blog
Featured on Meta
Linked
2
Is there any NoSQL DB implementation that has none separate daemon?
0
choose the better option 1) Using files or 2) data direct to database
Related
2773
How can I prevent SQL injection in PHP?
2702
Deleting an element from an array in PHP
1568
startsWith() and endsWith() functions in PHP
1822
How do I get PHP errors to display?
2179
How do you parse and process HTML/XML in PHP?
4687
Reference — What does this symbol mean in PHP?
2109
How does PHP 'foreach' actually work?
2568
Why shouldn't I use mysql_* functions in PHP?
Hot Network Questions more hot questions
lang-php
Stack Overflow
Products
Company
Stack Exchange Network
site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev2021.4.1.38970

Stack Overflow works best with JavaScript enabled

*

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Related Post

Leave a Reply

Your email address will not be published. Required fields are marked *