Doctrine Common
  1. Doctrine Common
  2. DCOM-28

Extract Common Persistance Interfaces

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I discussed this with jwage on symfony day cologne and this also came up during discussions with @dzuelke at IPC yesterday. So i hacked up a first patch for discussion that adds a Doctrine\Common\Persistance namespace and extracts the functionality all our 3 layers implement with regards to EntityManager/EntityRepository (and equivalents).

      Additionally i think it might make sense to also add an interface "ObjectMetadata" that has several getters-only that allow access to the field, identifier and association mapping information. This stuff is not necessarly compatible across layers when returned as its "array" representation, but for libraries hooking into the metadata (symfony admin generator) this might not even be necessary.

        Issue Links

          Activity

          Benjamin Eberlei created issue -
          Benjamin Eberlei made changes -
          Field Original Value New Value
          Link This issue is duplicated by DCOM-23 [ DCOM-23 ]
          Guilherme Blanco made changes -
          Assignee Roman S. Borschel [ romanb ] Jonathan H. Wage [ jwage ]
          Benjamin Eberlei made changes -
          Workflow jira [ 12002 ] jira-feedback2 [ 17854 ]
          Benjamin Eberlei made changes -
          Workflow jira-feedback2 [ 17854 ] jira-feedback3 [ 19817 ]

            People

            • Assignee:
              Jonathan H. Wage
              Reporter:
              Benjamin Eberlei
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: