Scripting with Objects: A Comparative Presentation of Object-Oriented Scripting with Perl and Python
暫譯: 物件導向腳本編程:Perl 與 Python 的比較介紹
Avinash C. Kak
- 出版商: IEEE
- 出版日期: 2008-03-28
- 售價: $3,210
- 貴賓價: 9.5 折 $3,050
- 語言: 英文
- 頁數: 1280
- 裝訂: Paperback
- ISBN: 0470179236
- ISBN-13: 9780470179239
-
相關分類:
Perl 程式語言、Python、程式語言、Object-oriented
已絕版
買這商品的人也買了...
-
$580$458 -
$450$405 -
$580$458 -
$880$748 -
$260$205 -
$1,000$700 -
$680$537 -
$480$379 -
$400$380 -
$199$157 -
$560$442 -
$880$695 -
$320$272 -
$420$332 -
$520$411 -
$520$411 -
$480$379 -
$520$406 -
$480$379 -
$520$411 -
$380$300 -
$450$383 -
$680$578 -
$500$390 -
$580$458
商品描述
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 或反之的業界專業人士的理想資源。