[Twisted-Python] Question on new code development

Bill Krueger bill.krueger at comcast.net
Fri Jan 21 13:54:21 MST 2005


On Fri, 2005-01-21 at 11:22 -0500, Itamar Shtull-Trauring wrote:
> On Fri, 2005-01-21 at 09:50 -0600, Bill Krueger wrote:
> 
> > My first question is, should I be looking at the new Twisted 2.0 for
> > development or stick with 1.3 and plan on upgrading to 2.0 later. 
> 
> They are compatible in the ways relevant to you, so I'd  start with 1.3.

Good, that makes it easier.


> 
> > Secondly, would using and/or building upon TwistedJava for the
> > communications between the Java clients and my Twisted server code be a
> > good direction to take?
> 
> Well... it works. But I'm not putting much effort into maintaining
> TwistedJava these days. On the other hand if you find a serious bug I
> will fix it.
> 
> How complex and varied is the data you will be sending back and forth?

The data is composed of interactive text streams, Java types/classes
(representing mouse movements, etc) and binary data (jpg/png type data).
I can convert the  data to a "neutral" format (such as xdr) and build
communication data structures to encapsulate it if needed but if the
TwistedJava code does this already I'm that much further ahead. Keeping
the data streams in a Java native format "seems" like a good way to go
but the Python code will need to use the data as well and I'm not that
far along with what the difference between a Java String and Python
String (repeat this for each Java native type) are.


> 
> 
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Thanks,

-- 
Bill Krueger <bill.krueger at comcast.net>





More information about the Twisted-Python mailing list