did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780130652065

Programming Perl in the .NET Environment

by ; ;
  • ISBN13:

    9780130652065

  • ISBN10:

    0130652067

  • Edition: 1st
  • Format: Paperback
  • Copyright: 2002-09-24
  • Publisher: Addison-Wesley Professional
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $44.99
We're Sorry.
No Options Available at This Time.

Summary

-- Contains complete programming examples, including a case study, and not just code snippets.-- Complete and accurate coverage of how to use .NET components in PerlNET- with detailed explanations and discussion of Component Development in PerlNET.-- Advanced .NET programming issues: ADO.NET, ASP.NET, Web Services and their usage in PerlNET.With Perl.NET it is now possible to use and create .NET components and to wrap existing Peri modules so that they are available to all .NET compliant languages. Perl.NET enables you to enjoy both worlds - .NET and Perl. By combining their features you'll have an ability to develop powerful robust components that may be reused in other .NET applications. This book provides many programs that illustrate features of Peri and .NET. The programs are clearly labeled in the text, and they are available through the associated Web site. There is also a case study that illustrates many features of Peri and .NET working together in combination, as they would in a practical application. The authors show you how to use .NET classes in Peri programs and how to create .NET components using Perl. Important .NET classes are surveyed, and there is coverage of using .NET in specific areas, including graphical user interfaces, database programming using ADO.NET, XML, ASP.NET and Web services. Also, in the appendix "C# Survival Guide" you will see how Peri interoperates with .NET languages, using C#, the language designed for .NET, a

Author Biography

YEVGENY MENAKER is a developer, author, and Linux consultant. He has managed an Internet applications team focusing on new and advanced Internet technologies for the past three years.He has also worked in a bioinformatics research group developing Perl and Web applications.

MICHAEL SALTZMAN is the founder of /training/etc, a firm that specializes in Java, Perl, C/C++, Unix/Linux, Oracle, and XML training. He has been actively involved in writing courseware and teaching for over 25 years, and is author of Modern Perl Programming (Prentice Hall PTR).

DR. ROBERT J. OBERG is founder and President of Object Innovations, a leading developer of integrated courseware on .NET and other strategic software. He is editor of the Integrated .NET Series from Object Innovations and Prentice Hall PTR. Oberg's recent books include Introduction to C# Using .NET. He is also co-author of Application Development Using C# and .NET (Prentice Hall PTR).

Table of Contents

Foreword.
Preface.
About This Series.

I. INTRODUCTION TO .NET AND PERL.

1.NET Framework.
.NET: What You Need to Know. A Testbed for PerlNET. What Is Microsoft .NET? .NET Framework Overview. Common Language Runtime. Summary.

2. Writing Simple Programs in Perl.
Your First Perl Program. Perl Variables. Simple Input and Output. Control Flow Constructs. Altering Control Flow. Special Perl Variables. Summary.

3. Operators in Perl.
Perl Operators. Operators Taken from C Language. Native Perl Operators. String Functions. File Inquiry Operators. Summary.

4. Array and Hash Functionality.
Array Manipulation. Hashes (Associative Arrays). Useful Hash Examples. Built-in Arrays and Hashes. Summary.

5. Subprograms.
Organization of Subroutines . Passing Arguments to Subroutines. Returning a Value from a Subroutine. Perl Libraries. The Standard Perl Library. Packages. Writing Special Sort Functions. Summary.

6. Perl References.
References to Various Perl Datatypes. Anonymous References. Complex Data Structures. Collections of Records. Summary.

7. Object-Oriented Programming.
The Vocabulary of Object Orientation. Defining and Using Objects. Inheritance. Summary.

8. The Comprehensive Perl Archive Network.
Format of Perl Modules. A Real Module: Roman.pm. Plain Old Documentatio n. Downloading Perl Modules with ppm. The Comprehensive Perl Archive Network. Summary.

II. PROGRAMMING WITH PERLNET.


9. First Steps in PerlNET.
Your First PerlNET Program. Main Function. Namespaces. Expressions. Marshalling Types. Input/Output. Main Sample. Summary.

10. Using .NET Components in PerlNET Programs.
Components Overview. .NET Classes. .NET Types and PerlNET. Class Usage in General. An Object's Life Cycle. Calling Methods. Properties and Fields. Stock Management: Step 1. Useful Types. Summary.

11. Creating .NET Components: Pure Perl Types.
Component Development. Component Sample. Your Own PerlNET Component. Wrapping Existing Perl Modules. Summary.

12. Component Development: In-Depth Discussion.
PerlNET Component Types. Inheritance. Interface. Exceptions. Summary.

13. .NET Framework Classes.
System.Object. Garbage Collection and Finalization. Directories and Files. Files and Streams. Multiple Thread Programming. More About Delegates. Summary.

14. GUI Programming: Windows Forms.
GUI and .NET. Creating a Simple Windows Form. Events Handling. Menus. Controls. Stock Management Case Study. Summary.

15. Database Programming with ADO.NET.
Data Providers. The Visual Studio.NET Server Explorer. ADO.NET Connection. Connected Database Scenario. The Disconnected Database Scenario. Stock Management System Case Study. Summary.

16. ASP.NET Web Development and PerlASPX.
Prerequisites. What Is ASP.NET? Web Forms. Response and Request Handling. HTML Representation of Web Forms. ASP.NET Applications. Using PerlNET Components in ASP.NET. Stock Query. Web Services. Summary.

Appendix A. Visual Studio .NET and Visual Perl.
Overview of Visual Studio .NET. Creating a Managed Exe Application. Debugging in Visual Studio and Visual Perl. Summary.

Appendix B. C# Survival Guide for PerlNET Programmers.
Hello, World in C# (Object-Oriented Version). Hello, World (Component Version). Performing Calculations in C#. C# Type System. Inheritance in C#. Case Study. Summary.

Index.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Excerpts

Preface Microsoft .NET is an advance in programming technology that greatly simplifies application development both for traditional, proprietary applications and for the emerging paradigm of web services. The technology was designed to grow and evolve by providing us an option to add third-party products, such as plug-ins for Visual Studio and compilers for different languages. As part of an effort to integrate the popular Perl language into the Microsoft development environment in general and into the .NET family specifically, ActiveState has recently released a new product, PerlNET, which is part of the Perl Development Kit. With PerlNET it is now possible to use and create .NET components and to wrap existing Perl modules so that they are available to all .NET-compliant languages. PerlNET enables you to enjoy both worlds--.NET and Perl. By combining their features you'll have an ability to develop powerful robust components that may be reused in other .NET applications. Audience This book is intended for both .NET and Perl programmers to help bring these two rich worlds together. In Perl there is a saying: "there is always more than one way to do it." That is even more true now, as you can add "the .NET way." If you are a Perl programmer, this book will help you understand .NET and the vast array of services available to you. You will learn how, through Web services, you can connect to a wide variety of heterogeneous systems using standard Internet protocols. If you are a .NET programmer, you will learn why Perl has become one of the most popular languages in the world and how to access the vast CPAN archive of Perl modules. Overview and Organization The book has been designed to make it easy for you to navigate to what you need to know. Part 1 is an introduction to .NET and Perl and should be at least skimmed by everyone, with different emphasis depending on your background. Chapter 1 introduces .NET and covers the fundamentals of the .NET Framework. It also guides you to setting up a testbed consisting of .NET, Perl, and the special tools provided by ActiveState. If you are an experienced Perl programmer, you can skip directly to Part 2. If you are new to Perl, you can quickly come up to speed with the tutorial on Core Perl in Chapters 2 to 8. It includes an in-depth treatment of objects in Perl and introduces the CPAN Perl archive. The treatment of Core Perl is very generic, and you will easily be able to apply what you have learned to any system that supports Perl. You can read much more about Perl in the bookModern Perl Programmingby Michael Saltzman (Prentice Hall PTR, 2002). In that book you can also learn how to program Perl in a Unix environment. In this book we focus on programming Perl in Windows. Part of the joy of programming Perl in Windows is Visual Perl, which is an add-on to Visual Studio .NET. We cover Visual Studio and Visual Perl in Appendix A. Part 2 covers in detail the use of PerlNET to bring together the worlds of .NET and Perl. We show you how to use .NET classes in Perl programs and how to create .NET components using Perl. Important .NET classes are surveyed, and there is coverage of using .NET in specific areas, including graphical user interfaces, database programming, and using ADO.NET, ASP.NET, and Web services. You can learn much more about .NET from other books in The Integrated .NET Series. Also, Appendix B, "C# Survival Guide for PerlNET Programmers," will help you get started with C#, and you can see how Perl interoperates with .NET languages, using C#, the language designed for .NET, as an example. Sample Programs The only way to really learn a programming language is to read and write many, many programs. This book provides many programs that illustrate features of Perl and .NET. The sample programs are provided in a self-extracting file on the book's Web site. When expanded, a directory st

Rewards Program