Complete Doctrine 1.2x Integration with Zend Framework 1.10+

To achieve com­plete Doc­trine 1 inte­gra­tion with Zend Frame­work some glue is required, Ben­jamin Eber­lei has cre­ated a com­plete solu­tion thats straight for­ward, easy to use and understand.

This project tries to offer a com­plete Inte­gra­tion of Doc­trine 1 with Zend Frame­work. The fol­low­ing com­po­nents belong to this Integration:

  • Zend_Application Resource
  • Zend Frame­work Mod­u­lar Project Support
  • Zend_Tool Provider for Doc­trine Model Gen­er­a­tion, Migra­tions and Fixtures
  • Zend_Paginator Adapter for Doc­trine Queries
  • Dynamic Zend_Form gen­er­a­tion from Doc­trine Models

This inte­gra­tion requires the lat­est Doc­trine ver­sion 1.2.2 to work completely

Get it!

SVN Export or Externals

Github offers SVN Read sup­port for a while now, you can either use svn export or svn:externals to include ZFDoc­trine into your project or into your PHP Include Path.
svn checkout http://svn.github.com/beberlei/zf-doctrine.git

Git Clone

git clone git://github.com/beberlei/zf-doctrine.git
If you fol­low the tuto­r­ial and instal­la­tion steps your will get this in ZFTool.

Zend Framework Command Line Console Tool v1.10.4
Actions supported by provider "Doctrine"
Doctrine
zf create-project doctrine dsn zend-project-style library-per-module single-library
zf build-project doctrine force load reload
zf create-database doctrine
zf drop-database doctrine force
zf create-tables doctrine
zf generate-sql doctrine
zf dql doctrine
zf load-data doctrine append
zf dump-data doctrine individual-files
zf generate-models-from-yaml doctrine
zf generate-yaml-from-models doctrine
zf generate-yaml-from-database doctrine
zf generate-migration doctrine class-name from-database from-models
zf excecute-migration doctrine to-version
zf show-migration doctrine
zf show doctrine

Read it ALL at beberlei’s zf-doctrine at mas­ter – GitHub.

Tags: , , , ,

Leave a Comment

*

Get Adobe Flash playerPlugin by wpburn.com wordpress themes