Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History

This is a page for planning Doctrine integration.

Doctrine 1

Questions

  • What namespace should we use?
  • How should we modify Record/Table generation tasks in the light of ZF Modular Structures
    • Configurable via Metadata?
    • How can we autoload this correctly given <Record>Base instances (side by side or in Subdirectory?)

Todo

  • Create a Doctrine1 paginator adapter
    • Jouzas could contribute his.
  • Create a Doctrine1 auth adapter
  • Create Zend_Tool providers for Doctrine 1
    • Should be zfproject.xml aware and use the Doctrine 1 resource to "bootstrap" the ZF + Doctrine enviroment
    • Should implement all the tasks that the Doctrine CLI has.
  • Create Zend_Db_Adapters support gateway
    • Why? I think the performance overhead is considerable, wouldn't it be better to contribute new adapters for Doctrine then? (beberlei)

Doctrine 2

Questions

  • What namespace should we use?
  • Would the doctrine2 classes use 5.3?
  • Replication support? Probably need to ask the Doctrine team about this.
    • What is replication support? Mysql Proxy is the way to go here imho. (beberlei)

Todo

  • Update the main Zend_Loader_Autoloader to support both 5.2 and 5.3 style class loading.
  • Update the Zend_Loader_Autoloader_Resource to support namespaces
  • Create a Doctrine 2 Zend Application resource
    • I have a prototype on this, which is quite complete already. I will create a proposal for it.
  • Create a Doctrine2 paginator adapter
  • Create a Doctrine2 auth adapter
  • Create a zend server cache adapter for the \Doctrine\Common\Cache (submit to Doctrine codebase) or support Zend_Cache?
    • Why share a cache instance? I don't see the point, since there are no global methods on caches that require a "singleton" of a cache. (beberlei)
  • Zend Profiler support?
    • This is a good idea, because it would allow using DC2 with Zend_Wildfire / FirePHP. However the current DC2 Logger only has a subset of features of the Db Profiler. However i might propose to pair this up.
  • Look at the ZF directory structure, do we need to add any folders etc for metadata for instance?
    • This question is also relevant for DC1 regarding the yaml fixture and metadata files.
  • Create Zend_Tool providers for Doctrine2
    • I have a prototype for those already, they are zfproject.xml aware and use the Zend_Application instance and Doctrine2 Resource.
  • Create Zend_Db_Adapters support gateway
    • Again Why? I think the performance overhead is considerable, wouldn't it be better to contribute new adapters for Doctrine then? (beberlei)
Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.