schmittjoh / JMSJobQueueBundle

Run and Schedule Symfony Console Commands as Background Jobs
http://jmsyst.com/bundles/JMSJobQueueBundle
335 stars 254 forks source link

Enhancement: ODM MongoDB support #25

Closed eymengunay closed 11 years ago

eymengunay commented 11 years ago

I came across to your bundle while searching a job queue solution for my companies framework. It was perfect if it wasn't for the lack of mongodb support so I went ahead and forked the project to add it myself.

Even though there were too many hard coded references to doctrine orm I managed to add some of the base functionality. (you can see it here: https://github.com/eymengunay/JMSJobQueueBundle) I don't prefer to reinvent the wheel but I have seen that mongodb support requires a lot of changes to the current code so before going any further I wanted to ask you if you prefer me to make a pr to your repository or go on as an independent fork.

eymengunay commented 11 years ago

@IgorN: I saw (#14) that you were asking for ideas to get the module work with mongodb. Maybe this can help you get started.

Just be aware that mongodb implementation might not be stable as orm. It still lacks some features.

schmittjoh commented 11 years ago

I think an independent fork is fine for now.

Maybe one day when Doctrine's abstraction of this is well enough, we can support different database backends. I don't see it happening soon though.