390 likes | 507 Views
Required Slide. SESSION CODE: DEV406. Integrating Dynamic Languages into Your Enterprise Applications. Jesus Rodriguez Chief Architect, Tellago, Inc Microsoft Architect Advisor Microsoft MVP Oracle SOA ACE. About me…. Chief Architect, Tellago, Inc Microsoft advisor Microsoft MVP
E N D
Required Slide SESSION CODE: DEV406 Integrating Dynamic Languages into Your Enterprise Applications Jesus Rodriguez Chief Architect, Tellago, Inc Microsoft Architect Advisor Microsoft MVP Oracle SOA ACE
About me… • Chief Architect, Tellago, Inc • Microsoft advisor • Microsoft MVP • Oracle SOA ACE • Speaker, author • http://weblogs.asp.net/gsusx
Agenda • Why you should love dynamic languages • Dynamic languages and .NET • Demo, Demo, Demo, Demo
Dynamic programming language is a term used broadly in computer science to describe a class of high-level programming languages that execute at runtime many common behaviors that other languages might perform during compilation, if at all. These behaviors could include extension of the program, by adding new code, by extending objects and definitions, or by modifying the type system, all during program execution.
Modern enterprise applications leverage multiple programming languages (Polyglot programming)
Essence vs. Ceremony C# Ruby using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication3 { class Program { static void Main(string[] args) { Console.WriteLine("Hello Teched...."); } } } puts “Hello Teched….”
Dynamic languages on .NET IronPython x.Foo IronRuby x.Foo C# x.Foo VB.NET x.Foo Others… $x{Foo}, … Dynamic Language Runtime GetMember Name=“Foo”, IgnoreCase=false ObjectBinder PythonBinder RubyBinder YourBinder COMBinder ?
DLR Hosting ScriptRuntime ScriptScope ScriptEngine ScriptSource
Four areas where dynamic languages can enhance .NET enterprise applications • Domain Specific Languages • Unit/Application Testing • Dynamic validations (aka rules-based validation) • Declarative configuration
I would like to…. • Write tests in a simple and understandable way • Efficiently implement application tests • Seamlessly integrate my tests into the development process
Implementing cool unit testing strategies with IronRuby DEMO
I would like to…. • Seamlessly design languages that model areas of knowledge of my application • Not have to become a languages expert • Fully integrate my DSLs into my .NET enterprise applications
I would like to…. • Not have to deal with configuration madness • Have the mechanisms to efficiently represent configuration information • Not have to write lots of code to interpret the application configuration
I would like to…. • Implement validation logic using declarative paradigms • Use domain specific validation languages • Extend the validation logic without impacting my application
Other scenarios for the use of .NET dynamic languages • Build management • Dependency injection • Management scripts • Workflow modeling
Conclusions • No language solves it all: great enterprise applications should be multi-language • No language paradigm solves it all: Great enterprise applications should benefit from both static and dynamic languages • IronPhyton and IronRuby can extend .NET enterprise applications in important areas (DSLs, Testing, Configuration, Validation….) • Start small, learn, improve…..
Thank you!!!!!Q&A Jesus Rodriguez Jesus.rodriguez@tellago.com http://weblogs.asp.net/gsusx
Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub. Track Resources • Visual Studio – http://www.microsoft.com/visualstudio/en-us/ • Soma’s Blog – http://blogs.msdn.com/b/somasegar/ • MSDN Data Developer Center – http://msdn.com/data • ADO.NET Team Blog – http://blogs.msdn.com/adonet • WCF Data Services Team Blog – http://blogs.msdn.com/astoriateam • EF Design Blog – http://blogs.msdn.com/efdesign
Required Slide Resources Learning • Sessions On-Demand & Community • Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers • http://microsoft.com/technet • http://microsoft.com/msdn
Required Slide Complete an evaluation on CommNet and enter to win!
Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31st http://northamerica.msteched.com/registration You can also register at the North America 2011 kiosk located at registrationJoin us in Atlanta next year
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.