Scripting with Objects: A Comparative Presentation of Object-Oriented Scripting with Perl and Python
暫譯: 物件導向腳本編程:Perl 與 Python 的比較介紹

Avinash C. Kak

  • 出版商: Wiley
  • 出版日期: 2008-06-01
  • 售價: $4,810
  • 貴賓價: 9.5$4,570
  • 語言: 英文
  • 頁數: 1320
  • 裝訂: Paperback
  • ISBN: 047039725X
  • ISBN-13: 9780470397251
  • 相關分類: Perl 程式語言Python程式語言Object-oriented
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Object-Oriented scripting with Perl and Python

Scripting languages are becoming increasingly important for software development. These higher-level languages, with their built-in easy-to-use data structures are convenient for programmers to use as "glue" languages for assembling multi-language applications and for quick prototyping of software architectures. Scripting languages are also used extensively in Web-based applications. Based on the same overall philosophy that made Programming with Objects such a wide success, Scripting with Objects takes a novel dual-language approach to learning advanced scripting with Perl and Python, the dominant languages of the genre. This method of comparing basic syntax and writing application-level scripts is designed to give readers a more comprehensive and expansive perspective on the subject.

Beginning with an overview of the importance of scripting languages—and how they differ from mainstream systems programming languages—the book explores:

  • Regular expressions for string processing

  • The notion of a class in Perl and Python

  • Inheritance and polymorphism in Perl and Python

  • Handling exceptions

  • Abstract classes and methods in Perl and Python

  • Weak references for memory management

  • Scripting for graphical user interfaces

  • Multithreaded scripting

  • Scripting for network programming

  • Interacting with databases

  • Processing XML with Perl and Python

This book serves as an excellent textbook for a one-semester undergraduate course on advanced scripting in which the students have some prior experience using Perl and Python, or for a two-semester course for students who will be experiencing scripting for the first time. Scripting with Objects is also an ideal resource for industry professionals who are making the transition from Perl to Python, or vice versa.

商品描述(中文翻譯)

物件導向的 Perl 和 Python 腳本編寫

腳本語言在軟體開發中變得越來越重要。這些高階語言擁有內建的易用資料結構,方便程式設計師用作「黏合」語言,以組裝多語言應用程式和快速原型設計軟體架構。腳本語言在基於網路的應用程式中也被廣泛使用。基於使物件導向程式設計如此成功的整體理念,《物件導向腳本編寫》採取了一種新穎的雙語言方法來學習進階腳本編寫,專注於 Perl 和 Python 這兩種主流語言。這種比較基本語法和編寫應用程式級腳本的方法旨在為讀者提供更全面和廣泛的主題視角。

本書首先概述了腳本語言的重要性,以及它們與主流系統程式語言的不同,接著探討以下主題:

- 字串處理的正規表達式
- Perl 和 Python 中的類別概念
- Perl 和 Python 中的繼承和多型
- 處理例外
- Perl 和 Python 中的抽象類別和方法
- 用於記憶體管理的弱引用
- 圖形使用者介面的腳本編寫
- 多執行緒腳本編寫
- 網路程式設計的腳本編寫
- 與資料庫互動
- 使用 Perl 和 Python 處理 XML

本書是針對一學期的進階腳本編寫本科課程的優秀教材,適合已經有使用 Perl 和 Python 經驗的學生,或是針對第一次接觸腳本編寫的學生的兩學期課程。《物件導向腳本編寫》也是對於從 Perl 轉向 Python 或反之的業界專業人士的理想資源。