[Twisted-Python] Using Twisted and GTK2

Alexandre Quessy alexandre at quessy.net
Thu Feb 4 06:23:20 MST 2010


Hello everyone,
Though, as far as I know, PB is not transfered in clear text. That
means it's a little harder to debug the TCP streams, using a tool like
Wireshark. Am I wrong?

a

2010/2/4 Ramiro Alba Queipo <raq at cttc.upc.edu>:
> Thanks David. I'll take a look on your code
>
> Regards
>
> On Wed, 2010-02-03 at 11:03 -0800, David Ripton wrote:
>> On 2010.02.03 13:48:39 +0100, Ramiro Alba Queipo wrote:
>> > I recently new about Twisted and saw it as the best way to deal with a
>> > client/server network application (I use python long time ago). Really
>> > wonderful. I now intend to write a GTK client that can send commands and
>> > transfers files to the server and from it.
>> > I started to learn how to write applications not using 'Perspective
>> > Broker', but when I reached to the example pbgtk2.py to authenticate and
>> > send echo commands, I could no see a way the same with a PB. Is that
>> > true?. Is, anyway the best alternative (I mean PB) to write the
>> > application I intend to?
>>
>> PB is fine.  AMP or Foolscap might be better for some tasks, but PB is
>> mature and works.
>>
>> PB features integration with Cred, which is Twisted's pluggable
>> authentication mechanism.
>>
>> http://twistedmatrix.com/documents/current/core/howto/cred.html
>>
>> Cred is very flexible.  The integration between PB and Cred isn't quite
>> as flexible, but it works fine for straightforward cases.
>>
>> If you're looking for larger sample code, I have a game that uses PyGTK
>> and PB and Cred, here:
>>
>> http://github.com/dripton/Slugathon
>>
>> --
>> David Ripton    dripton at ripton.net
>>
>> _______________________________________________
>> Twisted-Python mailing list
>> Twisted-Python at twistedmatrix.com
>> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>>
> --
> Ramiro Alba
>
> Centre Tecnològic de Tranferència de Calor
> http://www.cttc.upc.edu
>
>
> Escola Tècnica Superior d'Enginyeries
> Industrial i Aeronàutica de Terrassa
> Colom 11, E-08222, Terrassa, Barcelona, Spain
> Tel: (+34) 93 739 86 46
>
>
> --
> Aquest missatge ha estat analitzat per MailScanner
> a la cerca de virus i d'altres continguts perillosos,
> i es considera que està net.
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>



-- 
Alexandre Quessy
http://alexandre.quessy.net/




More information about the Twisted-Python mailing list