On 12/11/2011 13:52, Jurian Sluiman wrote:
On Saturday 12 November 2011 13:30:46 Dennis Winter wrote:
I assume that this error occurs in the getConfig() method of your
Module.php file. The solution is: return new
Zend\Config\Config(include(__DIR__.'/configs/module.config.php'));

I recently stumbled upon this one.. So maybe Rob should fix this in his
tutorial!
On 2 november the zf2 library changed to return arrays and Traversable
instances as well. You do not need to return a Zend\Config\Config anymore, but
arrays (as the ZendSkeletonApplication uses) are also fine now.

This rather means the library included in the app is outdated and should be
updated to the latest version. If you have a cloned ZendSkeletonApplication
running with zf2 as submodule, just do this:

cd library/ZendFramework&&  git pull origin master

This will make your modules work again. This was the commit with the change:
https://github.com/zendframework/zf2/commit/837e347bd432561f05ae7142c5142591950ab1f0#library/Zend/Module/Manager.php

--
Jurian Sluiman


[Sent by mistake to Jurian direct: is it possible to set headers for reply to the list instead of the list member?]


Thanks, both, for feedback (and that arriving off-list).

FWIW, I did not use the included library but the latest from https://github.com/zendframework/zf2/downloads.

This type of situation displays why I needed to ask for tutorials. Whilst understanding that ZF 2.0 has some way to go, convincing serious investors (who at this time of year seek potential projects) that some R & D to prove a technology requires something to show its coming to the real world. With that in mind I shall next week speak with capable developers who in turn will voice opinions as to whether to give ZF 2.0 a chance of an "in bunker" proving exercise.[1]

"In bunker"? Lease a large homely property (possibly mansion) somewhere in Scotland, full accommodation for developers, housemaid service (okay, bad grammar: no wise-cracks please), and engage in project from 1st December to end-Feb. If the project's provable, then continue with team. A sort of developer's heaven without pizza delivery.

If I were to refer the example tutorial, and potential developers saw what was identified in this thread, then from a strategy planning perspective the project would be dead at the proposal stage.

Anyone have links to other ZF 2.0 tutorials for me to build an armoury? Please!


[1] R&D project open to list members too if they have three months to spare.

--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to