semana interop: iron ruby

Post on 11-Jun-2015

84 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Slides da palestras com nosso colega Giovanny Bassi Trabalhando com IronRuby na semana de Interop

TRANSCRIPT

Semana de Interoperabilidade: Trabalhando com IronRubyGiovanni BassiConsultor IndependenteMicrosoft MVP C#

18/01/2010

Giovanni Bassi

3

Online @ Giovanni Bassi

Email: giggio@giggio.netBlog: unplugged.giggio.net Site: giovannibassi.com Twitter: @giovannibassi

.Net ArchitectsGrupo: www.dotnetarchitects.net Podcast: podcast.dotnetarchitects.net Online: tinyurl.com/DotNetArch Twitter: #DotNetArchitects

@NetArchitects

4

Agenda

O que é o Ruby e o IronRuby

Porque Ruby?

Rodando uma

aplicação Ruby com IronRuby

Integrando IronRuby com

C#

ASP.Net MVC com IronRuby

Silverlight com IronRuby

O que é Ruby e o IronRuby

5

Ruby

6

7

Yukihiro Matsumoto (“Matz”)

8

Primeira versão em 1995

9

Versão 1.9.1 é a atual(dez/09)

10

Popularizada recentemente pelo

Rails

11

Implementação padrão:

MRI (Matz Ruby Interpreter)

(em C)

12

Outras implementações...

13

Linguagem Dinâmica

14

Mais essênciaMenos cerimonia

15

Orientada a objetos

16

Orientada a objetos

E também....FuncionalImperativaDinâmica

17

class Persondef Andar

“Andei”end

end

giggio = Person.newgiggio.Andar

Um pouco de Ruby...

18

Na console

19

IronRuby

20

Implementação Open Source do Ruby, patrocinada pela

Microsoft

Permite interop entre o Ruby e o .Net

Roda sobre o DLR(Dynamic Language Runtime)

CLR 2.0 e CLR 4.0

Atualmente no Release Candidate (RC) da versão

1.0

25

IronRuby.info

Última atualização em 20/nov/2009

26

Roda a maioria dos frameworks Ruby:

RSpec

Porque usar o Ruby?

27

28

Diversos motivos...

29

30

Use a melhor ferramenta para o trabalho

Torne-se um programador de

C#/VB/F# melhor

31

Ok... Motivos práticos?

32

Testes

33

DSLs...(Domain Specific Languages)

34

Simplicidade

Porque não usar o Ruby?

35

36

Não há integração com o Visual Studio

ainda

37

Poucas pessoas no universo de .Net a

conhecem

38

Não é o principal investimento do

time de linguagens da Microsoft

39

Os frameworks e componentes não são feitos com ela

em mente

Rodando uma aplicação Ruby com

IronRuby

40

Integrando IronRuby com C#

41

ASP.Net MVC com IronRuby

42

Silverlight com IronRuby

43

Links e referências− Ruby language:

http://www.ruby-lang.org− IronRuby: http://www.ironruby.net− Rails: http://rubyonrails.org− RSpec: http://rspec.info− Cucumber: http://cukes.info− IronRuby @ unplugged:

http://unplugged.giggio.net/category/IronRuby.aspx

45

Obrigado!

46

Dúvidas

47

Online @ Giovanni Bassi

Email: giggio@giggio.netBlog: unplugged.giggio.net Site: giovannibassi.com Twitter: @giovannibassi

.Net ArchitectsGrupo: www.dotnetarchitects.net Podcast: podcast.dotnetarchitects.net Online: tinyurl.com/DotNetArch Twitter: #DotNetArchitects

@NetArchitects

© 2009 Microsoft Corporation. All rights reserved. Microsoft, MSDN, the MSDN logo, and [list other trademarks referenced] are trademarks of the Microsoft group of companies.  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.

top related