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
yomotsu
August 01, 2013
Programming
0
210
新しい IE とJavaScript で動く最近の Web アプリケーション
yomotsu
August 01, 2013
Tweet
Share
More Decks by yomotsu
See All by yomotsu
three.jsとRapierでレースゲームが3日でできた話
yomotsu
0
470
PBR in three.js
yomotsu
1
860
dialog要素でつくるモーダルダイアログ
yomotsu
0
980
IE to Edge
yomotsu
1
330
A Camera Control Library for three.js
yomotsu
1
1.2k
Let’s try AR on mobile Web with <model-viewer>
yomotsu
0
540
WebXR: Beyond WebGL
yomotsu
2
1.7k
Non-DOM components with WebGL in Vue.js
yomotsu
5
12k
WebGL Libs for WebApp Frameworks
yomotsu
4
7.8k
Other Decks in Programming
See All in Programming
SwiftUI移行のためのインプレッショントラッキング基盤の構築
kokihirokawa
0
180
kintone開発を効率化するためにチームで試した施策とその結果を大放出!
oguemon
0
360
Kotlinの開発でも AIをいい感じに使いたい / Making the Most of AI in Kotlin Development
kohii00
5
2k
From the Wild into the Clouds - Laravel Meetup Talk
neverything
0
190
PHPのバージョンアップ時にも役立ったAST
matsuo_atsushi
0
230
クリーンアーキテクチャから見る依存の向きの大切さ
shimabox
5
1.2k
ABEMA iOS 大規模プロジェクトにおける段階的な技術刷新 / ABEMA iOS Technology Upgrade
akkyie
1
260
Amazon Bedrockマルチエージェントコラボレーションを諦めてLangGraphに入門してみた
akihisaikeda
1
170
⚪⚪の⚪⚪をSwiftUIで再現す る
u503
0
130
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
1.1k
Google Cloudとo11yで実現するアプリケーション開発者主体のDB改善
nnaka2992
1
130
運用しながらリアーキテクチャ
nealle
0
160
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.2k
Building Adaptive Systems
keathley
40
2.4k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Docker and Python
trallard
44
3.3k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.2k
Building Applications with DynamoDB
mza
93
6.2k
BBQ
matthewcrist
87
9.5k
Agile that works and the tools we love
rasmusluckow
328
21k
Side Projects
sachag
452
42k
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