You can require the package from ZF2 also in ZF1 applications

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/


On 23 January 2013 14:40, Javier Garcia <tirengar...@gmail.com> wrote:

> Hi, i don't have the answer.. but.. is there a ServiceManager in zf1?? I
> look for it i didn't find it..I found it just for zf2.
>
> Javi
>
>
> On 01/23/2013 02:34 PM, Marc Tempelmeier wrote:
>
>> Hi,
>>
>> I want to use the ServiceManager in my ZF1 applications.
>>
>> At the moment I create it in the bootstrap, but I have some problems
>> with configuring my classes.
>>
>> Some forms I want to fetch from it need the action injected, which I get
>> from the url helper. I have no url helper in bootstrap :(
>> Or I need the scheme and host from the request, which I don“t have too,
>>
>> I could build my factories in a controller plugin
>> (dispatchLoopStartup()), but that seems a bit odd.
>>
>> Could someone push my in the right direction, where I can put my
>> factories and I can use everything like helpers or request?
>>
>> Greetings and thanks in advance
>>
>> Marc
>>
>>
>>
>
> --
> List: fw-general@lists.zend.com
> Info: http://framework.zend.com/**archives<http://framework.zend.com/archives>
> Unsubscribe: 
> fw-general-unsubscribe@lists.**zend.com<fw-general-unsubscr...@lists.zend.com>
>
>
>

Reply via email to