Re: [fw-general] ZF2 Modulés name convention

2013-11-07 Thread Norbert Máté
Hi Diego, the recomended module structure says that under src you should have a folder with the module name but this can be configured within the modules Module.php. You have probably not setup or setup wrong the autoloader for the module. For the recommended structure the autoloader looks like

[fw-general] Re: [zf-contributors] Query: Should ZF2 bump the minimum required PHP version?

2013-11-07 Thread Stefano Torresi
That's the stance I expected, but I had to ask to let someone else make it clear. :P 2013/11/7 Evan Coury > > Hello, > > This can easily be argued both ways, but I would say that for the sake of > consistency with enterprise / LTS packaging standards and the sanity of the > ZF team, it should

Re: [fw-general] ServiceManager Factories and Callable functions

2013-11-07 Thread Ben Scholzen 'DASPRiD'
Hi Daniel, > Am I correct in thinking that if I have a ServiceManager defined with > anonymous functions like so: (Added to 'factories' configuration key) > > ... > > it will be called upon every request? The closure will only be called when the controller "Foo" is actually requested. But the f

[fw-general] Re: [zf-contributors] Query: Should ZF2 bump the minimum required PHP version?

2013-11-07 Thread Evan Coury
Hello, On Thu, Nov 7, 2013 at 1:57 AM, Stefano Torresi wrote: > FWIW I think a minor requirement bump shouldn't be that tragic. If one > is ok with using an older PHP version, he will be ok using an older > framework version. Afterall 2.2.* should be mature enough to satisfy > their requirements.

[fw-general] ServiceManager Factories and Callable functions

2013-11-07 Thread Daniel Latter
Hi All, I am trying to get my head around the best way to configure the service manager. Am I correct in thinking that if I have a ServiceManager defined with anonymous functions like so: (Added to 'factories' configuration key) ... 'Album\Controller\Foo' => function($sm) { $dependancy = ne

Re: [fw-general] Re: [zf-contributors] Query: Should ZF2 bump the minimum required PHP version?

2013-11-07 Thread mbneto
I don;t mind the small bump. We are not talking about moving to 5.4 or 5.5 so even tough those using LTS distribuitions may have to use outside or fast track repo the majority should be ok. go speed racer, go. On Thu, Nov 7, 2013 at 3:57 AM, Stefano Torresi wrote: > FWIW I think a minor requi

[fw-general] Re: [zf-contributors] Query: Should ZF2 bump the minimum required PHP version?

2013-11-07 Thread Stefano Torresi
FWIW I think a minor requirement bump shouldn't be that tragic. If one is ok with using an older PHP version, he will be ok using an older framework version. Afterall 2.2.* should be mature enough to satisfy their requirements. That said, backporting fixes is pretty much mandatory, and the concern