CodeIgniter Forums
Nosql feature... - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forum-28.html)
+--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forum-29.html)
+--- Thread: Nosql feature... (/thread-65361.html)



Nosql feature... - paysalkharis - 06-02-2016

Hello, how if CI4 officialy support for database nosql like mongodb..library there always maintain and have guide in CI4 user guide..
Thanks Smile


RE: Nosql feature... - ciadmin - 06-02-2016

There are no plans to support mongodb at present. That may change, depending on community interest & contributions.


RE: Nosql feature... - skunkbad - 06-02-2016

(06-02-2016, 06:48 PM)ciadmin Wrote: There are no plans to support mongodb at present. That may change, depending on community interest & contributions.

Perhaps a poll is in order. I have no interest in mongodb.


RE: Nosql feature... - ciadmin - 06-02-2016

The issue was raised last year ... http://forum.codeigniter.com/thread-63592.html
If you read the thread, there wasn't a lot of interest expressed.

It could be something to consider as an addin, once CI4 reaches 4.0.0


RE: Nosql feature... - kilishan - 06-02-2016

It would be impossible to integrate a nosql database into the Query Builder, just due to the very nature of the databases. They just work differently and the QB commands that exist don't always map to NoSQL commands. Also, there's concepts that are crucial in NoSQL, like MapReduce, that has no equivalent in relational databases.

So, any type of integration would feel half-hearted at best, compared to the rest of the db support.


RE: Nosql feature... - dmyers - 06-03-2016

I agree with kilishan, The CI team can only focus on so much.
SQL is a standardized language https://en.wikipedia.org/wiki/SQL therefore it's a little easier to target as long as the database supports SQL (with minor differences).
I don't believe there is a standardized language for NoSQL https://en.wikipedia.org/wiki/NoSQL (I could be wrong) and therefore the implementation is a little harder. Also like kilishan said if they try to graft something onto query builder it's not a 1 to 1 mapping of Sql command to a NoSql command. Now I know you are saying other PHP libraries are trying to do that but, that comes at the expense of speed and memory. If you aren't worried about those two things you can always compose in a package like doctrine https://packagist.org/packages/doctrine/doctrine1 and have at it.

DMyers