Note that there are some explanatory texts on larger screens.

plurals
  1. POZend 1.11 and Doctrine 2 Auto generate everything needed from already existing database
    primarykey
    data
    text
    <p>I am new to ORM and I am really keen to learn it. I successfully managed to install all classes and configurations for Doctrine 2.1 with Zend 1.11.x by following this tutorial.</p> <p><a href="http://www.zendcasts.com/unit-testing-doctrine-2-entities/2011/02/" rel="noreferrer">http://www.zendcasts.com/unit-testing-doctrine-2-entities/2011/02/</a> Which uses Bisna plugin and doctrine scripts.</p> <p>Now my problem is he is clearly explaining how to create entities and tables through doctrine classes but do not explain how to auto generate the proxies and repo classes from already existing database which helps me to select, insert and update. I always create my databases using MySQL Workbench.</p> <p>I also followed the below tutorial as well</p> <p><a href="http://www.zend.com/en/webinar/Framework/70170000000bSrG-webinar-zf-v-1-doctrine-v-2-20101214.flv" rel="noreferrer">http://www.zend.com/en/webinar/Framework/70170000000bSrG-webinar-zf-v-1-doctrine-v-2-20101214.flv</a></p> <p>My database is so complex with relationship flowing across every possible way. If I follow the steps which is explained in these tutorials I will never complete my project. Can any one please explain how to start using Doctrine after configuration. Considering I already have a database and my Model folders are empty. I have my folder sructure as below.</p> <pre><code> C:/zf/library/Doctrine C:/zf/library/Symfony C:/zf/library/ZC -- (my model which should contain the proxies and repo of Doctrine. At the moment it contains nothing.) C:/zf/library/Zend C:/zf/scripts/doctrine.php </code></pre> <p>Please help me!</p> <p>I posted this same post yesterday and no one replied to my post. Please let me know if you need anymore information from me.</p> <p>Thank you, </p> <p>Karthik</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload