|
Chapter 1 covers downloading and installing Twisted, and some additional libraries, on the operating system of your choice.Chapter 2 shows how you can use use Twisted to make TCP connections to servers, and how to write a server that accepts TCP connections from clients. Chapters 3 and 4 show how to use Twisted to work with the Web. Chapter 3 covers HTTP clients. Chapter 4 demonstrates how to write a web server of your own, from the basics of responding to HTTP requests to higher-level concepts like managing a hierarchy of resources and storing data in an SQL database. Twisted includes support for several different kinds of web services and remote procedure calls. Chapter 5 shows how you can design a Twisted web application for programmatic accessing using the REST architectural style. It also demonstrates how to write XML-RPC and SOAP clients and servers, and how you can use the Twisted Perspective Broker framework to transfer native Python objects over a network connection. Managing users and authentication is one of the core tasks in any server application. Chapter 6 discusses the Twisted authentication framework, which provides an extremely flexible approach to authenticating users against different backends. Chapters 7 and 8 demonstrate Twisted's powerful support for mail clients and servers. Chapter 7 shows how to write clients that send and receive mail using SMTP, POP3, and IMAP. Chapter 8 shows how to build SMTP, POP3, and IMAP servers. Chapter 9 discusses Usenet clients and servers using the NNTP protocol. It shows how to read and post Usenet articles, how to run an NNTP server, and how to use NNTP as an interface for other kinds of messages, such as RSS feeds. Chapter 10 covers Twisted's support for SSH. It demonstrates how to write your own SSH server to give users remote shell access to your application, and how you can provide a live Python prompt over SSH for administering or debugging a running server. This chapter also shows how to write an SSH client to execute commands on a remote server. Chapter 11 shows how to use the tools Twisted provides for running and managing applications, which give you the ability to run daemon processes, use setuid and chroot to limit permissions, and write log files. Download free pdf ebooks of networking: Twisted Network Programming Essentials - O'Reilly
|
More computer ebooks
Chapter 1 covers downloading and installing Twisted, and some additional libraries, on the operating system of your choice.