You might want to look into Orbited, there are a number of Django examples out there:<br><br><a href="http://www.orbited.org">http://www.orbited.org</a><br><br><div class="gmail_quote">On Wed, May 27, 2009 at 2:39 PM, Dan <span dir="ltr">&lt;<a href="mailto:charnedn@muohio.edu">charnedn@muohio.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br>
<br>
I have an application written in Twisted which multiplexes data from a<br>
variety of pieces of specialized hardware, and I&#39;d like to make the<br>
live stream of this information viewable through a webpage.<br>
Unfortunately, on our server, port 80 is already taken by an Apache +<br>
mod_python + Django stack with which we host a number of webpages.<br>
<br>
Ideally, I&#39;d like to be able to write a quick Django app in which just<br>
import my Twisted protocol, connect to my network, and start streaming<br>
data. However, much googling has lead me to believe that this is<br>
unlikely to actually work. (Particularly, <a href="http://twistedmatrix.com/pipermail/twisted-web/2007-March/003311.html" target="_blank">http://twistedmatrix.com/pipermail/twisted-web/2007-March/003311.html</a><br>
, which says that Twisted is simply not mod_python-friendly.)<br>
<br>
The options I&#39;ve thought of include using Twisted&#39;s builtin web server<br>
a nonstandard port, mod_proxy, or writing a Django app which just<br>
polls a database repeatedly and altering my Twisted app so it<br>
repeatedly does an UPDATE. All of these solutions feel hacky to me, so<br>
I&#39;d like to ask you, the list, how you&#39;d go about doing this.<br>
<br>
Thanks,<br>
Dan<br>
<br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Greg Taylor<br>Clemson University, Class of 2009<br>Cell: (864) 888-7964<br><a href="http://gc-taylor.com">http://gc-taylor.com</a><br>