<p dir="ltr"><br>
2015年4月24日 下午12:23于 "Glyph" <<a href="mailto:glyph@twistedmatrix.com">glyph@twistedmatrix.com</a>>写道:<br>
><br>
><br>
> > On Apr 23, 2015, at 16:44, Benjamin BERTRAND <<a href="mailto:beenje@gmail.com">beenje@gmail.com</a>> wrote:<br>
> ><br>
> > Hello,<br>
> ><br>
> > I have a Twisted network application that I deployed as a twistd plugin.<br>
> > I have different configuration files defining several parameters including some Redis pub/sub channels.<br>
> > Today I use a script to stop and start the plugin with the proper configuration file.<br>
> > I’d like to make a web UI to be able to change the configuration of the application.<br>
> ><br>
> > I already saw some people asking about that but I haven’t found any example.<br>
> > Could anyone point me to some examples of a Twisted application with a web UI?<br>
> ><br>
> > I have developed some Flask web app, so I think it would be easier for me to start with Klein.<br>
> > But I’m not against trying Nevow (Twisted docs recommend it for this purpose).<br>
><br>
> I think the Twisted docs ought to be updated.  If I were starting a web frontend today with Twisted, I would definitely start with Klein and twisted.web.template.<br>
><br>
> Sadly I don't have a simple example to show you immediately; most real-world applications that put web UIs on Twisted are quite complex.  Hopefully the template-rendering examples in the Klein documentation are sufficient?<br>
><br>
> -glyph</p>
<p dir="ltr">hi</p>
<p dir="ltr"> you can try <a href="http://cyclone.io">cyclone.io</a> i have used it for years. it bases on twisted.</p>
<p dir="ltr">regards</p>
<p dir="ltr">gelin yan</p>