There are a lot of network tasks that developers may have on their wish lists for projects, but never seriously consider because of the amount of work involved to pull them off - tasks such as giving an application an embedded SSH server for administration, or writing a custom IMAP server. New O'Reilly book comes to the assistance.
"You might think it would be helpful to write your own IMAP server, but then you look at the IMAP spec and you think about the months it would take just to get your app speaking the IMAP protocol, and you say 'forget it,'" says Abe Fettig, a software developer who specializes in network communication and integration. For Fettig, the answer to this problem was found in Twisted, an open source network-application written in Python. Says Fettig, "With Twisted you can write SSH and IMAP servers, and lots of other things, because all the heavy lifting has been done for you."
According to Fettig, Twisted makes it possible to do what you may have thought impossible. "Twisted is unique in that it offers high-level interfaces for network communications, while being powerful enough that you won't outgrow it. Like Python itself, it hides the nasty low-level details without feeling dumbed down," notes Fettig. The secret then to mastering this powerful programming tool is his new book, "Twisted Network Programming Essentials". One of Twisted's great strengths is its comprehensive support for a wide range of protocols. With Twisted, developers can focus on what they want to do and on the applications they want to deliver, without having to implement the underlying network protocols.
Networked applications are the present and future of programming according to Fettig, and with Twisted, developers can set themselves up for success in these areas. "Developers are building apps that use the web, email, instant messaging, usenet, file sharing, VoIP, etc.," Fettig says. "It's going to become increasingly important for applications to communicate with other services on the Internet and to handle multiple concurrent network connections gracefully. Twisted has the features that you need (even if you don't know you need them yet), and it's flexible enough that you'll be able to adapt quickly. The requirements for Internet apps are going to become increasingly sophisticated as time goes on, so it's good to use a framework that gives you lots of headroom."
In "Twisted Network Programming Essentials" readers learn how to:
Related links: (Open in a new window.)
www.oreilly.com/catalog/twistedadn/index.html
View printable version (opens in new window)
Back