dynamic languages and the web jimmy schementi microsoft [email protected]

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

Upload: beverly-sutton

Post on 31-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

Dynamic Languages and the Web

Jimmy Schementi

Microsoft

[email protected]

Page 2: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

Session Objectives

• Create web applications with dynamic languages

• Understand the Microsoft dynamic languages initiative

Page 3: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

Demo

Dynamic Languages in

Silverlight 1.1 Alpha

Page 4: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

Silverlight and Dynamic Languages

• Bring Silverlight to dynamic language programmers

• Enable iterative learning and development

• Release (with sources) on Codeplex and RubyForge

Page 5: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

Demo

IronPython in ASP.NET

Visual Studio Integration

Page 6: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

ASP.NET and Dynamic Languages

• Bring a great framework to Dynamic Languages

• Shipped in ASP.NET Futures

Page 7: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

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

IronPython example - Querystring

Page 8: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

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

IronPython example - Querystring

Page 9: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

i = int(Request.Name)

IronPython example - Querystring

Page 10: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

<%# Eval(“CustomerName”) %>

IronPython example - Databinding

Page 11: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

<%# Eval(“CustomerName”) %>

IronPython example - Databinding

Page 12: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

<%# CustomerName %>

IronPython example - Databinding

Page 13: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

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

IronPython example - FindControl

Page 14: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

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

IronPython example - FindControl

Page 15: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

lp = FormView1.LocationPicker1

IronPython example - FindControl

Page 16: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com
Page 17: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

Demo

Web Services

and

Dynamic Languages

Page 18: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

Web Services and Dynamic Languages

• Simplifies consumption of Web Services

• Demonstrates power of Dynamic Languages

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

Page 19: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

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

Page 20: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

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

Page 21: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

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

Page 22: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com

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!