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

Todo

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)
      • I agree with beberlei, there are also ways to make use of multiple connections using Doctrine plugins (juozas)
      • Ok, maybe at the end of the process we can provide an example in the docs for this. (kpope)

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)
    • Sorry I mean we need a Zend Server adapter for the common lib (kpope)
  • 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.