Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
# Summary
MongoDB integration for Drupal. This is a collection of several modules which allow sites to store different types of Drupal data in MongoDB.
# Project URL
https://www.drupal.org/project/mongodb
# Where is the code?
- 8.x-1.x: https://www.drupal.org/node/646198
- 8.x-2.x: https://github.com/FGM/mongodb
# Estimated completion date
- 8.x-1.x: unknown
- 8.x-2.0: 01/09/2018. Currrently in beta1.
- Track progress on ContribKanban for Drupal MongoDB
# Dependencies
- 8.x-1.x:
mongo
extension, and a specific core commit between 8.0.0-beta9 and beta10 - 8.x-2.x:
mongodb
extension ≥ 1.1.7, mongodb library ^1.2.0 (via composer), core 8.5.x or 8.6.x, PHP 7.x
# Who's doing the port?
- Most of the code in the current 8.x-1.x branch has been created by chx
- The 8.x-2.x branch has been created by fgm
# What help do they need?
- Patch review for the Path feature on 7.x
- Patches for new features on 8.2.x
- Maintainers for the Block* and Field Storage components on 7.x
# D8 roadmap
- Step 1: finalize 8.x-2.0, containing the base
mongodb
module, to enable custom development from that base, and themongodb_watchdog
logger module andmongodb_storage
key-value store - Step 2: 8.x-2.1 containing at least the cache component
- ...later versions each adding at least one additional component
# Background and reference information
- The new MongoDB PHP extension : https://speakerdeck.com/jmikola/rethinking-extension-development-for-php...
- MongoDB on Github: https://github.com/mongodb
At the 2015-12-01 Paris MUG meetup, the main author of the new driver, Jeremy Mikola, also of Doctrine ODM fame, advised this project (conversation with fgm) to:
- use the new driver for ongoing 8.x work
- not switch to it for existing work (D6, D7)
- possibly use the low-level
mongodb
extension directly instead of using the higher-level user-space PHP library, since this package is in effect itself a driver, and the user-space driver is geared towards simpler applications. Actually, since 8.x-2.x made progress, it became apparent that we could very well use the library, which saved time significantly - not use the ODM because it does not mix well with the Drupal entity model. Confirmed with the current work on 8.x-2.x.
Comments
Comment #2
fgmComment #3
fgmComment #4
fgmComment #5
MustangGB CreditAttribution: MustangGB commentedComment #6
fgmComment #7
fgmComment #8
fgmComment #9
fgmComment #10
fgmComment #11
fgmComment #12
volegerhttps://www.drupal.org/project/mongodb/releases/8.x-2.0
Comment #13
fgmThanks for reminding me of this issue: I think we can now mark it fixed.
Comment #14
apadernoComment #15
kala4ekComment #16
kala4ekComment #17
fgmWhy tthese empty comments?
Comment #18
apaderno@fgm I gave credit to the users who participated in this issue.
Comment #19
fgmAh OK. I thought of that but the d.o. UI doesn't show that attribution.
Comment #20
apadernoYes, it doesn't show many of the changes. Even as webmaster, I cannot say what the next comment changed.