Giter VIP home page Giter VIP logo

Comments (8)

roxblnfk avatar roxblnfk commented on June 23, 2024

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.

DiasIshbulatov10 avatar DiasIshbulatov10 commented on June 23, 2024

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.

wolfy-j avatar wolfy-j commented on June 23, 2024

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.

DiasIshbulatov10 avatar DiasIshbulatov10 commented on June 23, 2024

how can i file a ticket and ask for ODM update?

from framework.

DiasIshbulatov10 avatar DiasIshbulatov10 commented on June 23, 2024

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.

wolfy-j avatar wolfy-j commented on June 23, 2024

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.

DiasIshbulatov10 avatar DiasIshbulatov10 commented on June 23, 2024

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.

wolfy-j avatar wolfy-j commented on June 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.