Skip to main content
  • Book
  • © 2010

Pro DLR in .NET 4

Apress

Authors:

  • Pro DLR in .NET 4 brings comprehensive coverage of Microsoft's Dynamic Language Runtime, that for the first time places dynamic languages such as Python and Ruby on an equal footing with compiled languages such as C# and VB.NET.

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (12 chapters)

  1. Front Matter

    Pages i-xviii
  2. DLR Fundamentals

    1. Front Matter

      Pages 1-1
    2. Introduction to DLR

      • Chaur Wu
      Pages 3-25
    3. DLR Expression

      • Chaur Wu
      Pages 27-63
    4. Late Binding and Caching

      • Chaur Wu
      Pages 65-86
    5. Late Binding and Interoperability

      • Chaur Wu
      Pages 87-107
    6. Dynamic Objects

      • Chaur Wu
      Pages 109-131
    7. DLR Hosting API

      • Chaur Wu
      Pages 133-161
  3. Applying the DLR

    1. Front Matter

      Pages 163-163
    2. DLR and Aspect-Oriented Programming

      • Chaur Wu
      Pages 165-183
    3. Metaprogramming

      • Chaur Wu
      Pages 185-210
    4. Application Scripting

      • Chaur Wu
      Pages 239-250
    5. DLR in Silverlight

      • Chaur Wu
      Pages 251-273
    6. Dynamic Languages on JVM

      • Chaur Wu
      Pages 275-296
  4. Back Matter

    Pages 297-305

About this book

Microsoft’s Dynamic Language Runtime (DLR) is a platform for running dynamic languages such as Ruby and Python on an equal footing with compiled languages such as C#. Furthermore, the runtime is the foundation for many useful software design and architecture techniques you can apply as you develop your .NET applications.

Pro DLR in .NET 4 introduces you to the DLR, showing how you can use it to write software that combines dynamic and static languages, letting you choose the right tool for the job. You will learn the core DLR components such as LINQ expressions, call sites, binders, and dynamic objects—and how they work together to achieve language interoperability. You’ll see how to mix and match objects and functions from compiled and dynamic languages, so you can write code in the language of your choice while taking advantage of libraries written in other languages. And you'll discover how the various languages interoperate behind the scenes.

With the basics out of the way, the book then details the various ways you can leverage the DLR in the design and architecture of your software applications. You’ll learn about runtime code generation, which lets you avoid much of the boilerplate code typical in layered business applications. You’ll see practical examples of using the DLR to build domain-specific languages, and you’ll learn how the DLR helps enable aspect-oriented programming.

About the author

Chaur Wu is an author and developer who has a passion for model-based and language-oriented design. He works extensively with .NET, with experience going back to the initial beta release in 2000. He has two successful books to his credit: Professional Design Patterns in VB.NET and Professional UML with Visual Studio .NET, both published by Wrox Press. Wu has implemented several domain-specific as well as general purpose languages for work, for study and for fun. You can send email to him at cha_urwu@hotmail.com with feedback, or for the exchange of thoughts.

Bibliographic Information

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access