1 / 39

 Integrating Dynamic Languages into Your Enterprise Applications

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

marcello
Download Presentation

 Integrating Dynamic Languages into Your Enterprise Applications

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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

  2. About me… • Chief Architect, Tellago, Inc • Microsoft advisor • Microsoft MVP • Oracle SOA ACE • Speaker, author • http://weblogs.asp.net/gsusx

  3. Agenda • Why you should love dynamic languages • Dynamic languages and .NET • Demo, Demo, Demo, Demo

  4. Dynamic languages?

  5. 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.

  6. Why should I care?

  7. Modern enterprise applications leverage multiple programming languages (Polyglot programming)

  8. 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….”

  9. Uni-language apps == Multi-Framework apps

  10. Meta-programming

  11. Release mode

  12. Dynamic languages on .NET?

  13. 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 ?

  14. DLR Hosting ScriptRuntime ScriptScope ScriptEngine ScriptSource

  15. Can dynamic languages improve enterprise .NET applications?

  16. Absolutely….

  17. Let’s take a look…

  18. Four areas where dynamic languages can enhance .NET enterprise applications • Domain Specific Languages • Unit/Application Testing • Dynamic validations (aka rules-based validation) • Declarative configuration

  19. Unit and Application Testing

  20. I would like to…. • Write tests in a simple and understandable way • Efficiently implement application tests • Seamlessly integrate my tests into the development process

  21. Implementing cool unit testing strategies with IronRuby DEMO

  22. Domain Specific Languages

  23. 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

  24. Building Domain Specific Languages with IronRuby DEMO

  25. Configuration Management

  26. 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

  27. Rich .NET Configuration Using IronRuby DEMO

  28. Validation Logic

  29. I would like to…. • Implement validation logic using declarative paradigms • Use domain specific validation languages • Extend the validation logic without impacting my application

  30. Implementing Flexible Validation Rules Using IronRuby DEMO

  31. Other scenarios for the use of .NET dynamic languages • Build management • Dependency injection • Management scripts • Workflow modeling

  32. 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…..

  33. Thank you!!!!!Q&A Jesus Rodriguez Jesus.rodriguez@tellago.com http://weblogs.asp.net/gsusx

  34. 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

  35. 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

  36. Required Slide Complete an evaluation on CommNet and enter to win!

  37. 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

  38. © 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.

  39. Required Slide

More Related