Dynamic Languages and the Web

22
Dynamic Languages and the Web Jimmy Schementi Microsoft [email protected]

description

Dynamic Languages and the Web. Jimmy Schementi Microsoft [email protected]. Session Objectives. Create web applications with dynamic languages Understand the Microsoft dynamic languages initiative. Demo. Dynamic Languages in Silverlight 1.1 Alpha. Silverlight and Dynamic Languages. - PowerPoint PPT Presentation

Transcript of Dynamic Languages and the Web

Dynamic Languages and the Web

Jimmy Schementi

Microsoft

[email protected]

Session Objectives

• Create web applications with dynamic languages

• Understand the Microsoft dynamic languages initiative

Demo

Dynamic Languages in

Silverlight 1.1 Alpha

Silverlight and Dynamic Languages

• Bring Silverlight to dynamic language programmers

• Enable iterative learning and development

• Release (with sources) on Codeplex and RubyForge

Demo

IronPython in ASP.NET

Visual Studio Integration

ASP.NET and Dynamic Languages

• Bring a great framework to Dynamic Languages

• Shipped in ASP.NET Futures

int i = Convert.ToInt32(Request.QueryString[“Name"]);

IronPython example - Querystring

int i = Convert.ToInt32(Request.QueryString[“Name"]);

IronPython example - Querystring

i = int(Request.Name)

IronPython example - Querystring

<%# Eval(“CustomerName”) %>

IronPython example - Databinding

<%# Eval(“CustomerName”) %>

IronPython example - Databinding

<%# CustomerName %>

IronPython example - Databinding

LocationsPicker lp = (LocationsPicker)FormView1.FindControl("LocationPicker1");

IronPython example - FindControl

LocationsPicker lp = (LocationsPicker)FormView1.FindControl("LocationPicker1");

IronPython example - FindControl

lp = FormView1.LocationPicker1

IronPython example - FindControl

Demo

Web Services

and

Dynamic Languages

Web Services and Dynamic Languages

• Simplifies consumption of Web Services

• Demonstrates power of Dynamic Languages

• Source available on CodePlex● http://codeplex.com/IronPython

Dynamic Languages Initiative

CommunityCommunity MicrosoftMicrosoft

Common Language Runtime (CLR)Common Language Runtime (CLR)

FrameworksFrameworks

Dynamic Language Runtime(DLR)

LanguagesLanguages

IronPython IronRuby JSxJSx VBxVBxLanguagesLanguages

Scripting HostsScripting Hosts

Silverlight ASP.NETHostsHosts

Visual S

tudio IntegrationV

isual Studio Integration

Summary

• Dynamic Languages Initiative● http://codeplex.com/IronPython● http://www.ironruby.net/

• Silverlight● http://silverlight.net● http://codeplex.com/dynamicsilverlight

• ASP.NET & VS Integration● http://asp.net/downloads/futures

Resources

• Technical Communities, Webcasts, Blogs, Chats & User Groupshttp://www.asp.net/downloads/futures

www.codeplex.com/ironpython

www.ironruby.net

blogs.msdn.com/ironpython (IronPython blog)

www.iunknown.com (John Lam’s blog)

http://blogs.msdn.com/hugunin/ (Jim Huginin’s DLR blog)

http://jimmy.schementi.com (My blog)

• TechEd2007 Talks● IronPython and Dynamic Languages on .NET● Dynamic Languages on the Web 

• Mix07 Talks http://sessions.visitmix.com● Mahesh and Polita’s Dynamic Data controls talk● Jim and John DLR/SL talk

Your Feedback is Important

Please fill out a session evaluation form and either put them in the basket near the exit

or drop them off at the conference registration desk.

Thank you!