dev-master
9999999-devA Symfony2 bundle to support embedding a version of a first-class managed document
MIT
The Requires
by Jacob Bare
by Josh Worden
Wallogit.com
2017 © Pedro Peláez
A Symfony2 bundle to support embedding a version of a first-class managed document
This bundle supports embedding a version of a first-class managed document in Doctrine documents., (*1)
In Doctrine, managed documents cannot be easily embedded within other documents. In a blogging scenario, it would be useful to embed the post author on each Post document, both to prevent unnecessary database lookups and to easily access methods or properties of the author, once hydrated., (*3)
In Doctrine, you would need to either reference the Author document (causing a DB query), or embed an EmbeddedDocument version of the Author document (to which changes would not be persisted.) You may also want to specify what fields of the embedded document are actually embedded, which is not currently supported., (*4)
This bundle attempts to remedy that problem by providing three things:, (*5)
This bundle is currently under active development, and no stable release is yet available. If you're interested in learning more or contributing, feel free to check out the documentation or the wiki., (*6)
A Symfony2 bundle to support embedding a version of a first-class managed document
MIT