You are previewing Programming PERL in the .NET Environment.
O'Reilly logo
Programming PERL in the .NET Environment

Book Description

  • Master PerlNET: the best of Perl and .NET together!

  • Build fully compliant .NET components in Perl

  • Practical, hands-on coverage of programming with Perl for Windows Forms, ADO.NET, ASP.NET, and more

  • Running case study: see how Perl and .NET concepts work together in a business application

  • Foreword by Dick Hardt, CEO of ActiveState

  • Get the best of both worlds: Perl flexibility and .NET power!

    ActiveState's new PerlNET combines the incredibly flexible and useful Perl programming language with the immense resources and power of Microsoft's .NET platform. Programming Perl in the .NET Environment will help you make the most of Perl and .NET together—whether you're already familiar with Perl, or .NET, or neither. Using extensive code examples and a running case study, this book gives you practical insight for building robust object-oriented PerlNET applications, graphical user interfaces, database applications, and a whole lot more.

  • A practical overview of the .NET Framework and Common Language Runtime

  • Complete Perl programming review: operators, arrays, hashes, object-oriented Perl, and more

  • Using and creating .NET components with PerlNET

  • Leveraging the full power of the .NET Framework Classes

  • Graphical Perl programming with Windows Forms

  • Database integration with ADO.NET

  • Easy Web application and service development with Perl for ASP.NET (PerlASPX)

  • A detailed appendix on Visual Perl, the full-featured Perl plug-in for Visual Studio .NET

  • Table of Contents

    1. Copyright
    2. The Integrated .NET Series from Object Innovations and Prentice Hall PTR
    3. Foreword
    4. Preface
    5. The Integrated .NET Series from Object Innovations and Prentice Hall PTR
    6. Introduction to .NET and Perl
      1. .NET Framework
        1. .NET: What You Need to Know
        2. A Testbed for PerlNET
        3. What Is Microsoft .NET?
        4. .NET Framework Overview
        5. Common Language Runtime
        6. Summary
      2. Writing Simple Programs in Perl
        1. Your First Perl Program
        2. Perl Variables
        3. Simple Input and Output
        4. Control Flow Constructs
        5. Altering Control Flow
        6. Special Perl Variables
        7. Summary
      3. Operators in Perl
        1. Perl Operators
        2. Operators Taken from C Language
        3. Native Perl Operators
        4. String Functions
        5. File Inquiry Operators
        6. Summary
      4. Array and Hash Functionality
        1. Array Manipulation
        2. Hashes (Associative Arrays)
        3. Useful Hash Examples
        4. Built-in Arrays and Hashes
        5. Summary
      5. Subprograms
        1. Organization of Subroutines
        2. Passing Arguments to Subroutines
        3. Returning a Value from a Subroutine
        4. Perl Libraries
        5. The Standard Perl Library
        6. Packages
        7. Writing Special Sort Functions
        8. Summary
      6. Perl References
        1. References to Various Perl Datatypes
        2. Anonymous References
        3. Complex Data Structures
        4. Collections of Records
        5. Summary
      7. Object-Oriented Programming
        1. The Vocabulary of Object Orientation
        2. Defining and Using Objects
        3. Inheritance
        4. Summary
      8. The Comprehensive Perl Archive Network
        1. Format of Perl Modules
        2. A Real Module:
        3. Plain Old Documentation
        4. Downloading Perl Modules with ppm
        5. The Comprehensive Perl Archive Network
        6. Summary
    7. Programming with PerlNET
      1. First Steps in PerlNET
        1. Your First PerlNET Program
        2. Main Function
        3. Namespaces
        4. Expressions
        5. Marshalling Types
        6. Input/Output
        7. Main Sample
        8. Summary
      2. Using .NET Components in PerlNET Programs
        1. Components Overview
        2. .NET Classes
        3. .NET Types and PerlNET
        4. Class Usage in General
        5. An Object's Life Cycle
        6. Calling Methods
        7. Properties and Fields
        8. Stock Management: Step 1
        9. Useful Types
        10. Summary
      3. Creating .NET Components: Pure Perl Types
        1. Component Development
        2. Component Sample
        3. Your Own PerlNET Component
        4. Wrapping Existing Perl Modules
        5. Summary
      4. Component Development: In-Depth Discussion
        1. PerlNET Component Types
        2. Inheritance
        3. Interfaces
        4. Exceptions
        5. Summary
      5. .NET Framework Classes
        1. System.Object
        2. Garbage Collection and Finalization
        3. Directories and Files
        4. Multiple Thread Programming
        5. More About Delegates
        6. Summary
      6. GUI Programming: Windows Forms
        1. GUI and .NET
        2. Creating a Simple Windows Form
        3. Events Handling
        4. Menus
        5. Controls
        6. Stock Management Case Study
        7. Summary
      7. Database Programming with ADO.NET
        1. Data Providers
        2. The Visual Studio.NET Server Explorer
        3. ADO.NET Connection
        4. Connected Database Scenario
        5. The Disconnected Database Scenario
        6. Stock Management System Case Study
        7. Summary
      8. ASP.NET Web Development and PerlASPX
        1. Prerequisites
        2. What Is ASP.NET?
        3. Web Forms
        4. Response and Request Handling
        5. HTML Representation of Web Forms
        6. ASP.NET Applications
        7. Using PerlNET Components in ASP.NET
        8. Stock Query
        9. Web Services
        10. Summary
    8. Visual Studio .NET and Visual Perl
      1. Overview of Visual Studio .NET
      2. Creating a Managed Exe Application
      3. Debugging in Visual Studio and Visual Perl
      4. Summary
    9. C# Survival Guide for PerlNET Programmers
      1. Hello, World in C# (Object-Oriented Version)
      2. Hello, World (Component Version)
      3. Performing Calculations in C#
      4. C# Type System
      5. Inheritance in C#
      6. Case Study
      7. Summary
    11. Object Innovations .NET Training Partners
      5. DB BASICS
      6. DEVCOM
      7. FOCAL POINT
      8. I/SRG
      11. /TRAINING/ETC INC.