Comments (8)
We have frozen support for our own ODM. However, you can take any MongoDB integration and integrate it with the framework through bootloaders.
from framework.
Thank you for your reply.
Could you help me to integrate MongoDB ODM with the framework?
I need a more detailed description.
I hope you can help me.
from framework.
The MondoDB native ODM currently not maintained since we focused on Cycle ORM and modern DB can handle json. You can file a ticket and ask for ODM update, any donation or more community likes will prioritize this feature.
As for now I would recommend looking to Doctrine ODM - https://github.com/doctrine/mongodb-odm
It should be on part with ODM that used to be part of Spiral in the past.
from framework.
how can i file a ticket and ask for ODM update?
from framework.
Hi, wolfy-j.
I hope you can help.
I want to integrate mongoDB-odm to spiral framework v3.11.
How can I do that?
from framework.
Hi!
It depends if you are willing to use existing ODM (such as Doctrine) - in this case you only have to write a bootloader and probably finalized (if it uses any sort of heap).
Or, if you want to do something more fun and create ODM based on what we had before: https://github.com/wolfy-j/lodm
I would recommend option one, in this case you have to check how to launch Doctrine ODM in standalone mode (it will tell you what has to be bootloader). You can probably also check some Laravel integrations, their service providers are quite similar to bootloaders and copy it. That's about it.
from framework.
Hi, I want to use doctrine-mongo-odm in spiral framework.
how can i config it to start when server start and use easily.
from framework.
I just described it above :) you create a bootloader and provide DI for it. There are nothing special about it. If you having issues - starts with simple controller work ODM init first.
from framework.
Related Issues (20)
- Integration of `spiral/telemetry` with `spiral/sentry-bridge` for enhanced distributed tracing
- Console Command for Listing All Available Prototypes
- Installation error HOT 1
- Update dependencies HOT 1
- Complete Swoole integration with framework
- Argument #1 ($file_descriptor) must be of type int|resource, null given
- When I turn on http.pool.debug = true, the request is very slow HOT 2
- Fix runScoped in container
- Add buggregator/trap as a dependency of the spiral/dumper
- Translations do not end up in cache and used as keys HOT 3
- Add `scaffolder:info` Command for Enhanced Developer Experience
- PHP Attributes for Bootloader Methods HOT 1
- [Session] Mandatory FactoryInterface should be optional HOT 1
- newLine() does not exist in console app HOT 3
- Проблема с Query Prepared Statement
- Disable error reporting by default
- Framework parts and add-ons HOT 2
- Embeddable Behaviors HOT 2
- route:list does not handle OPTIONS verb
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from framework.