It’s worth the waiting! Thanks in advance! J
Von: Marco Pivetta [via Zend Framework Community] [mailto:[email protected]] Gesendet: Freitag, 21. September 2012 10:18 An: tridem Betreff: Re: AW: WG: [ZF2][Doctrine2] Autogeneration of entity classes Hey tridem, I may be able to push some tags on the repo today to make it stable. That should also solve the issue, but I'll work on it in the evening. Marco Pivetta http://twitter.com/Ocramius http://marco-pivetta.com On 21 September 2012 08:53, tridem [via Zend Framework Community] <[hidden email]> wrote: Have you found a better tutorial yet, Luk? At least everything seems to work fine so far. The only missing thing is the autoloading of Doctrine for me. Marco says: That really depends on your application. You'd usually do it in `init_autoload.php` in your application (if it follows the skeleton application structure) or eventually use the default installation via composer. Unfortunately we havn’t installed git on our server and composer couldn’t download the dependencies. Do I have to “simply” return the autoloader in the array() inside init_autoload? Do you have a sample for me? Von: luk [via Zend Framework Community] [mailto:[hidden email] <http://user/SendEmail.jtp?type=node&node=4656994&i=0> ] Gesendet: Donnerstag, 20. September 2012 21:43 An: tridem Betreff: Re: AW: WG: [ZF2][Doctrine2] Autogeneration of entity classes tridem wrote Hi Luke, that is my problem. I recently started with ZF2 and followed this tutorial: http://www.jasongrimes.org/2012/01/using-doctrine-2-in-zend-framework-2/ You should not be following this tutorial for Doctrine integration. The ZF2 version that time was far away from current stable version. tridem wrote Even the github at https://github.com/doctrine/DoctrineORMModule "only" states: "The module depends on <https://github.com/doctrine/orm <https://github.com/doctrine/orm%3e> > Doctrine ORM 2.3.*, <https://github.com/doctrine/dbal <https://github.com/doctrine/dbal%3e> > Doctrine DBAL 2.3.*, <https://github.com/doctrine/migrations <https://github.com/doctrine/migrations%3e> > Doctrine Migrations. You have to download/install those packages and have them autoloaded." Sorry, but I couldn't find a hint where to put this autoloading. Is there a specific file in should put it in for global access, should it be added to a module only config or by setting an include path inside the virtual host or my index.php and how? I'm not a fan of Doctrine personally but I recommend you to try looking here: https://github.com/doctrine/DoctrineModule and again here: https://github.com/doctrine/DoctrineORMModule and as Marco pointed out use Composer for installing those Modules. Cheers, -- Luke Mierzwa _____ If you reply to this email, your message will be added to the discussion below: http://zend-framework-community.634137.n4.nabble.com/WG-ZF2-Doctrine2-Autogeneration-of-entity-classes-tp4656940p4656981.html To unsubscribe from Zend Framework Community, click here. <http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> NAML _____ If you reply to this email, your message will be added to the discussion below: http://zend-framework-community.634137.n4.nabble.com/WG-ZF2-Doctrine2-Autogeneration-of-entity-classes-tp4656940p4656994.html To unsubscribe from Zend Framework Community, click here. <http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> NAML _____ If you reply to this email, your message will be added to the discussion below: http://zend-framework-community.634137.n4.nabble.com/WG-ZF2-Doctrine2-Autogeneration-of-entity-classes-tp4656940p4656998.html To unsubscribe from Zend Framework Community, click <http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=634137&code=bGlzdHNAdHJpZGVtYXBwcy5jb218NjM0MTM3fC0xNTA0MjEyMTQ5> here. <http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> NAML -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/WG-ZF2-Doctrine2-Autogeneration-of-entity-classes-tp4656940p4657007.html Sent from the Zend Framework mailing list archive at Nabble.com.
