Pro DLR in .NET 4 (eBook)
XVIII, 328 Seiten
Apress (Verlag)
978-1-4302-3067-0 (ISBN)
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.
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.
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.
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.
Introduction to DLR
DLR Expression
Late Binding and Caching
Late Binding and Interoperability
Dynamic Objects
DLR Hosting API
DLR and Aspect-Oriented Programming
Metaprogramming
Stitch — A DSL for Hosting Languages
Application Scripting
DLR in Silverlight
Dynamic Languages on JVM
Erscheint lt. Verlag | 29.7.2011 |
---|---|
Zusatzinfo | XVIII, 328 p. |
Verlagsort | Berkeley |
Sprache | englisch |
Themenwelt | Informatik ► Programmiersprachen / -werkzeuge ► NET Programmierung |
Mathematik / Informatik ► Informatik ► Software Entwicklung | |
Schlagworte | Boo • C# • LINQ • .NET • Python • Ruby • Silverlight |
ISBN-10 | 1-4302-3067-3 / 1430230673 |
ISBN-13 | 978-1-4302-3067-0 / 9781430230670 |
Haben Sie eine Frage zum Produkt? |
Größe: 3,3 MB
DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasserzeichen und ist damit für Sie personalisiert. Bei einer missbräuchlichen Weitergabe des eBooks an Dritte ist eine Rückverfolgung an die Quelle möglich.
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.
Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich