Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
新しい IE とJavaScript で動く最近の Web アプリケーション
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
yomotsu
August 01, 2013
Programming
230
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
新しい IE とJavaScript で動く最近の Web アプリケーション
yomotsu
August 01, 2013
More Decks by yomotsu
See All by yomotsu
three.jsとRapierでレースゲームが3日でできた話
yomotsu
0
870
PBR in three.js
yomotsu
1
1.2k
dialog要素でつくるモーダルダイアログ
yomotsu
0
1.1k
IE to Edge
yomotsu
1
400
A Camera Control Library for three.js
yomotsu
1
1.5k
Let’s try AR on mobile Web with <model-viewer>
yomotsu
0
590
WebXR: Beyond WebGL
yomotsu
2
1.9k
Non-DOM components with WebGL in Vue.js
yomotsu
5
13k
WebGL Libs for WebApp Frameworks
yomotsu
4
7.9k
Other Decks in Programming
See All in Programming
LLMによるContent Moderationの本番運用の裏側と品質担保への挑戦
suikabar
2
430
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
200
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
190
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.2k
スマートグラスで並列バイブコーディング
hyshu
0
120
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
150
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
320
The NotImplementedError Problem in Ruby
koic
1
690
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
150
Modding RubyKaigi for Myself
yui_knk
0
910
net-httpのHTTP/2対応について
naruse
0
470
AIで効率化できた業務・日常
ochtum
0
120
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
Making Projects Easy
brettharned
120
6.7k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.5k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
AI: The stuff that nobody shows you
jnunemaker
PRO
8
700
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
480
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
300
Being A Developer After 40
akosma
91
590k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
310
Transcript
新しいIEとHTML5JavaScriptで動く 最近のWebアプリケーション 小山田 晃浩 | @yomotsu | (株)ピクセルグリッド
None
新しいIEで動かない?
None
None
None
None
•Quirks Modeで実装している •IE独自拡張を使っている •プラグインに頼っている •よくわからないけど動作保証できない
Quirks Mode
div{ width: 300px; padding: 100px; border: 3px solid #000; background:
#EEEEEE; }
Standards Mode
Standards Mode Quirks Mode
None
DOCTYPE宣言 モード なし <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!DOCTYPE html> Q Q S S S
IE独自拡張
•ActiveXObject •VBScript •Data Binding •VML and others...
•ActiveXObject •VBScript •Data Binding •VML and others... •Data属性 •SVG •JavaScript
ଟ͘)5.-ͰͰ͖·͢
要プラグイン技術
ಈըετϦʔϛϯάͳͲ·ͩґଘͤ͟ΔΛಘ·ͤΜ͕ ଟ͘ͷ͜ͱ+BWB4DSJQUͰՄೳͰ͢
None
•Doctypeをしっかり宣言 •IE独自拡張に頼らない •プラグインに頼らない
Quirks Modeと IE独自拡張の延命
*&ݹ͍Τϯδϯඋ͍͑ͯ·͢
None
None
None
... <head> ... <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"> <title>...<title> ... </head> ...
... ...
None
http://blogs.msdn.com/b/ie/archive/2010/03/02/how-ie8-determines-document-mode.aspx
•古いIEをほぼ再現できる •Tridentのバージョンは変わる •JScriptのバージョンは変わらない
Trident (MSHTML) JScript IE6 IE7 IE8 IE9 IE10 3.0? (6.0)
5.6 3.1? (7.0) 5.7 4.0 (8.0) 5.8 5.0 (9.0) 9 6.0 (10.0) 10
demo navigator.userAgent document.compatMode document.documentMode ScriptEngineMajorVersion() の比較
これからの Webシステム構築
None
None
最近のIE
0 2500 5000 7500 10000 IE7 IE8 IE9 IE10 IE11
SunSpider JavaScript Benchmark Results
早くなった
None
新技術をサポート (主にIE9以降)
None
None
None
None
ほぼ 標準技術だけで Webアプリケーションを作れる
None
None
None
None
None
•サーバーからはJSONを吐き出す •ブラウザーはJSONを受け取る •画面はJavaScriptで構築
None
None
None
None
None
None
None
最近のJavaScriptに注目を
まとめ
政府専用メールサービスを作ることになったとしても フロントエンドでは 標準の技術を使おう
www.codegrid.net
Thank you @yomotsu