[Zope] can I use my existing twisted rpc app in zope.
chrism at plope.com
Sun May 3 11:42:25 EDT 2009
On 5/3/09 11:21 AM, Krishnakant wrote:
>> On Sat, 2009-05-02 at 20:16 -0400, Chris McDonough wrote:
>> No, at least without doing "some work" (where "some work" is more than just
>> dropping your code into a directory and expecting Zope to pick it up and "serve
>> it out"). It will essentially be a rewrite, although maybe with some careful
>> coding you'd be able to reuse most of the existing code.
> Yes, that's exactly my point. I don't mean that I would just drop the
> code into a folder and expect zope to do every thing write.
> My question was will I be able to re-use my published objects and their
> functionality by coding it in such a way that zope hosts the twisted
> based rpc server application I already have?
By the way, for the record, you *might* be better off trying to serve up your
Twisted app through WSGI and use WSGI middleware to do the
authentication/authorization, and what-have-you instead of trying to tie your
application into Zope to get those features.
More information about the Zope