Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decouple persistent storage (MongoDB) from the application layer #61

Open
netsensei opened this issue Jun 7, 2018 · 0 comments
Open

Comments

@netsensei
Copy link
Contributor

Detailed description

Right now, we directly support MongoDB as a persistent storage backend via doctrine/mongo-odm. But we should research whether it's possible to make the coupling less tight and in order to allow different storage backends such as postgres or even plain dumb mysql.

Context

MongoDB isn't necessarily the best or most practical solution in different setups. Moreover, MongoDB support via Doctrine lags a bit behind the release cycle of newer PHP versions.

Possible implementation

To be researched. We're relying on mongo-dom annotations in our models to wire up the MongoDB backend. Is it possible to loosen up this coupling?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants