2009年4月17日星期五

Re: [fw-mvc] nested framework calls

Thx for your help.

To be honest I don't really understand what you mean when writing "use the Model from the other application".

I'm just in the case where I have two completely independent apps, both based on Zend Framework and both expecting the other NOT to be based on ZF (=> I cannot rewrite nested app as a module of the calling app).

Problem is that when one app calls the other, well, nested app is served with an alredy preconfigured Front controller instead of a brand new one, but still cannot clear this front controller calling Zend_Controller_Front::resetInstance() because once nested app call is over, calling app will continue its process.

If I missed something on using Models, please let me know.

Regards, Remy


On Fri, Apr 17, 2009 at 11:44 PM, keith Pope <mute.pop3@googlemail.com> wrote:
Would you not just use the Model from the other application?

2009/4/17 Remy Damour <remy.damour@gmail.com>:
> Hi,
>
> I hope it's the correct mailing list for my question.
>
> Is there a clean way to nest Zend Framework calls?
>
> Let's say I have a modular application (calling 3rd party plugins and so
> on): app1.
> This app is based on Zend Framework. A 3rd party plugin is also based on
> Zend Framework.
>
> Problem is that since Zend_Controller_Front & Zend_Registry are singletons,
> then 3rd party plugin call fails.
>
> => is there any way to call nested (and not chained) & independent
> Zend-Framework based applications?
>
> Regards,
> Remy
>



--
----------------------------------------------------------------------
[MuTe]
----------------------------------------------------------------------

没有评论: