SlideShare a Scribd company logo
1 of 34
Internet Explorer 9 の
Web制作者向け新機能の活用

マイクロソフト株式会社
デベロッパー&プラットフォーム統括本部
田辺茂也
本日の内容
• Internet Explorer 9 のご紹介

• 固定サイト (Pinned Site) のご紹介

• その他の開発者向け新機能のご紹介




2
Windows Internet Explorer 9
        Platform Preview #6

3
IE9 の開発コンセプト




PC のハードウェア              主役はブラウザーでは          安全性、安定性、プラ         同一のマークアップの
リソースを最大活用               なくWebサイト            イバシーの向上            実現
• レイアウトエンジン             • Web が際立つ新しいユーザー   • 業界最高水準のセキュリティ    • HTML 5 をはじめとする次世代
                          インターフェース          • 抜群の安定性             Web 標準規格に準拠
• グラフィックとテキストの表示
  を GPU で高速化            • ワンクリックナビゲーション     • ユーザーによるプライバシー管   • W3C のワーキンググループに
                                              理                  積極的に参加し、仕様策定に協
                        • Windows 7に最適化
• 新しい JavaScript エンジン                                            力
                                                               • テストキットを提供




4
主役はブラウザーではなく Web




5
固定サイト (Pinned Site)




 6
7
固定サイトとは
    サイトをピン止めするための
     コンテンツの変更は不要




                    固定サイトによる拡張
                    スタートメニューへの登録
                    アイコンのカスタマイズ
                    ジャンプリストの登録
                    サムバーボタンの追加




8
固定サイトとは
• 目指すもの
    – ユーザーとお気に入りの距離を縮める
    – ブラウザー外で、ウェブサイトのブランドを表示できる
    – ウェブサイトとデスクトップの違いを意識させない、シー
      ムレスな操作性
    – Windows アプリケーションと同様の、ユーザーとの対話
    – ウェブサイト側で、ユーザーとの対話やナビゲーションを
      コントロール
    – どのウェブサイトでも利用可能

• 技術的特徴
    – 一般の Internet Explorer と別のプロセスツリー
    – サイトごとに Application ID を生成
    – BHO やその他のツールバーはロードされない


9
Windows 7 のタスクバー
                               ジャンプリスト




              縮小表示                           ターゲット
                                             カスタムカテゴリー




                                             タスク
      縮小表示
     ツールバー




             アイコン    進行状況バー    アイコン オーバーレイ         デスクバンド

                              タスクバー


10
固定サイトのカスタマイズ
全ユーザーに共通なカスタマイズを Meta タグで設定



     •   アプリケーション名
     •   デスクトップ ツールチップ
     •   開始 URLs
     •   ウィンドウサイズ
     •   戻る、進むボタンの色

 <meta    name="application-name" content="Pinned Name" />
 <meta    name="msapplication-tooltip" content="Start Site" />
 <meta    name="msapplication-starturl" content="http://host/page.htm" />
 <meta    name="msapplication-window" content="width=1024;height=768" />
 <meta    name="msapplication-navbutton-color" content="#FF3300" />

 ※ IE9, IE8 モードで有効

11
ジャンプリストの追加
Windows 7 への統合


 <meta name=‚msapplication-task‛ content=‚name=電子メールの作成;
   action-uri=http://host/NewMail.htm;
   icon-uri=http://host/mail.ico"/>

 <meta name="msapplication-task"
   content=‚name=カレンダー;
   action-uri=http://host2/NewAppt.htm;
   icon-uri=http://host2/Appt.ico"/>

     •   Name
         • msapplication-task
     •   Content
         • name = タスク名
         • action-uri = URI (絶対/相対)
         • icon-uri = URI (絶対/相対)
12
アイコンのカスタマイズ
標準的な方法でアイコンを指定


 標準的な方法でアイコンを指定
      <link rel="shortcut icon" href="/favicon.ico" />

 ベストプラクティス
    アイコンのサイズ
       推奨: 16x16, 32x32, 48x48
       最適: 16x16, 24x24, 32x32, 64x64

     機能                   バージョン          96dpi   120dpi   144dpi
     新しいタブ                IE9            32x32   40x40*   48x48
     Pinned Site: タスクバー、 IE9             32x32   48x48    64x64
     スタートメニュー
     Pinned Site: フレーム    IE9            24x24   32x32    48x48
13
     タブ、お気に入り             IE8, IE9       16x16   24x24    24x24
アイコンエディター
• X-Icon Editor
     – http://www.xiconeditor.com/
     – HTML5 アプリ
     – 16x16, 24x24, 32x32, 64x64 サイズのアイコンを
       一度に作成可能




        画像読込          編集        確認・保存

14
ジャンプリストのカスタマイズ
ジャンプリストカテゴリーの追加



     • 利用例
        • ユーザーごとのタスク
        • 通知
     • 利用方法
        • Create Category List
        • Create List Items
        • Display List
        • Clear List

 window.external.msSiteModeCreateJumplist('List1');
 window.external.msSiteModeAddJumpListItem('Item 1',
   'http://host/Item1.html', 'http://host/images/item1.ico');
 window.external.msSiteModeShowJumplist();
 window.external.msSiteModeClearJumplist();
15
ジャンプリストと API の対応


        msSiteModeCreateJumplist('TRENDLINE')

        msSiteModeAddJumpListItem(‘TRENDLINE‘, …)



        <META name="msapplication-task“
        content="name=TRENDLINE….>




16
オーバーレイアイコン
ユーザーへの通知や進行状況を表示する




     • 利用例
        • 通知
        • ステータス
     • 利用方法
        • オーバーレイのセット
        • オーバーレイのクリア



 window.external.msSiteModeSetIconOverlay(
  'http://host/star.ico', 'Complete');

 window.external.msSiteModeClearIconOverlay();

17
サムネイル ツールバー ボタン

     • 利用例
        • ウィンドウに戻ったり表示させずに、
          サイトの操作が可能
        • クライアントのスクリプトにコマン
          ド送信
     • 利用方法
        • ボタンの追加・表示・更新
        • イベントハンドラーのセット
        • ボタンスタイルの追加・表示

 btn1 = window.external.msSiteModeAddThumbBarButton
                  (‘http://host/images/button1.ico', 'button 1');
 document.addEventListener('msthumbnailclick', handler1, false);
 window.external.msSiteModeShowThumbBar();
 window.external.msSiteModeUpdateThumbBarButton(btn1, false, true);
18
タスクバー アイコンの点滅


     • 利用例
        • 注意を喚起したい時
        • ユーザー対応が必要な時
     • 利用方法
        • アクティベート
        • ユーザー操作によりクリア



 window.external.msSiteModeActivate();




19
制限事項
• ジャンプリスト タスク
     – 5 つまで
• ジャンプリスト カテゴリー
     – カテゴリーは 1 つのみ
     – アイテムは 20 個まで
     – 既定では 10 個まで
• 縮小表示 ツールバーボタン
     – ボタンは 7 個まで


20
その他の開発者向け新機能




21
window.msPerformance

  新しいパフォーマンス計測機能:W3C Web Timing に準拠




<script type="text/javascript">
  var w = window;
  var navStart = w.msPerformance.timing.navigationStart + "ms";
  var navStartTime = Date(w.msPerformance.timing.navigationStart);
</script>
 22
Canvas
  Javascript で 2D の図形を描くことができるブロック要素
      描画方法: path, box, circle, text, ラスターイメージ



<canvas id="myCanvas" width="200" height="200">
  Your browser doesn’t support Canvas, sorry.
</canvas>

<script type="text/javascript">
  var example = document.getElementById("myCanvas");
  var context = example.getContext("2d");
  context.fillStyle = "rgb(255,0,0)";
  context.fillRect(30, 30, 50, 50);
</script>

23
Scalable Vector Graphics (SVG)
    XML で 2D のベクターグラフィックを作成描画
      ピクセルではなくベクターイメージを生成
      SVG 1.1 2nd Edition Full specification に準拠
    特徴
      SVG 要素に DOM アクセス
      Document structure, scripting, styling, paths, shapes, colors, transforms, gradients,
       patterns, masking, clipping, markers, linking and views


<svg width="400" height="200" xmlns="http://www.w3.org/2000/svg">
    <rect fill="red" x="20" y="20" width="100" height="75" />
    <rect fill="blue" x="50" y="50" width="100" height="75" />
</svg>




24
HTML5 <video>
    HTML5 <video> タグをサポート
        業界標準の MPEG-4/H.264 動画
        動画はページ上の他の要素と組み合わせ可能
           HTML コンテンツ、画像、SVG グラフィックス
           GPU 支援による再生
    属性
        src – ソースファイルの場所を指定
        autoplay – 準備でき次第自動再生
        controls – 操作パネルを表示
        preload – ページロード時に動画のロードも開始
        loop – ループ再生
        height & width – プレイヤーのサイズを指定

<video src="video.mp4" id="videoTag" width="640px" height="360px">
    <!-- Only shown when browser doesn’t support video -->
    <!-- You Could Embed Flash or Silverlight Video Here -->
</video>
 25
HTML5 <audio>
    HTML5 <audio> タグをサポート
      業界標準の MP3 と AAC audio
      DOM 経由でスクリプト操作可能
    属性
      src – ソースファイルの場所を指定
      autoplay –準備でき次第自動再生
      controls – コントロールパネルの表示
      preload – ページロード時に、オーディオのロードも開始



<audio src="audio.mp3" id="audioTag" autoplay controls>
  <!-- Only shown when browser doesn’t support audio -->
  <!-- You could embed Flash or Silverlight audio here -->
</video>

26
WOFF フォントと @font-face
    クライアントにないフォントでも、自由に利用可能に
    Web Open Font Format で、サイトごとにフォントを配布
      @font-face 宣言によりフォント指定
      OpenType や TrueType フォントを再パッケージ
      W3C Fonts Working Group により策定


<style type="text/css">
  @font-face {
   font-family:MyFontName;
   src: url('FontFile.woff');
 }
</style>

<div style="font: 24pt MyFontName, sans-serif;">
  This will render using MyFontName in FontFile.woff
</div>
 27
CSS3 Media Queries
    メディアのプロパティに応じて、スタイルを自動選択




<link href=‚mobile.css" rel="stylesheet"
  media="screen and (max-width:480px)" type=‚
  text/css" />
<link href=‚netbook.css" rel="stylesheet"
  media="screen and (min-width:481px) and (max-
  width: 1024px)"
  type="text/css" />
<link href=‚laptop.css" rel="stylesheet"
  media="screen and (min-width:1025px)" type="text/css" />


28
CSS3 Colors
    CSS3 Color
       rgba()、hsla()、アルファカラー関数
       opacity プロパティで、透明度を指定


    CSS3 Color キーワード
       CSS3 color キーワードをサポート
       color プロパティ全般で利用可能


div.top {
 background-color: rgba(0, 0, 0, 0.5);
 color: azure;
}
div.bottom {
   background-color: hlsa(0, 0%, 0%, 0.5);
   color: cornsilk;
}
29
CSS3 背景とボーダー
    CSS3 背景とボーダー
      border-radius プロパティによる丸いコーナー
      複数の背景画像
      box-shadow プロパティ




div {
 border-radius: 152px 304px 228px 152px;
 border-style: double;
 border-width: 42px;
 padding: 12px;
}

30
F12 開発者ツール

     DOM へのビジュアルインターフェイスを内蔵



     素早い検証



     IE9 での新機能
     ネットワーク
     UA 文字列ピッカー
     コンソールタブ
     SVG サポート
     JavaScript 整形 (PP6)




31
参考資料
• Internet Explorer デベロッパーセンター
     – http://msdn.microsoft.com/ja-jp/ie/default.aspx

• Internet Explorer 9 Beta 開発者ガイド
     – http://msdn.microsoft.com/ja-jp/ie/ff468705.aspx

• IEBlog: User Experiences: Customizing Pinned Sites
     – http://blogs.msdn.com/b/ie/archive/2010/09/17/user-
       experiences-customizing-pinned-sites.aspx

• Pinned Sites (英語)
     – http://msdn.microsoft.com/en-us/ie/dd797411.aspx


32
参考サイト




     Beauty of the Web                Internet Explorer Test Drive
     http://www.beautyoftheweb.com/   http://ietestdrive.com/
     新しい Web を体感                      各新機能をチェック

33
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Internet Explorer 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.

34

More Related Content

What's hot

仮想化した DC を PowerShell で複製する
仮想化した DC を PowerShell で複製する仮想化した DC を PowerShell で複製する
仮想化した DC を PowerShell で複製する
junichi anno
 
Power shell の基本操作と処理の自動化 v2_20120514
Power shell の基本操作と処理の自動化 v2_20120514Power shell の基本操作と処理の自動化 v2_20120514
Power shell の基本操作と処理の自動化 v2_20120514
junichi anno
 
JAZUG女子部 第2回勉強会 ハンズオン
JAZUG女子部 第2回勉強会 ハンズオンJAZUG女子部 第2回勉強会 ハンズオン
JAZUG女子部 第2回勉強会 ハンズオン
Kana SUZUKI
 

What's hot (20)

XPages 開発 Tips 百連発
XPages 開発 Tips 百連発XPages 開発 Tips 百連発
XPages 開発 Tips 百連発
 
XpagesDay 2014 [A-2] スタンダードクライアントで xpages を使ってみよう
XpagesDay 2014 [A-2] スタンダードクライアントで xpages を使ってみようXpagesDay 2014 [A-2] スタンダードクライアントで xpages を使ってみよう
XpagesDay 2014 [A-2] スタンダードクライアントで xpages を使ってみよう
 
INF-009_PowerShell を 使いこなして、自動化対応 エンジニア になろう!!
INF-009_PowerShell を 使いこなして、自動化対応 エンジニア になろう!!INF-009_PowerShell を 使いこなして、自動化対応 エンジニア になろう!!
INF-009_PowerShell を 使いこなして、自動化対応 エンジニア になろう!!
 
Windows PowerShell によるWindows Server 管理の自動化 v4.0 2014.03.13 更新版
Windows PowerShell によるWindows Server 管理の自動化 v4.0 2014.03.13 更新版Windows PowerShell によるWindows Server 管理の自動化 v4.0 2014.03.13 更新版
Windows PowerShell によるWindows Server 管理の自動化 v4.0 2014.03.13 更新版
 
20060419
2006041920060419
20060419
 
Windows PowerShell 2.0 の基礎知識
Windows PowerShell 2.0 の基礎知識Windows PowerShell 2.0 の基礎知識
Windows PowerShell 2.0 の基礎知識
 
Edge と IE、来年からの Web 制作
Edge と IE、来年からの Web 制作Edge と IE、来年からの Web 制作
Edge と IE、来年からの Web 制作
 
自宅で出来る!ゲームサーバの作り方
自宅で出来る!ゲームサーバの作り方自宅で出来る!ゲームサーバの作り方
自宅で出来る!ゲームサーバの作り方
 
仮想化した DC を PowerShell で複製する
仮想化した DC を PowerShell で複製する仮想化した DC を PowerShell で複製する
仮想化した DC を PowerShell で複製する
 
Microsoft Edgeで サポートされる 新しい API について
Microsoft Edgeでサポートされる新しい API についてMicrosoft Edgeでサポートされる新しい API について
Microsoft Edgeで サポートされる 新しい API について
 
【C-3】ジャンボフェリー 予約システムの事例からみるXPagesを使った提案・開発の概要
【C-3】ジャンボフェリー 予約システムの事例からみるXPagesを使った提案・開発の概要【C-3】ジャンボフェリー 予約システムの事例からみるXPagesを使った提案・開発の概要
【C-3】ジャンボフェリー 予約システムの事例からみるXPagesを使った提案・開発の概要
 
Notes 技術者のための はじめての XPages 講座 (XPagesDay 2015)
Notes 技術者のためのはじめての XPages 講座 (XPagesDay 2015)Notes 技術者のためのはじめての XPages 講座 (XPagesDay 2015)
Notes 技術者のための はじめての XPages 講座 (XPagesDay 2015)
 
Windows PowerShell 2.0 の基礎知識
Windows PowerShell 2.0 の基礎知識Windows PowerShell 2.0 の基礎知識
Windows PowerShell 2.0 の基礎知識
 
【XPagesDy】A-2_コムチュア_20131106_公開用
【XPagesDy】A-2_コムチュア_20131106_公開用【XPagesDy】A-2_コムチュア_20131106_公開用
【XPagesDy】A-2_コムチュア_20131106_公開用
 
ふくあず Nchikita 140629-2
ふくあず Nchikita 140629-2ふくあず Nchikita 140629-2
ふくあず Nchikita 140629-2
 
Power shell の基本操作と処理の自動化 v2_20120514
Power shell の基本操作と処理の自動化 v2_20120514Power shell の基本操作と処理の自動化 v2_20120514
Power shell の基本操作と処理の自動化 v2_20120514
 
Nano Server First Step
Nano Server First StepNano Server First Step
Nano Server First Step
 
Web Intents入門
Web Intents入門Web Intents入門
Web Intents入門
 
JAZUG女子部 第2回勉強会 ハンズオン
JAZUG女子部 第2回勉強会 ハンズオンJAZUG女子部 第2回勉強会 ハンズオン
JAZUG女子部 第2回勉強会 ハンズオン
 
Microsoft edge deep dive
Microsoft edge deep diveMicrosoft edge deep dive
Microsoft edge deep dive
 

Viewers also liked

File Server on Azure IaaS
File Server on Azure IaaSFile Server on Azure IaaS
File Server on Azure IaaS
junichi anno
 

Viewers also liked (10)

勉強会キット Windows Server 2012 R2 評価版 BYOD 編 v2 20131020 版
勉強会キット Windows Server 2012 R2 評価版 BYOD 編 v2 20131020 版勉強会キット Windows Server 2012 R2 評価版 BYOD 編 v2 20131020 版
勉強会キット Windows Server 2012 R2 評価版 BYOD 編 v2 20131020 版
 
Hyper-V を Windows PowerShell から管理する
Hyper-V を Windows PowerShell から管理するHyper-V を Windows PowerShell から管理する
Hyper-V を Windows PowerShell から管理する
 
リソーステンプレート入門
リソーステンプレート入門リソーステンプレート入門
リソーステンプレート入門
 
File Server on Azure IaaS
File Server on Azure IaaSFile Server on Azure IaaS
File Server on Azure IaaS
 
PowerShellが苦手だった男がPowerShellを愛するようになるまで
PowerShellが苦手だった男がPowerShellを愛するようになるまでPowerShellが苦手だった男がPowerShellを愛するようになるまで
PowerShellが苦手だった男がPowerShellを愛するようになるまで
 
Azure Active Directory 1枚資料 20151125版
Azure Active Directory 1枚資料 20151125版Azure Active Directory 1枚資料 20151125版
Azure Active Directory 1枚資料 20151125版
 
Active Directory のクラウド武装化計画 V2~"AD on Azure IaaS" or "Windows Azure Active Di...
Active Directory のクラウド武装化計画 V2~"AD on Azure IaaS" or "Windows Azure Active Di...Active Directory のクラウド武装化計画 V2~"AD on Azure IaaS" or "Windows Azure Active Di...
Active Directory のクラウド武装化計画 V2~"AD on Azure IaaS" or "Windows Azure Active Di...
 
Windows File Service 総復習-Windows Server 2012 R2編 第1版
Windows File Service 総復習-Windows Server 2012 R2編 第1版Windows File Service 総復習-Windows Server 2012 R2編 第1版
Windows File Service 総復習-Windows Server 2012 R2編 第1版
 
Azureの管理権限について
Azureの管理権限について Azureの管理権限について
Azureの管理権限について
 
IT Pro のための PowerShell スクリプティング
IT Pro のための PowerShell スクリプティングIT Pro のための PowerShell スクリプティング
IT Pro のための PowerShell スクリプティング
 

Similar to Internet Explorer 9 の新機能「固定サイト」 (Pinned sites)

Windowsストアアプリ開発 オープンセミナー広島
Windowsストアアプリ開発 オープンセミナー広島Windowsストアアプリ開発 オープンセミナー広島
Windowsストアアプリ開発 オープンセミナー広島
Akira Onishi
 
Dev camp2012jpn day2special
Dev camp2012jpn day2specialDev camp2012jpn day2special
Dev camp2012jpn day2special
Katsuhito Katoh
 
3 倍早い?! MS 製開発者専用ツールによる HTML5 + JavaScript を使ったWeb 作成
3 倍早い?! MS 製開発者専用ツールによる HTML5 + JavaScript を使ったWeb 作成3 倍早い?! MS 製開発者専用ツールによる HTML5 + JavaScript を使ったWeb 作成
3 倍早い?! MS 製開発者専用ツールによる HTML5 + JavaScript を使ったWeb 作成
Osamu Monoe
 
Visual Studio 2012 で実現する HTML5 & マルチ デバイス時代の Web 開発
Visual Studio 2012 で実現する HTML5 & マルチ デバイス時代の Web 開発Visual Studio 2012 で実現する HTML5 & マルチ デバイス時代の Web 開発
Visual Studio 2012 で実現する HTML5 & マルチ デバイス時代の Web 開発
Akira Inoue
 
Featuring Project Silk & Liike: 楽しい "モダン" Web 開発のちょっとディープなお話
Featuring Project Silk & Liike: 楽しい "モダン" Web 開発のちょっとディープなお話Featuring Project Silk & Liike: 楽しい "モダン" Web 開発のちょっとディープなお話
Featuring Project Silk & Liike: 楽しい "モダン" Web 開発のちょっとディープなお話
Akira Inoue
 

Similar to Internet Explorer 9 の新機能「固定サイト」 (Pinned sites) (20)

2012 05-19第44回cocoa勉強会発表資料
2012 05-19第44回cocoa勉強会発表資料2012 05-19第44回cocoa勉強会発表資料
2012 05-19第44回cocoa勉強会発表資料
 
Windowsストアアプリ開発 オープンセミナー広島
Windowsストアアプリ開発 オープンセミナー広島Windowsストアアプリ開発 オープンセミナー広島
Windowsストアアプリ開発 オープンセミナー広島
 
DEV-008_Developing on the Edge. ~Web プラットフォームと Cordova~
DEV-008_Developing on the Edge. ~Web プラットフォームと Cordova~DEV-008_Developing on the Edge. ~Web プラットフォームと Cordova~
DEV-008_Developing on the Edge. ~Web プラットフォームと Cordova~
 
Microsoft Edge F12 開発者ツール
Microsoft Edge F12 開発者ツールMicrosoft Edge F12 開発者ツール
Microsoft Edge F12 開発者ツール
 
メトロスタイルアプリ開発 最初の一歩
メトロスタイルアプリ開発最初の一歩メトロスタイルアプリ開発最初の一歩
メトロスタイルアプリ開発 最初の一歩
 
Dev camp2012jpn day2special
Dev camp2012jpn day2specialDev camp2012jpn day2special
Dev camp2012jpn day2special
 
Developr Camp 2012 Japan Fall Day2 Special Session - Visual Studio 2012 で始める ...
Developr Camp 2012 Japan Fall Day2 Special Session - Visual Studio 2012 で始める ...Developr Camp 2012 Japan Fall Day2 Special Session - Visual Studio 2012 で始める ...
Developr Camp 2012 Japan Fall Day2 Special Session - Visual Studio 2012 で始める ...
 
マイクロソフトにとってのWebって?
マイクロソフトにとってのWebって?マイクロソフトにとってのWebって?
マイクロソフトにとってのWebって?
 
jQuery と MVC で実践する標準志向 Web 開発
jQuery と MVC で実践する標準志向 Web 開発jQuery と MVC で実践する標準志向 Web 開発
jQuery と MVC で実践する標準志向 Web 開発
 
3 倍早い?! MS 製開発者専用ツールによる HTML5 + JavaScript を使ったWeb 作成
3 倍早い?! MS 製開発者専用ツールによる HTML5 + JavaScript を使ったWeb 作成3 倍早い?! MS 製開発者専用ツールによる HTML5 + JavaScript を使ったWeb 作成
3 倍早い?! MS 製開発者専用ツールによる HTML5 + JavaScript を使ったWeb 作成
 
Visual Studio 2012 で実現する HTML5 & マルチ デバイス時代の Web 開発
Visual Studio 2012 で実現する HTML5 & マルチ デバイス時代の Web 開発Visual Studio 2012 で実現する HTML5 & マルチ デバイス時代の Web 開発
Visual Studio 2012 で実現する HTML5 & マルチ デバイス時代の Web 開発
 
進化する Web ~ Progressive Web Apps の実装と応用 ~
進化する Web  ~ Progressive Web Apps の実装と応用 ~進化する Web  ~ Progressive Web Apps の実装と応用 ~
進化する Web ~ Progressive Web Apps の実装と応用 ~
 
Internet Explorer 10 概要と変更点
Internet Explorer 10 概要と変更点Internet Explorer 10 概要と変更点
Internet Explorer 10 概要と変更点
 
2011年マイクロソフト テクノロジー振り返り~開発編~
2011年マイクロソフト テクノロジー振り返り~開発編~2011年マイクロソフト テクノロジー振り返り~開発編~
2011年マイクロソフト テクノロジー振り返り~開発編~
 
SharePoint Framework Extension 基礎講座
SharePoint Framework Extension 基礎講座SharePoint Framework Extension 基礎講座
SharePoint Framework Extension 基礎講座
 
Featuring Project Silk & Liike: 楽しい "モダン" Web 開発のちょっとディープなお話
Featuring Project Silk & Liike: 楽しい "モダン" Web 開発のちょっとディープなお話Featuring Project Silk & Liike: 楽しい "モダン" Web 開発のちょっとディープなお話
Featuring Project Silk & Liike: 楽しい "モダン" Web 開発のちょっとディープなお話
 
Angularreflex20141210
Angularreflex20141210Angularreflex20141210
Angularreflex20141210
 
2013 Ignite UI 最新情報 in 岡山
2013 Ignite UI 最新情報 in 岡山2013 Ignite UI 最新情報 in 岡山
2013 Ignite UI 最新情報 in 岡山
 
Mvc conf session_5_isami
Mvc conf session_5_isamiMvc conf session_5_isami
Mvc conf session_5_isami
 
Webフロントエンド開発の最新トレンド - HTML5, モバイル, オフライン
Webフロントエンド開発の最新トレンド - HTML5, モバイル, オフラインWebフロントエンド開発の最新トレンド - HTML5, モバイル, オフライン
Webフロントエンド開発の最新トレンド - HTML5, モバイル, オフライン
 

More from shigeya

More from shigeya (7)

IIS Media Services 3.0 による動画配信
IIS Media Services 3.0 による動画配信IIS Media Services 3.0 による動画配信
IIS Media Services 3.0 による動画配信
 
Microsoft の ID 連携技術
Microsoft の ID 連携技術Microsoft の ID 連携技術
Microsoft の ID 連携技術
 
Infomation Card と Windows CardSpace のご紹介
Infomation Card と Windows CardSpace のご紹介Infomation Card と Windows CardSpace のご紹介
Infomation Card と Windows CardSpace のご紹介
 
Windows 7 オプショナルツール 一挙紹介
Windows 7 オプショナルツール 一挙紹介Windows 7 オプショナルツール 一挙紹介
Windows 7 オプショナルツール 一挙紹介
 
Windows 展開の自動化ツール - Microsoft Deployment Toolkit
Windows 展開の自動化ツール - Microsoft Deployment ToolkitWindows 展開の自動化ツール - Microsoft Deployment Toolkit
Windows 展開の自動化ツール - Microsoft Deployment Toolkit
 
Linuxユーザーのための Windows 管理入門
Linuxユーザーのための Windows 管理入門Linuxユーザーのための Windows 管理入門
Linuxユーザーのための Windows 管理入門
 
Windows PowerShell V2 の新機能
Windows PowerShell V2 の新機能Windows PowerShell V2 の新機能
Windows PowerShell V2 の新機能
 

Internet Explorer 9 の新機能「固定サイト」 (Pinned sites)

  • 1. Internet Explorer 9 の Web制作者向け新機能の活用 マイクロソフト株式会社 デベロッパー&プラットフォーム統括本部 田辺茂也
  • 2. 本日の内容 • Internet Explorer 9 のご紹介 • 固定サイト (Pinned Site) のご紹介 • その他の開発者向け新機能のご紹介 2
  • 3. Windows Internet Explorer 9 Platform Preview #6 3
  • 4. IE9 の開発コンセプト PC のハードウェア 主役はブラウザーでは 安全性、安定性、プラ 同一のマークアップの リソースを最大活用 なくWebサイト イバシーの向上 実現 • レイアウトエンジン • Web が際立つ新しいユーザー • 業界最高水準のセキュリティ • HTML 5 をはじめとする次世代 インターフェース • 抜群の安定性 Web 標準規格に準拠 • グラフィックとテキストの表示 を GPU で高速化 • ワンクリックナビゲーション • ユーザーによるプライバシー管 • W3C のワーキンググループに 理 積極的に参加し、仕様策定に協 • Windows 7に最適化 • 新しい JavaScript エンジン 力 • テストキットを提供 4
  • 7. 7
  • 8. 固定サイトとは サイトをピン止めするための コンテンツの変更は不要 固定サイトによる拡張 スタートメニューへの登録 アイコンのカスタマイズ ジャンプリストの登録 サムバーボタンの追加 8
  • 9. 固定サイトとは • 目指すもの – ユーザーとお気に入りの距離を縮める – ブラウザー外で、ウェブサイトのブランドを表示できる – ウェブサイトとデスクトップの違いを意識させない、シー ムレスな操作性 – Windows アプリケーションと同様の、ユーザーとの対話 – ウェブサイト側で、ユーザーとの対話やナビゲーションを コントロール – どのウェブサイトでも利用可能 • 技術的特徴 – 一般の Internet Explorer と別のプロセスツリー – サイトごとに Application ID を生成 – BHO やその他のツールバーはロードされない 9
  • 10. Windows 7 のタスクバー ジャンプリスト 縮小表示 ターゲット カスタムカテゴリー タスク 縮小表示 ツールバー アイコン 進行状況バー アイコン オーバーレイ デスクバンド タスクバー 10
  • 11. 固定サイトのカスタマイズ 全ユーザーに共通なカスタマイズを Meta タグで設定 • アプリケーション名 • デスクトップ ツールチップ • 開始 URLs • ウィンドウサイズ • 戻る、進むボタンの色 <meta name="application-name" content="Pinned Name" /> <meta name="msapplication-tooltip" content="Start Site" /> <meta name="msapplication-starturl" content="http://host/page.htm" /> <meta name="msapplication-window" content="width=1024;height=768" /> <meta name="msapplication-navbutton-color" content="#FF3300" /> ※ IE9, IE8 モードで有効 11
  • 12. ジャンプリストの追加 Windows 7 への統合 <meta name=‚msapplication-task‛ content=‚name=電子メールの作成; action-uri=http://host/NewMail.htm; icon-uri=http://host/mail.ico"/> <meta name="msapplication-task" content=‚name=カレンダー; action-uri=http://host2/NewAppt.htm; icon-uri=http://host2/Appt.ico"/> • Name • msapplication-task • Content • name = タスク名 • action-uri = URI (絶対/相対) • icon-uri = URI (絶対/相対) 12
  • 13. アイコンのカスタマイズ 標準的な方法でアイコンを指定 標準的な方法でアイコンを指定  <link rel="shortcut icon" href="/favicon.ico" /> ベストプラクティス  アイコンのサイズ  推奨: 16x16, 32x32, 48x48  最適: 16x16, 24x24, 32x32, 64x64 機能 バージョン 96dpi 120dpi 144dpi 新しいタブ IE9 32x32 40x40* 48x48 Pinned Site: タスクバー、 IE9 32x32 48x48 64x64 スタートメニュー Pinned Site: フレーム IE9 24x24 32x32 48x48 13 タブ、お気に入り IE8, IE9 16x16 24x24 24x24
  • 14. アイコンエディター • X-Icon Editor – http://www.xiconeditor.com/ – HTML5 アプリ – 16x16, 24x24, 32x32, 64x64 サイズのアイコンを 一度に作成可能 画像読込 編集 確認・保存 14
  • 15. ジャンプリストのカスタマイズ ジャンプリストカテゴリーの追加 • 利用例 • ユーザーごとのタスク • 通知 • 利用方法 • Create Category List • Create List Items • Display List • Clear List window.external.msSiteModeCreateJumplist('List1'); window.external.msSiteModeAddJumpListItem('Item 1', 'http://host/Item1.html', 'http://host/images/item1.ico'); window.external.msSiteModeShowJumplist(); window.external.msSiteModeClearJumplist(); 15
  • 16. ジャンプリストと API の対応 msSiteModeCreateJumplist('TRENDLINE') msSiteModeAddJumpListItem(‘TRENDLINE‘, …) <META name="msapplication-task“ content="name=TRENDLINE….> 16
  • 17. オーバーレイアイコン ユーザーへの通知や進行状況を表示する • 利用例 • 通知 • ステータス • 利用方法 • オーバーレイのセット • オーバーレイのクリア window.external.msSiteModeSetIconOverlay( 'http://host/star.ico', 'Complete'); window.external.msSiteModeClearIconOverlay(); 17
  • 18. サムネイル ツールバー ボタン • 利用例 • ウィンドウに戻ったり表示させずに、 サイトの操作が可能 • クライアントのスクリプトにコマン ド送信 • 利用方法 • ボタンの追加・表示・更新 • イベントハンドラーのセット • ボタンスタイルの追加・表示 btn1 = window.external.msSiteModeAddThumbBarButton (‘http://host/images/button1.ico', 'button 1'); document.addEventListener('msthumbnailclick', handler1, false); window.external.msSiteModeShowThumbBar(); window.external.msSiteModeUpdateThumbBarButton(btn1, false, true); 18
  • 19. タスクバー アイコンの点滅 • 利用例 • 注意を喚起したい時 • ユーザー対応が必要な時 • 利用方法 • アクティベート • ユーザー操作によりクリア window.external.msSiteModeActivate(); 19
  • 20. 制限事項 • ジャンプリスト タスク – 5 つまで • ジャンプリスト カテゴリー – カテゴリーは 1 つのみ – アイテムは 20 個まで – 既定では 10 個まで • 縮小表示 ツールバーボタン – ボタンは 7 個まで 20
  • 22. window.msPerformance 新しいパフォーマンス計測機能:W3C Web Timing に準拠 <script type="text/javascript"> var w = window; var navStart = w.msPerformance.timing.navigationStart + "ms"; var navStartTime = Date(w.msPerformance.timing.navigationStart); </script> 22
  • 23. Canvas  Javascript で 2D の図形を描くことができるブロック要素  描画方法: path, box, circle, text, ラスターイメージ <canvas id="myCanvas" width="200" height="200"> Your browser doesn’t support Canvas, sorry. </canvas> <script type="text/javascript"> var example = document.getElementById("myCanvas"); var context = example.getContext("2d"); context.fillStyle = "rgb(255,0,0)"; context.fillRect(30, 30, 50, 50); </script> 23
  • 24. Scalable Vector Graphics (SVG)  XML で 2D のベクターグラフィックを作成描画  ピクセルではなくベクターイメージを生成  SVG 1.1 2nd Edition Full specification に準拠  特徴  SVG 要素に DOM アクセス  Document structure, scripting, styling, paths, shapes, colors, transforms, gradients, patterns, masking, clipping, markers, linking and views <svg width="400" height="200" xmlns="http://www.w3.org/2000/svg"> <rect fill="red" x="20" y="20" width="100" height="75" /> <rect fill="blue" x="50" y="50" width="100" height="75" /> </svg> 24
  • 25. HTML5 <video>  HTML5 <video> タグをサポート  業界標準の MPEG-4/H.264 動画  動画はページ上の他の要素と組み合わせ可能  HTML コンテンツ、画像、SVG グラフィックス  GPU 支援による再生  属性  src – ソースファイルの場所を指定  autoplay – 準備でき次第自動再生  controls – 操作パネルを表示  preload – ページロード時に動画のロードも開始  loop – ループ再生  height & width – プレイヤーのサイズを指定 <video src="video.mp4" id="videoTag" width="640px" height="360px"> <!-- Only shown when browser doesn’t support video --> <!-- You Could Embed Flash or Silverlight Video Here --> </video> 25
  • 26. HTML5 <audio>  HTML5 <audio> タグをサポート  業界標準の MP3 と AAC audio  DOM 経由でスクリプト操作可能  属性  src – ソースファイルの場所を指定  autoplay –準備でき次第自動再生  controls – コントロールパネルの表示  preload – ページロード時に、オーディオのロードも開始 <audio src="audio.mp3" id="audioTag" autoplay controls> <!-- Only shown when browser doesn’t support audio --> <!-- You could embed Flash or Silverlight audio here --> </video> 26
  • 27. WOFF フォントと @font-face  クライアントにないフォントでも、自由に利用可能に  Web Open Font Format で、サイトごとにフォントを配布  @font-face 宣言によりフォント指定  OpenType や TrueType フォントを再パッケージ  W3C Fonts Working Group により策定 <style type="text/css"> @font-face { font-family:MyFontName; src: url('FontFile.woff'); } </style> <div style="font: 24pt MyFontName, sans-serif;"> This will render using MyFontName in FontFile.woff </div> 27
  • 28. CSS3 Media Queries  メディアのプロパティに応じて、スタイルを自動選択 <link href=‚mobile.css" rel="stylesheet" media="screen and (max-width:480px)" type=‚ text/css" /> <link href=‚netbook.css" rel="stylesheet" media="screen and (min-width:481px) and (max- width: 1024px)" type="text/css" /> <link href=‚laptop.css" rel="stylesheet" media="screen and (min-width:1025px)" type="text/css" /> 28
  • 29. CSS3 Colors  CSS3 Color  rgba()、hsla()、アルファカラー関数  opacity プロパティで、透明度を指定  CSS3 Color キーワード  CSS3 color キーワードをサポート  color プロパティ全般で利用可能 div.top { background-color: rgba(0, 0, 0, 0.5); color: azure; } div.bottom { background-color: hlsa(0, 0%, 0%, 0.5); color: cornsilk; } 29
  • 30. CSS3 背景とボーダー  CSS3 背景とボーダー  border-radius プロパティによる丸いコーナー  複数の背景画像  box-shadow プロパティ div { border-radius: 152px 304px 228px 152px; border-style: double; border-width: 42px; padding: 12px; } 30
  • 31. F12 開発者ツール DOM へのビジュアルインターフェイスを内蔵 素早い検証 IE9 での新機能 ネットワーク UA 文字列ピッカー コンソールタブ SVG サポート JavaScript 整形 (PP6) 31
  • 32. 参考資料 • Internet Explorer デベロッパーセンター – http://msdn.microsoft.com/ja-jp/ie/default.aspx • Internet Explorer 9 Beta 開発者ガイド – http://msdn.microsoft.com/ja-jp/ie/ff468705.aspx • IEBlog: User Experiences: Customizing Pinned Sites – http://blogs.msdn.com/b/ie/archive/2010/09/17/user- experiences-customizing-pinned-sites.aspx • Pinned Sites (英語) – http://msdn.microsoft.com/en-us/ie/dd797411.aspx 32
  • 33. 参考サイト Beauty of the Web Internet Explorer Test Drive http://www.beautyoftheweb.com/ http://ietestdrive.com/ 新しい Web を体感 各新機能をチェック 33
  • 34. © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Internet Explorer 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. 34