Doctrine 2 and Concrete table inheritance
I use Doctrine 2 and I’ve read some articles on inheritance strategies’ mapping with ORM.
I’ve seen three main strategies : “Class table inheritance”, “Concrete table inheritance” and “Single table inheritance”.
Multiple intranet/internet systems partially working on same data – database strategy
We are starting rewritting our apps (Internet portal, millions of unique users and few CRM/ERP systems, few hundred users) and we have a huge decision to make now. We are going to write them mostly (90-95%) in Symfony2
with Doctrine
, and some background services (e.g. mailing) in Java
. Database – MySql
/MariaDb
. also lot of additional technologies (redis/memcached
, load balancing
, varnish
, replication
and so on). Most important (in this case) are – symfony2
, mysql/maria
and doctrine
.
Multiple intranet/internet systems partially working on same data – database strategy
We are starting rewritting our apps (Internet portal, millions of unique users and few CRM/ERP systems, few hundred users) and we have a huge decision to make now. We are going to write them mostly (90-95%) in Symfony2
with Doctrine
, and some background services (e.g. mailing) in Java
. Database – MySql
/MariaDb
. also lot of additional technologies (redis/memcached
, load balancing
, varnish
, replication
and so on). Most important (in this case) are – symfony2
, mysql/maria
and doctrine
.
How to associate both a collection and one item of this collection to an entity
I’m working on a project in which I have an entity, we may call Users
and another entity Address
.
Why does ORM persist() functionality use references to populate insert_id and not return?
My understanding of how ORM persist
works: