Foundations of Python Network Programming: The comprehensive guide to building network applications with Python, 2/e (Paperback)
暫譯: Python 網路程式設計基礎:使用 Python 建立網路應用程式的全面指南,第二版 (平裝本)
John Goerzen
- 出版商: Apress
- 出版日期: 2010-12-21
- 售價: $2,570
- 貴賓價: 9.5 折 $2,442
- 語言: 英文
- 頁數: 368
- 裝訂: Paperback
- ISBN: 1430230037
- ISBN-13: 9781430230038
-
相關分類:
Python、程式語言
-
其他版本:
Foundations of Python Network Programming, 3/e (Paperback)
買這商品的人也買了...
-
$880$695 -
$360$324 -
$650$514 -
$520$411 -
$780$616 -
$550$468 -
$580$458 -
$400$380 -
$480$379 -
$480$379 -
$499$394 -
$380$300 -
$450$351 -
$580$452 -
$520$406 -
$580$458 -
$680$537 -
$490$387 -
$580$493 -
$420$378 -
$480$408 -
$360$281 -
$560$437 -
$320$253 -
$880$748
商品描述
This second edition of Foundations of Python Network Programming targets Python 2.5 through Python 2.7, the most popular production versions of the language. Python has made great strides since Apress released the first edition of this book back in the days of Python 2.3. The advances required new chapters to be written from the ground up, and others to be extensively revised.
You will learn fundamentals like IP, TCP, DNS and SSL by using working Python programs; you will also be able to familiarize yourself with infrastructure components like memcached and message queues. You can also delve into network server designs, and compare threaded approaches with asynchronous event-based solutions.
But the biggest change is this edition's expanded treatment of the web. The HTTP protocol is covered in extensive detail, with each feature accompanied by sample Python code. You can use your HTTP protocol expertise by studying an entire chapter on screen scraping and you can then test lxml and BeautifulSoup against a real-world web site. The chapter on web application programming now covers both the WSGI standard for component interoperability, as well as modern web frameworks like Django.
Finally, all of the old favorites from the first edition are back: E-mail protocols like SMTP, POP, and IMAP get full treatment, as does XML-RPC. You can still learn how to code Python network programs using the Telnet and FTP protocols, but you are likely to appreciate the power of more modern alternatives like the paramiko SSH2 library. If you are a Python programmer who needs to learn the network, this is the book that you want by your side.
What you’ll learn
- Understand low level networking
- Handle sending and receiving email including composing and decoding emails, SMTP, POP and IMAP
- Program the lower levels of web application programming such as FastCGI and WSGI and HTTP itself
- Learn how to use memcached and message qeues using Python
- Access web services using Python
- Master multitasking with threads, forking, and asynchronous communication
Who this book is for
This book will be of interest to python programmers who need to program networked applications using Python. From web application developers, to systems integrators, to system administrators—this book has everything you need to know.
Table of Contents
- Introduction to Client/Server Networking
- UDP
- TCP
- Socket Names and DNS
- Network Data and Network Errors
- TLS and SSL
- Server Architecture
- Caches, Message Queues, and Map-Reduce
- HTTP
- Screen Scraping
- Web Applications
- E-mail Composition and Decoding
- SMTP
- POP
- IMAP
- Telnet and SSH
- FTP
- RPC
商品描述(中文翻譯)
這本《Python 網路程式設計基礎》的第二版針對 Python 2.5 到 Python 2.7,這是該語言最受歡迎的生產版本。自從 Apress 在 Python 2.3 時期發行第一版以來,Python 已經取得了巨大的進步。這些進展需要從頭開始撰寫新的章節,並對其他章節進行了廣泛的修訂。
您將通過使用實際的 Python 程式學習 IP、TCP、DNS 和 SSL 等基本概念;您還將能夠熟悉像 memcached 和消息佇列等基礎設施組件。您還可以深入了解網路伺服器設計,並比較線程方法與基於事件的非同步解決方案。
但最大的變化是本版對網路的擴展處理。HTTP 協議被詳細介紹,每個特性都附有示範的 Python 代碼。您可以通過學習整個章節的螢幕擷取技術來運用您的 HTTP 協議專業知識,然後可以在實際的網站上測試 lxml 和 BeautifulSoup。關於網路應用程式編程的章節現在涵蓋了組件互操作性的 WSGI 標準,以及像 Django 這樣的現代網路框架。
最後,第一版中的所有舊愛都回來了:電子郵件協議如 SMTP、POP 和 IMAP 都得到了充分的處理,XML-RPC 也是如此。您仍然可以學習如何使用 Telnet 和 FTP 協議編寫 Python 網路程式,但您可能會更欣賞像 paramiko SSH2 庫這樣的現代替代方案的強大。如果您是一位需要學習網路的 Python 程式設計師,這本書將是您身邊的最佳夥伴。
您將學到的內容:
- 理解低層次的網路
- 處理發送和接收電子郵件,包括撰寫和解碼電子郵件、SMTP、POP 和 IMAP
- 編程網路應用程式的低層次,如 FastCGI 和 WSGI 以及 HTTP 本身
- 學習如何使用 Python 使用 memcached 和消息佇列
- 使用 Python 訪問網路服務
- 精通使用線程、多重任務和非同步通信
這本書適合誰:
這本書將吸引需要使用 Python 編程網路應用程式的 Python 程式設計師。從網路應用程式開發人員到系統整合商,再到系統管理員——這本書擁有您需要知道的一切。
目錄:
1. 客戶端/伺服器網路介紹
2. UDP
3. TCP
4. 套接字名稱和 DNS
5. 網路數據和網路錯誤
6. TLS 和 SSL
7. 伺服器架構
8. 快取、消息佇列和 Map-Reduce
9. HTTP
10. 螢幕擷取
11. 網路應用程式
12. 電子郵件撰寫和解碼
13. SMTP
14. POP
15. IMAP
16. Telnet 和 SSH
17. FTP
18. RPC