Course PYT105
Python Network Programming Using the Python Twisted Framework
Python Network Programming Using the Python Twisted Framework
Duration: 3 Days
Synopsis
This course will cover the installation, configuration, development and of the Twisted Framework and how to use it to implement TCP/IP based client server applications.
Case studies will include:
- Applications to access web pages and web services using the HTTP protocol
- Implementation of specialist web servers
- Implementing applications for sending and receiving email using POP, IMAP and SMTP protocols
- Developing specialist web services based on XML-RPC and SOAP
- Implementing custom SSH clients and SSH servers
- Implementing authentication mechanisms
Approximately 60% of the course will be devoted to instructor led presentations and 40% will be devoted to hands on lab work. The more complex case studies will be associated with lab work involving adapting and modifying their detailed functionality.
The main goal of the course is to provide a starting point for those wishing to implement specialist applications of their own.
Prerequisites
- Attendees are expected to be experienced Python programmers with some experience of web application development using HTML / XHTML, CSS , and JavaScript, a basic understanding of XML, and a basic understanding of TCP/IP sockets Programming.
Publicly scheduled dates, locations, and prices
A schedule of dates for this subject is not currently available. Please call Ajay Patel on 02086471939 to enquire about places and availability.
Contents
Overview of TCP/IP and sockets programming
Overview of TCP/IP application protocols - HTTP, SMTP, POP, IMAP, SSH, NNTP
Overview of XML, XML-RPC and SOAP
Overview of the structure and components of the Twisted Framework
Installing and configuring Twisted
Overview of Python Object Oriente Programming
Implementing simple clients and servers using Twisted
Implementing Web clients for downloading web pages and uploading files
Implementing HTTP web servers using Twisted
- Basic HTTP request and response handling
- Controlling access to resources
- Servers that interact with relational databases
- Implementing a Proxy server
Web services and XML-RPC
- Overview of the REST (Representational State Transfer) architecture
- Using Twisted to implement REST clients and REST servers
- Twisted support for XML-RPC and SOAP
- Building and testing SOAP Web Service servers and clients
- Sharing Python Objects using Perspective Broker
Authentication using Twisted
- Overview of twisted.cred
- Credentials
- Avatar
- Avatar-Ids
- The credentials checker
- Realms
- Portals
- Authentication against a database table
- Managing different user capabilities
- Integrating authentication into Perspective Broker
