Reuse twisted.web resources in nevow
Hi all my app is entirely writen using twisted.web resources. Now i'm thinking to migrate to nevow, and i'd like to know is it possible to reuse my old resources inside nevow. Would it be possible to write a nevow class that render twisted.web resources. Any examples are welcome. Thanks! Mourad ANIS mourad at janisnet dot com
On 26 Nov, 11:05 pm, anis_mourad@yahoo.fr wrote:
Hi all my app is entirely writen using twisted.web resources. Now i'm thinking to migrate to nevow, and i'd like to know is it possible to reuse my old resources inside nevow. Would it be possible to write a nevow class that render twisted.web resources. Any examples are welcome.
Nevow Pages basically support this now (although I don't know how completely). If you add a Twisted Web Resource as a child of a Nevow Page, Nevow will traverse to the Resource and render it. Jean-Paul
Ha! I just realized that exarkun and J.P. Calderone are the same person. I've been reading the "Twisted Web in 60 seconds" from J.P. and seeing Twisted Trac comments from exarkun and didn't make the connection. Funny. On Fri, Nov 27, 2009 at 6:39 AM, <exarkun@twistedmatrix.com> wrote:
On 26 Nov, 11:05 pm, anis_mourad@yahoo.fr wrote:
Hi all my app is entirely writen using twisted.web resources. Now i'm thinking to migrate to nevow, and i'd like to know is it possible to reuse my old resources inside nevow. Would it be possible to write a nevow class that render twisted.web resources. Any examples are welcome.
Nevow Pages basically support this now (although I don't know how completely). If you add a Twisted Web Resource as a child of a Nevow Page, Nevow will traverse to the Resource and render it.
Jean-Paul
_______________________________________________ Twisted-web mailing list Twisted-web@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
participants (3)
-
exarkun@twistedmatrix.com
-
John Porter Simons
-
Mourad Anis