Version 1 (modified by 9 years ago) ( diff ) | ,
---|
doctrine/orm
Doctrine Console
- http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/tools.html
- https://sonata-project.org/bundles/admin/2-3/doc/getting_started/creating_an_admin.html
$ php bin/console doctrine:generate:entity --entity="AppBundle:Category" --fields="name:string(255)" --no-interaction $ php bin/console doctrine:generate:entity --entity="AppBundle:BlogPost" --fields="title:string(255) body:text draft:boolean" --no-interaction
Relations
- Les relations entre entités avec Doctrine2 OpenClassrooms
- Les relations entre entités dans Symfony2 avec Doctrine lafermeduweb
Cascade
- doctrine ondelete
- doctrine one to many cascade
- 8. Working with Associations readthedocs
- Doctrine Cascade Options for OneToMany// stackoverflow
- cascade={“remove”} VS orphanRemoval=true VS ondelete="CASCADE stackoverflow
Events
Extensions - Behaviors
Gedmo are a standard, but Translatable is criticized
- gedmo/doctrine-extensions
- https://github.com/Atlantic18/DoctrineExtensions#extensions-and-documentation
- https://github.com/Atlantic18/DoctrineExtensions/tree/master/doc
- https://atlantic18.github.io/DoctrineExtensions/
- Gedmo l'extension Doctrine 2 dans Symfony2 2012 overblog
- knplabs/doctrine-behaviors
Compatibility Issues between Extensions
- SoftDeleteable - Sortable
- Sluggable, Translatable and Tree
Audit, Revision or Loggable
- Versioning of entities and their associations simplethings/entity-audit-bundle
- https://sonata-project.org/bundles/doctrine-orm-admin/master/doc/reference/audit.html
- Loggable
- Helps tracking changes and history of objects, also supports version management Gedmo
- Admin support picoss/sonata-extra-admin-bundle doc/audit_manager
- YouTube
- Loggable is able to track lifecycle modifications and log them using any third party log system KNP Labs
- Helps tracking changes and history of objects, also supports version management Gedmo
Blameable
- Updates string or reference fields on create, update and even property change with a string or object (e.g. user) Gedmo
- Track creators and updators of a given entity KNP Labs
Filterable
- Simple filter result KNP Labs
Geocodable
- Extensions to PostgreSQL platform in order to work with cube and earthdistance extensions KNP Labs
IpTraceable
- Inherited from Timestampable, sets IP address instead of timestamp Gedmo
Joinable
- KNP Labs
Loggable (see Audit, Revision)
References
- Supports linking Entities in Documents and vice versa Gedmo
ReferenceIntegrity
- Constrains ODM MongoDB Document references Gedmo
Revision (see Audit, Loggable)
Sluggable
- Urlizes your specified fields into single unique slug Gedmo
- Sluggable generates slugs (uniqueness is not guaranteed) for an entity KNP Labs
- Sluggable, Translatable and Tree (Compatibility issue)
SoftDeleteable
- Allows to implicitly remove records Gedmo KNP Labs
- SoftDeleteable - Sortable (Compatibility issue)
- Admin support picoss/sonata-extra-admin-bundle
- keyword: SoftDeleteable
- StofDoctrineExtensionsBundle softdelete - How do I use it? stackoverflow
- Episode 39 - Utiliser l'extension softdeleteable avec Symfony2 DevAndClick YouTube (fr)
Sortable
- Makes any document or entity sortable Gedmo KNP Labs
- SoftDeleteable - Sortable (Compatibility issue)
Timestampable
Translatable
- Gives you a very handy solution for translating records into different languages Gedmo
- KNP Labs
- Sluggable, Translatable and Tree (Compatibility issue)
Translator
- Explicit way to handle translations Gedmo
Tree
- This extension automates the tree handling process and adds some tree specific functions on repository. (closure, nestedset or materialized path) Gedmo KNP Labs
- Sluggable, Translatable and Tree (Compatibility issue)
Uploadable
- Provides file upload handling in entity fields Gedmo
Note:
See TracWiki
for help on using the wiki.