Questions tagged [architecture]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
31 views

What's the rationale behind the new Civi folder in civicrm?

From a cursory glance, everything in Civi seems to be namespaced and everything in CRM is not. I'm guessing the answer has something to do with this.
1
vote
0answers
16 views

Ideal dependency injection pattern

Noting Tim Otten's answer here which pointed to his blog post, I'd like to know the best pattern to allow injection of CiviCRM services into extension classes and other things (ie to support unit ...
1
vote
1answer
62 views

CiviCRM Architecture - CiviCRM directory structure

Can anybody help me understand the architecture and directory structure of the civicrm. I found this post written in 2006 which doesn't seems to be valid for newer version.
2
votes
2answers
37 views

Should civicrm_participant.registered_by_id be an FK to civicrm_contact?

While troubleshooting for a different question, I noticed that civicrm_participant.registered_by_id is an FK back to civicrm_participant.id. Since it's a common use case for one contact to register ...
3
votes
2answers
116 views

How to decide between using a custom Relationship and using a custom Contact Reference field?

This is admittedly open-ended any may just depend too much on use-case. I am looking for advice on when it is preferable to create a custom Contact Reference field instead of just creating a custom ...