[tahoe-lafs-trac-stream] [tahoe-lafs] #1963: replace nevow with twisted.web.template
tahoe-lafs
trac at tahoe-lafs.org
Mon Mar 17 21:24:58 UTC 2014
#1963: replace nevow with twisted.web.template
-----------------------------------+-----------------------------
Reporter: zooko | Owner: remyroy
Type: enhancement | Status: assigned
Priority: normal | Milestone: eventually
Component: code-frontend-web | Version: 1.10.0
Resolution: | Keywords: nevow templates
Launchpad Bug: |
-----------------------------------+-----------------------------
Comment (by daira):
Replying to [comment:15 remyroy]:
> The big question is what part of Nevow are we using that is not
templating and can twisted.web fulfill this in an easy and straightforward
way?
Yes.
> This is what we are using from Nevow that is not templating related:
>
> * nevow.appserver
> * nevow.appserver.NevowRequest
> * nevow.appserver.NevowSite
> * nevow.resource_filename
>
> and whatever is under those including idioms and conventions from Nevow.
There seems to be a lot of Nevow code under those from my quick reading of
Nevow source code.
>
> I've been reading the twisted.web documentation and it feels quite
different from how it's done with Nevow.
I think you're probably overestimating the differences. We actually only
use a small subset of Nevow, and ''that subset'' has almost direct
equivalents in {{{twisted.web}}}.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1963#comment:17>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list