[FLOW3-general] MongoDB support
Georg Grossberger
georg at grossberger.at
Mon Aug 13 17:26:38 CEST 2012
Hi Arnaud
I invested a couple hours in that recently. My approach contains three
packages: "Doctrine.MongoDB", "Doctrine.ODM.MongoDB" and "TYPO3.MongoDB"
- (do you guys mind the TYPO3 prefix? I can change it if you want to).
There are two difficulties ahead:
1) Get the whole thing to work (of course). Since those new Doctrine
packages are all about "Documents" instead of "Entities", a lot of
things need to be adjusted and implemented differently than in the
FLOW3\Persistence\Doctrine sub-package. e.g.: so far I found no way to
satisfy Repositories, extending the Flow3 Doctrine repository. The
common one is not a big issue as it basically passes everything to the
persistence manager.
2) How to define documents? I thougt about this: Aggregate roots are
always documents, so are entities which are referenced by more than one
other entity-type. Non-root entity-types, that are only referenced by
one (other) entity-type (1:n, 1:1, and no other relations) are Embedded
Documents.
As I said, so far it's more like playing around with some code, than an
actual project, so please be a little patient :)
chrz,
Georg
> Hi Arnaud,
>
> On 06.08.2012, at 11:54, Arnaud BECKER <ab.webmasters at gmail.com> wrote:
>
>> When will MongoDB ODM with Doctrine 2 be supported in FLOW3 ?
>> I love MongoDB for its high performance and easy of use, it would be even better with FLOW3 and in the future with Phoenix.
>
>
> the core team currently has no concrete plans to implement MongoDB integration. However, I'd appreciate any efforts from the community doing so. We are also in good contact with Derick Rethans who works at 10gen and said that they'd be glad helping anyone getting started with developing MongoDB support for FLOW3.
>
> Cheers,
> Robert
>
More information about the FLOW3-general
mailing list