|
14 سال پیش | |
---|---|---|
bin | 14 سال پیش | |
lib | 14 سال پیش | |
tests | 14 سال پیش | |
vendor | 14 سال پیش | |
.gitignore | 14 سال پیش | |
.gitmodules | 14 سال پیش | |
LICENSE | 14 سال پیش | |
README.markdown | 14 سال پیش |
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 and Annotation mapping. Additional mapping drivers can be easy implemented using Mapping extension to handle the additional metadata mapping.
Recently where was a change for type hinting on object manager and other. These changes requires doctrine2 from master branch. Example:
git clone git://github.com/doctrine/doctrine2.git myproject/library/doctrine
git clone git://github.com/doctrine/common.git myproject/library/doctrine-common
To autoload these libraries use same class loader from doctrine common package for instance.
If you are using windows, there is msysgit tool available.
2011-03-27
There is a plan to port all extensions for different object manager support and now half of extensions can be used with ODM also.
Are allready ported to support ODM MongoDB
All these extensions can be nested together. And most allready use only annotations without interface requirement to not to aggregate the entity itself and has implemented proper caching for metadata.
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.4 or newer is required. To setup and run tests follow these steps: