> You should actually add this module to the enabled ones, not paste it into
That is exactly what I have done, then activated it in application.config. Please see the following screenshot: http://en.zimagez.com/zimage/screenshot03072012.php > the Application module. Modules are layered, you do never (usually) write > in other people's modules. I fully agree with this! I am looking at ZendDeveloperTools to learn its functionality. Not to change it. > Marco Pivetta > > http://twitter.com/Ocramius > > http://marco-pivetta.com > > > > On 7 March 2012 10:56, Jonathan Maron [via Zend Framework Community] < > [email protected]> wrote: > >> Hello Marco >> >> Sorry for not being more explicit. Here is clarification: >> >> I am referring to the module ZendDeveloperTools: >> >> https://github.com/zendframework/ZendDeveloperTools >> >> Which does not run, when copied into ZendSkeletonApplication: >> >> https://github.com/zendframework/ZendSkeletonApplication >> >> TIA >> >> Jonathan Maron >> >> >> >> >> >> On Wed, Mar 7, 2012 at 10:04 AM, Marco Pivetta <[hidden >> email]<http://user/SendEmail.jtp?type=node&node=4452781&i=0>> >> wrote: >> >> > Could you please add some code/examples? Do you have a repository with >> > those modules? >> > Marco Pivetta >> > >> > http://twitter.com/Ocramius >> > >> > http://marco-pivetta.com >> > >> > >> > >> > On 7 March 2012 09:18, Jonathan Maron [via Zend Framework Community] < >> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4452781&i=1>> >> wrote: >> > >> >> Hello >> >> >> >> I am currently taking a look at ZendDeveloperTools module for ZF2, as >> >> it illustrates some functionality that I need to help me migrate some >> >> of my old ZF1 Zend_Controller_Plugin_Abstract logic. >> >> >> >> I have Zend_Controller_Plugin_Abstract classes that i) minify HTML, >> >> ii) add the execution time to the bottom of the generated HTML, iii) >> >> replace image links with their CDN counterparts etc. >> >> >> >> The ZendDeveloperTools module shows how to add the execution time at >> >> the end of the generated HTML. Once I have understood, this step, >> >> implementing my requirements is trivial. >> >> >> >> Unfortunately, after copying ZendDeveloperTools to my ZF2 module >> >> directory, and updating application.config.php, the >> >> ZendSkeletonApplication now longer runs. >> >> >> >> Error message: >> >> >> >> -- >> >> >> >> Fatal error: Uncaught exception >> >> 'Zend\Di\Exception\ClassNotFoundException' with message 'Class view >> >> could not be located in provided definitions.' in >> >> /var/www/ >> >> >> www.zend-skeleton-application.com/vendor/ZendFramework/library/Zend/Di/Di.php >> >> on line 164 >> >> ( ! ) Zend\Di\Exception\ClassNotFoundException: Class view could not >> >> be located in provided definitions. in >> >> /var/www/ >> >> >> www.zend-skeleton-application.com/vendor/ZendFramework/library/Zend/Di/Di.php >> >> on line 164 >> >> >> >> -- >> >> >> >> What is going wrong here? And what do I have to do to fix it? >> >> >> >> TIA >> >> >> >> Jonathan Maron >> >> >> >> -- >> >> List: [hidden email]< >> http://user/SendEmail.jtp?type=node&node=4452591&i=0> >> >> Info: http://framework.zend.com/archives >> >> Unsubscribe: [hidden email]< >> http://user/SendEmail.jtp?type=node&node=4452591&i=1> >> >> >> >> >> >> >> >> >> >> ------------------------------ >> >> If you reply to this email, your message will be added to the >> discussion >> >> below: >> >> >> >> >> >> >> . >> >> NAML< >> 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> >> >> >> >> > >> > >> > -- >> > View this message in context: >> http://zend-framework-community.634137.n4.nabble.com/ZendDeveloperTools-module-in-ZF2-tp4452591p4452665.html >> > Sent from the Zend Framework mailing list archive at Nabble.com. >> >> -- >> List: [hidden email]<http://user/SendEmail.jtp?type=node&node=4452781&i=2> >> Info: http://framework.zend.com/archives >> Unsubscribe: [hidden >> email]<http://user/SendEmail.jtp?type=node&node=4452781&i=3> >> >> >> >> >> ------------------------------ >> If you reply to this email, your message will be added to the discussion >> below: >> >> http://zend-framework-community.634137.n4.nabble.com/ZendDeveloperTools-module-in-ZF2-tp4452591p4452781.html >> To unsubscribe from Zend Framework Community, click >> here<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=634137&code=b2NyYW1pdXNAZ21haWwuY29tfDYzNDEzN3wxNzE0OTI1MTk4> >> . >> NAML<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> >> > > > -- > View this message in context: > http://zend-framework-community.634137.n4.nabble.com/ZendDeveloperTools-module-in-ZF2-tp4452591p4452789.html > Sent from the Zend Framework mailing list archive at Nabble.com. -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
