|
13 éve | |
---|---|---|
bin | 14 éve | |
doc | 14 éve | |
lib | 13 éve | |
schemas | 14 éve | |
tests | 13 éve | |
.gitignore | 14 éve | |
LICENSE | 14 éve | |
README.md | 14 éve |
This package contains extensions for Doctrine 2 that hook into the facilities of Doctrine and offer new functionality or tools to use Doctrine 2 more efficently. This package contains mostly used behaviors which can be easily attached to your event system of Doctrine 2 and handle the records being flushed in the behavioral way. List of extensions:
Currently these extensions support Yaml, Annotation and Xml mapping. Additional mapping drivers can be easily implemented using Mapping extension to handle the additional metadata mapping.
Note: doctrine2.0.x branch is no longer being supported and all new features and fixes are on master branch, which currently supports 2.1.x versions of doctrine2
Note: from now on there is only one listener per extension which supports ODM and ORM adapters to deal with objects. Only one instance of listener is required, and can be attached to many different type object managers, currently supported (ORM or ODM)
Note: Please note, that xml mapping needs to be in a different namespace, the declared namespace for Doctrine extensions is http://gediminasm.org/schemas/orm/doctrine-extensions-mapping So root node now looks like this:
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:gedmo="http://gediminasm.org/schemas/orm/doctrine-extensions-mapping">
...
</doctrine-mapping>
2011-08-08
2011-07-14
List of extensions which support ODM
All these extensions can be nested together and mapped in traditional ways - annotations, xml or yaml
Notice: extension tutorial on doctrine blog is outdated, most recent documentation is in doc directory. There is a post introducing to these extensions on doctrine project
You can test these extensions on my blog.
All tutorials for basic usage examples are on my blog also.
PHPUnit 3.5 or newer is required. To setup and run tests follow these steps: