Book description
Thorough coverage of Microsoft's new dynamic programming language: IronPython
IronPython is a powerful and vital part of any .NET developer's toolbox, and although it is several years old, very little literature exists on the topic. This essential resource fills that void and provides you with an in-depth understanding of IronPython.
A brief introduction walks you through the installation, usage, and tools of IronPython and also explains what makes IronPython different from other programming languages. Coverage quickly moves on to explaining how to use and work with the IronPython language, and an in-depth look at its environment sheds light on how it can be stand alone or with the .NET Framework. You'll see how IronPython can be used to create either desktop or Web-based applications and you'll witness how it interacts with other existing technologies. In addition, coverage of advanced topics shares techniques for extending IronPython and making it a robust language.
Provides you with an in-depth look at IronPython, how it is different from other programming languages, what it is capable of, and how to maximize its potential
Explores how IronPython interacts with existing technologies and how it can perform administration tasks
Answers popular questions, such as how to extend IronPython and make it a more robust language
Tackles topics not addressed anywhere else, including executing IronPython using Mono
You'll want to devour every topic covered in Professional IronPython so you can get started working with this powerful programming language today.
Table of contents
- Copyright
- CREDITS
- ABOUT THE AUTHOR
- ABOUT THE TECHNICAL EDITOR
- ACKNOWLEDGMENTS
- INTRODUCTION
-
I. Introducing IronPython
-
1. Discovering IronPython
- 1.1. AN OVERVIEW OF IRONPYTHON
- 1.2. GETTING IRONPYTHON
- 1.3. UNDERSTANDING THE DYNAMIC LANGUAGE RUNTIME
- 1.4. USING THE IRONPYTHON CONSOLE
- 1.5. USING THE IRONPYTHON WINDOWED ENVIRONMENT
- 1.6. CREATING YOUR FIRST APPLICATION
- 1.7. USING IRONPYTHON CONSTRUCTIVELY
- 2. Understanding the IronPython Basics
-
1. Discovering IronPython
-
II. Using the IronPython Language
- 3. Implementing Structured Language Elements
-
4. Using Arrays and Collections
-
4.1. WORKING WITH TUPLES, LISTS, AND ARRAYS
- 4.1.1. Understanding Tuples, Lists, and Arrays
- 4.1.2. Creating and Accessing Single-Dimension Arrays
- 4.1.3. Manipulating Single-Dimension Arrays
- 4.1.4. Working with Multi-Dimension Arrays
- 4.1.5. Using the range() Function
- 4.1.6. Processing Arrays Using the break and else Clauses
- 4.1.7. Processing Arrays Using the continue Clause
- 4.1.8. Using the enumerate() Function
- 4.2. WORKING WITH THE COLLECTIONS MODULE
- 4.3. USING DICTIONARIES
- 4.4. USING IRONPYTHON CONSTRUCTIVELY
-
4.1. WORKING WITH TUPLES, LISTS, AND ARRAYS
- 5. Interacting with Structures and Objects
-
III. Working with IronPython
- 6. Using the Python Standard Library
- 7. Accessing the .NET Framework
-
8. Creating Windows Forms Applications
- 8.1. WORKING WITHOUT A VISUAL DESIGNER
- 8.2. DEFINING WINDOWS FORMS
- 8.3. INTERACTING WITH PREDEFINED AND CUSTOM EVENTS
- 8.4. USING IRONPYTHON CONSTRUCTIVELY
-
9. Interacting with COM Objects
- 9.1. AN OVERVIEW OF COM ACCESS DIFFERENCES WITH PYTHON
- 9.2. CHOOSING A BINDING TECHNIQUE
-
9.3. DEFINING AN INTEROP DLL
- 9.3.1. Accessing the Visual Studio .NET Utilities
- 9.3.2. Understanding the Type Library Import Utility
- 9.3.3. Understanding the ActiveX Import Utility
- 9.3.4. Creating the Windows Media Player Interop DLL
- 9.3.5. Exploring the Windows Media Player Interop DLL
- 9.3.6. Using the Windows Media Player Interop DLL
- 9.4. PERFORMING LATE BINDING USING ACTIVATOR.CREATEINSTANCE()
- 9.5. PERFORMING LATE BINDING USING MARSHAL.GETACTIVEOBJECT()
- 9.6. USING IRONPYTHON CONSTRUCTIVELY
-
10. Using IronPython for Administration Tasks
- 10.1. UNDERSTANDING THE COMMAND LINE
- 10.2. INTERACTING WITH THE ENVIRONMENT
- 10.3. STARTING OTHER COMMAND LINE APPLICATIONS
- 10.4. PROVIDING STATUS INFORMATION
- 10.5. USING IRONPYTHON CONSTRUCTIVELY
-
11. Developing ASP.NET Applications
- 11.1. CONSIDERING IRONPYTHON WEB APPLICATION COMPATIBILITY
- 11.2. OBTAINING ASP.NET DYNAMIC LANGUAGE SUPPORT
- 11.3. CREATING A WEB SITE
- 11.4. BUILDING A BASIC ASP.NET SITE USING IRONPYTHON
- 11.5. USING IRONPYTHON CONSTRUCTIVELY
- 12. Debugging IronPython Applications
-
IV. Advanced IronPython Topics
- 13. Working with XML Data
-
14. Interacting with the DLR
- 14.1. OBTAINING DLR
- 14.2. WORKING WITH HOSTING APIS
- 14.3. UNDERSTANDING THE EXTENSIONS TO LINQ EXPRESSION TREE
- 14.4. CONSIDERING DYNAMICSITE
- 14.5. WORKING WITH IDYNAMICOBJECT
- 14.6. UNDERSTANDING THE ACTIONBINDER
- 14.7. UNDERSTANDING THE OTHER DLR FEATURES
- 14.8. USING IRONPYTHON CONSTRUCTIVELY
-
15. Using IronPython from Other .NET Languages
- 15.1. UNDERSTANDING THE RELATIONSHIP BETWEEN DYNAMIC AND STATIC LANGUAGES
- 15.2. CREATING AN EXTERNALLY ACCESSIBLE IRONPYTHON MODULE
- 15.3. ACCESSING THE MODULE FROM C#
- 15.4. ACCESSING THE MODULE FROM VISUAL BASIC.NET
- 15.5. DEVELOPING TEST PROCEDURES FOR EXTERNAL MODULES
- 15.6. DEBUGGING THE EXTERNAL MODULE
- 15.7. USING IRONPYTHON CONSTRUCTIVELY
-
16. Extending IronPython Using C#
- 16.1. UNDERSTANDING THE REQUIREMENTS FOR AN EXTENSION
- 16.2. CONSIDERING IRONPYTHON AND STATIC LANGUAGE DIFFERENCES
- 16.3. CREATING THE SIMPLE C# EXTENSION
- 16.4. USING C# FOR USER INTERFACE SUPPORT
- 16.5. USING C# FOR WIN32 SUPPORT
- 16.6. USING IRONPYTHON CONSTRUCTIVELY
-
17. Extending IronPython Using Visual Basic.NET
- 17.1. CONSIDERING C# AND VISUAL BASIC.NET EXTENSION SIMILARITIES
- 17.2. CREATING THE SIMPLE VISUAL BASIC.NET EXTENSION
- 17.3. USING VISUAL BASIC.NET FOR USER INTERFACE SUPPORT
- 17.4. USING VISUAL BASIC.NET FOR DATABASE SUPPORT
- 17.5. USING IRONPYTHON CONSTRUCTIVELY
- 18. Using IronPython for Application Testing
- 19. Using IronPython with Mono
- A. IronPython Differences with CPython
- B. CPython Extensions for IronPython
Product information
- Title: Professional IronPython™
- Author(s):
- Release date: April 2010
- Publisher(s): Wrox
- ISBN: 9780470548592
You might also like
book
Programming in the .NET Environment
is the software developer's guide to the .NET Framework. The authors describe Microsoft's vision for distributed …
book
Introduction to JVM Languages
Explore the Java Virtual Machine with modern programming languages About This Book This guide provides in-depth …
book
Programming .NET Security
With the spread of web-enabled desktop clients and web-server based applications, developers can no longer afford …
book
Microsoft Visual C++/CLI Step by Step
Your hands-on guide to Visual C++/CLI fundamentals Expand your expertise—and teach yourself the fundamentals of the …