Scripting with Objects: A Comparative Presentation of Object-Oriented Scripting with Perl and Python

  • 24h 10m
  • Avinash C. Kak
  • John Wiley & Sons (US)
  • 2008

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.

About the Author

Avinash C. Kak is a Professor of Electrical and Computer Engineering at Purdue University. His previous Wiley book, Programming with Objects: A Comparative Presentation of Object-Oriented Programming with C++ and Java, is used by a number of institutions for teaching advanced programming.

In this Book

  • Multilanguage View of Application Development and OO Scripting
  • Perl — A Review of the Basics
  • Python — A Review of the Basics
  • Regular Expressions for String Processing
  • References in Perl
  • The Notion of a Class in Perl
  • The Notion of a Class in Python
  • Inheritance and Polymorphism in Perl
  • Inheritance and Polymorphism in Python
  • Handling Exceptions
  • Abstract Classes and Methods
  • 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
SHOW MORE
FREE ACCESS

YOU MIGHT ALSO LIKE

Rating 4.5 of 122 users Rating 4.5 of 122 users (122)
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)