2010年4月15日星期四

[fw-webservices] Re: Is it possible to write the Xmlrpc server code as an action inside a cotroller?

weierophinney wrote:
>
> Once Zend_Application is out the door, it also becomes trivial for your
> services to share much of the same environment as your MVC layer --
> meaning you won't have to worry about code duplication, either.
>

Can someone expound on this a bit? I have a project that started before
Zend_Application was added to the framework. Recently I modified it to use
a few pieces of Zend_Application, mostly for navigation. I understand there
are methods to set up the registry as well, and I suppose I could factor
more stuff out of my index.php that could be used by a separate web services
bootstrap. But don't the defines for the environment and a few other things
still go into index.php? Does anyone happen to have an example web services
bootstrap file lying about?


--
View this message in context: http://n4.nabble.com/Is-it-possible-to-write-the-Xmlrpc-server-code-as-an-action-inside-a-cotroller-tp675977p1909151.html
Sent from the Zend Web Services mailing list archive at Nabble.com.

没有评论: