祝 1.0 を 2010 年 4 月 にリリース

Similar documents
1. 電 子 メール カレンダー 連 絡 先 の 統 合 Outlook は 受 信 箱 の 操 作 方 法 が 一 貫 して いる 点 が 何 も 考 えなくても 自 然 に 操 作 できる と お 客 様 に 好 評 です Gmail では 操 作 性 に 影 響 する 機 能 更 新 が 頻

MSCD Slide Template

PowerPoint プレゼンテーション

DreamSpark とは 学 生 や 教 員 のみなさまの 技 術 的 な 学 習 や 教 育 研 究 をサポートする 年 間 制 のサブスクリプションプログラムです マイクロソフトの 開 発 ツールやサーバー 製 品 を 全 学 でご 利 用 いただけます すでに 多 くの 大 学 の 皆 さま

想定 昨年実施された World IPv6 に対してマイクロソフトがどのような期待と目的を持って参加したのか どのような問題を想定していたのか 実態 World IPv6 Day による影響の実際 日本におけるインターネットの諸問題に対するマイクロソフトの見解 解決策 よりよい IPv6 利用環境を

The Microsoft Conference 2014 ROOM F

PowerPoint プレゼンテーション

PowerPoint プレゼンテーション

The Microsoft Conference 2014 PR-131 ROOM E

The Microsoft Conference 2014 MN-212 ROOM D

PowerPoint Presentation

Slide 1

PLEASE READ (hidden slide)

自己紹介 公共営業部門のアーキテクトとして 2003 年入社.NET の技術啓発活動に従事 2006 年 現在の部署に異動し エバンジェリストとして UX/Cloud プラットフォームの採用推進と技術啓発活動を担当 早稲田大学大学院国際情報通信研究科と中央大学総合政策学部で非常勤講師 趣味は 久しぶ

Microsoft PowerPoint - MS米野様 [事前公開用] 2-c_hkomeno

アジェンダ 1. Office 365の概要 2. デモンストレーション 3. よくお寄せいただく10のご質問 4. もっと詳しくお知りになりたい方へ追加情報

The Microsoft Conference 2014 ROOM E

マイクロソフト株式会社デベロッパー & プラットフォーム統括本部平野和順

アジェンダ Visio 2007 を利 した データの可視化 活 例 Visio 2007 データ接続オートメーション データの可視化 3ステップ

改善のための要件: クライアントインフラ担当 東野智子の場合 マイクロソフトのソリューションとその効果 東野智子(30 歳) SaaSアプリ 情報システム部の クライアント インフラ担当 情報システム部のクライアント 課題 ID と認証の統合 EMS : Azure AD Premium クラウド

コンテンツとクラウドクラウドベースのメディアソリューションマルチデバイスユーザーエクスペリエンスまとめ 2

Windows 8 のバリュー ユーザーに好まれるデバイスとエクスペリエンス 企業が求めるエンタープライズクラスのソリューション

次の 10 年間におけるビジネス IT トレンド CIO Insight モビリティ 2020 年までにモビリティ クラウド ソーシャル ビッグデータ技術は IT ビジネスの少なくとも 80% を占めることになる クラウド BI / ビッグデータ ソーシャル Gartner ビジネス上の優先課題に対

セッションの 目 的 とゴール セッションの 目 的 SQL Server 2008 R2 で 何 が 変 わって 何 が 変 わっていないのかをご 理 解 いただく セッションのゴール SQL Server 2008 R2 で 何 が 変 わったの? という 質 問 に 答 えられるようになる S

ソーシャルテクノロジー マイクロブログ コミュニティ インスタントメッセージ 短いテキストの送信 あいさつ不要の 気軽さ 一方的なフォロー 情報の 伝播力 リッチコンテンツの共有 気軽な反応 双方向承認による関係群 テーマ中心の深い 対話 リアルタイム な会話 名指しして接続 事前に相手の 状態を把

(1) <html>,,,,, <> ( ) (/ ) (2) <!DOCTYPE html> HTML5 (3) <html> HTML (4) <html lang= ja > html (ja) (5) JavaScript CSS (6) <meta charset= shift jis >

SonicWALL SSL-VPN 4000 導入ガイド

Adobe Acrobat DC 製品比較表

JavaScriptプログラミング入門

The Microsoft Conference 2014 インフラストラクチャーを正しく移行するために知っておきたい 10 のテクノロジー ROOMB

Microsoft PowerPoint - LAB-03-SR18-ã…Łã‡¡ã‡¤ã…«ã…ªã‡¹ã…‹ã‡¢-v1

Title Slide with Name

Windows Azure Today and Tomorrow

1/2

Xpand! Plug-In Guide

クラウド OS ビジョンのおさらい 柔 軟 な 開 発 一 元 化 された 管 理 共 通 の ID 統 合 された 仮 想 化 完 全 なデータ プラット フォーム

X-Form Plug-in Guide

The Microsoft Conference 2014 アンケートにご協力ください ROOM F

■新聞記事

Visual Studio 2012 と ASP.NET に見る、最新 Web 開発の魅力

架空の企業 : Contoso ドラッグ Contoso ドラッグ企業情報 1997 年に第一号店を神奈川県に開店 現在 全国 200 店舗を展開する中堅ドラッグストアチェーン 2007 年に東証一部に上場 業界に先駆けて ポイントカード を導入 ソーシャルメディアに公式アカウントを作成して積極的に

おすすめページ

ベース0516.indd

InfoPros13_digest.key

Visual Studio 2005 Windows Mobile の 開 発 環 境 統 合 開 発 環 境 Visual Studio 2005 デスクトップと 共 通 化 された 開 発 環 境 デスクトップ 開 発 のノウハウがそのまま 利 用 可 能 高 い 開 発 生 産 性 Windo

Software Tag Implementation in Adobe Products

Microsoft, Windows Microsoft Corporation

コンピュータサイエンス 4. ウェブプログラミング

展開とプロビジョニングの概念

Windows Azure の機能アップデート概要 日本マイクロソフト株式会社デベロッパー & プラットフォーム統括本部プラットフォーム戦略アドバイザー佐藤直樹 1

基本操作ガイド

操作ガイド(本体操作編)

アジェンダ 最新の Internet Explorer へアップデートの必要性 Web ブラウザーのアップデートに伴う Web コンテンツのマイグレーション作業 ツールを使用したテストの管理と効率化

操作ガイド(本体操作編)

Microsoft Platform Ready スペシャルイベント PC と小型デバス Windows Azure の組合せによる活用事例と技術要素解説 2011 年 4 月 11 日 日本マクロソフト株式会社デベロッパー & プラットフォーム統括本部太田寛 Blog:

HTML HTML HTML

カンペキな初心者のための、Adobe® AIR™の基礎の基礎

A B C A B C Ctrl (S) 5 A B C 11.2: (F) (A) ( OK ) 3 (E) ( ) (E)

Microsoft PowerPoint - InfPro_I9.pptx

Title Slide with Name

スライド 1

2

外部SQLソース入門

Microsoft PowerPoint - A07回目②.pptx

コンピュータサイエンス 1. ウェブの基本

スライド 1

基本操作ガイド

Title Slide with Name

Veritas System Recovery 18 System Recovery Disk

インターネット接続ガイド v110

今こそ知っておきたい、既存 Web コンテンツの最新 Internet Explorer へマイグレーション方法

Zinstall WinWin 日本語ユーザーズガイド

Parallels Desktop 7 クイックスタートガイド

CL-015 IT 管理者に送る Windows 8.1 で実現する柔軟な働き方 -Flexible Workstyle- Windows 本部シニアマネージャー西野道子


TH-47LFX60 / TH-47LFX6N

エレクトーンのお客様向けiPhone/iPad接続マニュアル

Title Slide with Name

SketchBook Express V6.0.1

Microsoft Word - HowToSetupVault_mod.doc

Copyrights and Trademarks Autodesk SketchBook Express v Autodesk, Inc. All Rights Reserved. Except as otherwise permitted by Autodesk, Inc.,

Microsoft Word - wsample.docx


Dolphin 6110 Quick Start Guide

07_経営論集2010 小松先生.indd

iPhone/iPad接続マニュアル

Microsoft Word - quick_start_guide_16 1_ja.docx

ScanFront300/300P セットアップガイド

*MJ-S100B

*MJ-H100DX

MJ-H100BX

Title Slide with Name

取扱説明書

VNX for Fileでの監査ツールの構成および使用

!!!!!


TOEIC(R) Newsletter

改善のための要件 : ソリューション Azure Active Directory (AD) Premium で複数のクラウドと社内の ID を統合 EMS は Azure AD Premium を包含 Office 365 などの SaaS アプリや社内アプリをシングルサインオンで利用可能 Off

バーゼル4

Copyright SATO International All rights reserved. This software is based in part on the work of the Independen

Transcription:

- IronRuby の 活 用 -

祝 1.0 を 2010 年 4 月 にリリース

<head> <title>hello Active Script Ruby</title> <script language= "RubyScript" > @doc = @window.document おもしろい def click(btn) @doc.all(btn).value = btn + " is here" end </head> <body onload="@windows.alert 'Body is loaded!'" language= "RubyScript" > <input type= "button" id= "btn1" onclick= "click('btn1')" language= "RubyScript" > <input type= "button" id= "btn2" onclick= "@doc.all('btn2').value='btn2 is here'" language= "RubyScript" > </body> </html>

IronRuby on.net 2.0 IronRuby on.net 4 = > IronRuby on Silverlight

<head> <title>ハローワールド by Gestalt</title> <script type="text/javascript" src="http://gestalt.ironpython.net/dlr-latest.js"> </head> <body> <h1> 初 めてのゲシュタルト</h1> <script type="text/ruby"> window.alert "ルビーで 表 示 します" <script type="text/python"> window.alert("pythonで 表 示 します") </body> </html>

<script type="text/javascript" src="http://gestalt.ironpython.net/dlr-latest.js"> dlr.js

<script type="text/ruby"> window.alert "ルビーで 表 示 します" <script type="text/python"> window.alert("pythonで 表 示 します")

<script language= "RubyScript" > @doc = @window.document def click(btn) @doc.all(btn).value = btn + " is here" end <script type= "text/ruby" > window.alert "ルビーで 表 示 します" 似 てるよねー = おもしろくない?

<p>メッセージ:<input type="text" id="txtmessage" /></p> <input type="button" id="btnrun" value=" 実 行 します"/> <p> 結 果 :</p><div id="outarea1"></div><div id="outarea2"></div> <script type="text/ruby"> # イベントハンドラの 関 数 定 義 document.btnrun.onclick do s, e document.outarea1.html = document.txtmessage.value + "byruby" end # rubyでは innerhtml も html の 指 定 も 可 能 <script type="text/python"> def click(s, e): # イベントハンドラの 関 数 定 義 msg = document.txtmessage.value + " by Python" window.alert(msg) document.outarea2.innerhtml = document.txtmessage.value + " by Python" # イベントハンドラを 関 連 付 ける document.btnrun.events.onclick += click

<h1>ハローワールド 改 2</h1> <p>メッセージ:<input type="text" id="txtmessage" /></p> <input type="button" id="btnrun" value=" 実 行 します" /> <p> 結 果 :</p> <div id="outarea1" ></div><div id="outarea2" ></div> <script type="text/ruby" src="dlr/helloworld.rb"> <script type="text/python" src="dlr/helloworld.py"> # イベントハンドラの 関 数 定 義 (DLR/helloworld.rb) document.btnrun.onclick do s, e document.outarea1.html = document.txtmessage.value + " by ルビー" end

<script type="application/x-zip-compressed" src="ライブラリのzipファイル 名 "> <script type="text/ruby"> require アーカイブ/ライブラリ 名 " # Pythonであれば import アーカイブ.ライブラリ 名

<head> <title>ruby コンソール デバッグ 用 </title> <script type="text/javascript"> window.dlr = {settings: {console: true, debug: true}} <script type="text/javascript" src="http://gestalt.ironpython.net/dlr-latest.js" > </head> <body> <h1>デバッグ シナリオ</h1> <div id="message">loading...</div> <script type="text/ruby"> document.message.html = "こんにちは Rubyです!" </body>

<script type="application/xml+xaml" id="inlinexaml" width="400" height="400"> <Canvas xmlns="http://.../winfx/2006/xaml/presentation" xmlns:x="http://.../winfx/2006/xaml"> <TextBlock HorizontalAlignment="Center" Height="23" Width="Auto" FontSize="18" Text="ハローワールド XAML 版 "/> <TextBlock HorizontalAlignment="Right" Width="78" Height="23" Margin="10" Text="メッセージ:"/> <TextBox x:name="txtmessage" Width="248" Height="25" HorizontalAlignment="Center" /> <Button x:name="btnrun" HorizontalAlignment="Left" Width="93" Height="29" Content=" 実 行 します"/> <! 省 略 しています --> </Canvas>

<script type="application/xml+xaml" id="inlinexaml" width="400" height="400"> XAMLコンテンツを 記 述

<body> <h1>ハローワールド XAML 版 改 (Ruby)</h1> <script type="application/xml+xaml" id="externalxaml" src="dlr/helloworld.xaml" width="400" height="300"> <!-- ポイントは xamlタグのidをclassに 設 定 すること --> <script type="text/ruby" class="externalxaml"> root = xaml.hellocanvas root.txtmessage.text = "てすと" # イベントハンドラを 設 定 します root.btnrun.click { s,e root.outarea.text = root.txtmessage.text + " by ルビー" } </body>

html head body object silverlightdlrobject1 object silverlightdlrobject_domonly

<body> <h1>ハローワールド XAML 版 改 (Ruby)</h1> <script type="application/xml+xaml" id= "internalxaml" defer= true width= "400" height= "300" > XAMLを 記 述 <!-- ポイントは xamlタグのidをclassに 設 定 すること --> <script type="text/ruby" class= " internalxaml"> include Microsoft::Scripting::Silverlight app = DynamicApplication.Current root = app.loadrootvisualfromstring( document.externalxaml.innerhtml) root.txtmessage.text = "てすと" # イベントハンドラを 設 定 します root.btnrun.click { s,e root.outarea.text = root.txtmessage.text + " by ルビー" } </body>

defer= true

html dlr.js dlr.xap text/ ruby

type id src class defer width height application/xm l-xaml 必 須 オプション 不 要 オプション 必 須 text/python オプション XAML を 使 text/ruby 用 する 場 合 は 必 須 application/xzipcompressed 必 須 ( 拡 張 子 は zip) 不 要 不 要 ( 内 部 で は 1に 固 定 )

dlr.xap Appmanifest.xaml languages.config Microsoft.Scripting.slvx DynamicApplication ホスト 関 係 のアセンブリ IronPython.slvx 言 語 アセンブリ IronRuby.slvx 言 語 アセンブリ

Ruby などで Silverlight アプリを 開 発 でき る 環 境 を 実 現 したもの 組 合 わせは 自 由 です サーバー RoR クライアント RIA とか アイディア 次 第 で RIA ができます

じゃ なくて

http://gestalt.ironpython.net/dlrlatest.js http://visitmix.com/labs/gestalt/downloads /xaml.playground.html http://visitmix.com/labs/gestalt/ http://www.ironpython.net/browser/

http://ironpython.net/browser/docs.html http://www.silverlight.net/learn/dynamiclanguages/ http://ironpython.codeplex.com/ http://ironruby.codeplex.com/ http://gestalt.codeplex.com/

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.