Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old February 9th, 2006, 02:55 AM
Jay Parlar
Guest
 
Posts: n/a
Default Twisted book opinions?

I was hoping to get some c.l.p. opinions on O'Reilly's new Twisted book.

I'm coming at Twisted as someone who's been programming mainly in
Python for almost 6 years now, but who's never done any Twisted
development. I've used some of its prepackaged libraries before (and
did some custom tweaks to TwistedSNMP), but I don't really know much at
all about Twisted fundamentals.

The few reviews on Amazon seem to imply that it's more of a cookbook.
Would I be better off, for now, trying to get what I can from the
twistedmatrix.com docs, and then move to the book when I'm comfortable
with the basics? Or would the fact that I'm already pretty strong in
Python be enough that I could start with the book?

I considered posting this to the Twisted list instead, but thought I'd
try somewhere a little more impartial :)

Thanks in advance,
JayP.

  #2  
Old February 9th, 2006, 11:15 AM
Eddie Corns
Guest
 
Posts: n/a
Default Re: Twisted book opinions?

Jay Parlar <jparlar@cogeco.ca> writes:
[color=blue]
>I was hoping to get some c.l.p. opinions on O'Reilly's new Twisted book.[/color]

Well I certainly felt that I understood it better after reading the book.
OTOH I haven't tried to put that knowledge into practice yet.

I think calling it a cookbook is misleading, it shows how to do essential
tasks using fairly complete examples.

Eddie
  #3  
Old February 9th, 2006, 11:45 AM
Tim Parkin
Guest
 
Posts: n/a
Default Re: Twisted book opinions?

Eddie Corns wrote:[color=blue]
> Jay Parlar <jparlar@cogeco.ca> writes:
>
>[color=green]
>>I was hoping to get some c.l.p. opinions on O'Reilly's new Twisted book.[/color]
>
>
> Well I certainly felt that I understood it better after reading the book.
> OTOH I haven't tried to put that knowledge into practice yet.
>
> I think calling it a cookbook is misleading, it shows how to do essential
> tasks using fairly complete examples.[/color]

It's really more of an example based tutorial book than cookbook.
What it does do really well is 'networking programming essentials'. I
found it quite a good book and managed to write a distributed ssh cron
tool in an evening after reading the sections on SSH.

What I'd really like now is a 'Web Application Development with
Twisted/Nevow' book that takes off where this 'network protocol'
oriented book leaves off.

Tim Parkin
  #4  
Old February 9th, 2006, 02:45 PM
Andrew Gwozdziewycz
Guest
 
Posts: n/a
Default Re: Twisted book opinions?

> It's really more of an example based tutorial book than cookbook.[color=blue]
> What it does do really well is 'networking programming essentials'. I
> found it quite a good book and managed to write a distributed ssh cron
> tool in an evening after reading the sections on SSH.[/color]

I would second that. The examples are very good, and it breaks down
the code and explains the new concepts.
[color=blue]
> What I'd really like now is a 'Web Application Development with
> Twisted/Nevow' book that takes off where this 'network protocol'
> oriented book leaves off.[/color]

I thought the O'Reilly book was pretty decent at describing how to
setup a web application. It's not entirely complete, but I was able to
piece together an application with a somewhat complex web application
on top of it. Twisted made it quite easy.


--
Andrew Gwozdziewycz <apgwoz@gmail.com>
http://ihadagreatview.org
http://plasticandroid.org
  #5  
Old February 9th, 2006, 03:55 PM
Tim Parkin
Guest
 
Posts: n/a
Default Re: Twisted book opinions?

Andrew Gwozdziewycz wrote:[color=blue][color=green]
>>What I'd really like now is a 'Web Application Development with
>>Twisted/Nevow' book that takes off where this 'network protocol'
>>oriented book leaves off.[/color]
>
>
> I thought the O'Reilly book was pretty decent at describing how to
> setup a web application. It's not entirely complete, but I was able to
> piece together an application with a somewhat complex web application
> on top of it. Twisted made it quite easy.[/color]

OK perhaps I wasn't as clear as I could have been. It discusses the use
of Twisted with web protocols but doesn't really go into the current,
recommended way to build web applications (because at the time of
writing the possibility of api changes for nevow/twistedweb2 was quite
high?). In fact it does say in the book that "..if you are really
interested in building a web application you should be using nevow.. "
(paraphrased).

Tim Parkin
  #6  
Old February 18th, 2006, 06:55 PM
Jacob Hallen
Guest
 
Posts: n/a
Default Re: Twisted book opinions?

In article <mailman.1661.1139495753.27775.python-list@python.org>,
Andrew Gwozdziewycz <apgwoz@gmail.com> wrote:[color=blue][color=green]
>> It's really more of an example based tutorial book than cookbook.
>> What it does do really well is 'networking programming essentials'. I
>> found it quite a good book and managed to write a distributed ssh cron
>> tool in an evening after reading the sections on SSH.[/color]
>
>I would second that. The examples are very good, and it breaks down
>the code and explains the new concepts.
>[color=green]
>> What I'd really like now is a 'Web Application Development with
>> Twisted/Nevow' book that takes off where this 'network protocol'
>> oriented book leaves off.[/color]
>
>I thought the O'Reilly book was pretty decent at describing how to
>setup a web application. It's not entirely complete, but I was able to
>piece together an application with a somewhat complex web application
>on top of it. Twisted made it quite easy.[/color]

The book does Twisted basics very well. The examples are many and they are
just the right size for grasping how to do things.

My only gripe is that the way it produces HTML code in the web examples
is very primitive. You should be using Stan (a very Pythonic DOM) instead
of the explicit strings that are used throughout the book. Fortunately
there is an on-line tutorial for Stan, which is very good.

http://www.kieranholland.com/code/do...on/nevow-stan/

Jacob Hallén

--
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles