Get greate example ever of doctrine in zendFramework. Initialing your project by looking this example