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
Polymer の update に見る Web Components の過去/現在、そして未...
Search
Kenichiro Kishida
November 18, 2017
Technology
1
4.6k
Polymer の update に見る Web Components の過去/現在、そして未来 / jsfes-2017-autumn
秋のJavaScript祭 in mixi 2017 のスライドです。
https://javascript-fes.doorkeeper.jp/events/66335
Kenichiro Kishida
November 18, 2017
Tweet
Share
More Decks by Kenichiro Kishida
See All by Kenichiro Kishida
Code兄弟での CI/CDをいい感じにする方法 / phpstudy-2024-06
sizuhiko
0
120
Webアクセシビリティワークショップを社内でやってみた / phpconfuk-2024
sizuhiko
1
270
デベロッパーよ 健康でいるためには 寝て 旅をして 趣味を持って メンタル大切に / DE-RADIO-2023-06-26
sizuhiko
0
100
ヘビータブユーザーが ワークスペースの利用でどのように変わったか / 2023-05-16 Vivaldi User Meetup TOKYO 2023
sizuhiko
0
270
Node.js v18 ベースイメージを使った AWS Lambda アプリ開発におけつ光と影 / 2023-04-23 JavaScript Fes
sizuhiko
0
160
@swc-node/jest を使って テストを高速化する/jsfes-2022
sizuhiko
0
310
Rails 7の採用提案で注目を集め始めた Import maps の過去、現在、そして未来について/de radio 2
sizuhiko
2
1.4k
勉強会主体で サービスを作るということ/esm-meetup-3
sizuhiko
0
310
オンライン勉強会や イベントで 盛り上がりを共有したい!/jsfes2021-summer
sizuhiko
0
670
Other Decks in Technology
See All in Technology
5分でわかるDuckDB
chanyou0311
10
3.2k
どちらを使う?GitHub or Azure DevOps Ver. 24H2
kkamegawa
0
700
NW-JAWS #14 re:Invent 2024(予選落ち含)で 発表された推しアップデートについて
nagisa53
0
250
DevOps視点でAWS re:invent2024の新サービス・アプデを振り返ってみた
oshanqq
0
180
Turing × atmaCup #18 - 1st Place Solution
hakubishin3
0
470
Jetpack Composeで始めるServer Cache State
ogaclejapan
2
170
日本版とグローバル版のモバイルアプリ統合の開発の裏側と今後の展望
miichan
1
130
re:Invent 2024 Innovation Talks(NET201)で語られた大切なこと
shotashiratori
0
300
ゼロから創る横断SREチーム 挑戦と進化の軌跡
rvirus0817
2
260
Amazon SageMaker Unified Studio(Preview)、Lakehouse と Amazon S3 Tables
ishikawa_satoru
0
150
AWS re:Invent 2024で発表された コードを書く開発者向け機能について
maruto
0
190
マイクロサービスにおける容易なトランザクション管理に向けて
scalar
0
110
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
510
The World Runs on Bad Software
bkeepers
PRO
65
11k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
How to Ace a Technical Interview
jacobian
276
23k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
Scaling GitHub
holman
458
140k
Designing for Performance
lara
604
68k
YesSQL, Process and Tooling at Scale
rocio
169
14k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
How to Think Like a Performance Engineer
csswizardry
22
1.2k
Transcript
1PMZNFSͷVQEBUFʹݟΔ 8FC$PNQPOFOUTͷ աڈݱࡏɺͦͯ͠ະདྷ ळͷ+BWB4DSJQUࡇJONJYJ ,FOJDIJSP,JTIJEB !TJ[VIJLP
,FOJDIJSP,JTIJEB 5PLZP +"1"/ TJ[VIJLP!HNBJMDPN !TJ[VIJLP IUUQTHJUIVCDPNTJ[VIJLP IUUQCMPHPQFOUPLZPKQ
)JTUPSZ
)5.-קࠂ 9.-)UUQ3FRVFTU͕*&ʹ࣮͞ΕΔ
"KBY͕༗໊ʹͳΔ 8FCͱ͍͏ϫʔυ͕ൃͨ͠ )5.-קࠂ 9.-)UUQ3FRVFTU͕*&ʹ࣮͞ΕΔ
J1IPOF͕ൃച )5.-קࠂ 9.-)UUQ3FRVFTU͕*&ʹ࣮͞ΕΔ "KBY͕༗໊ʹͳΔ 8FCͱ͍͏ϫʔυ͕ൃͨ͠
8FC$PNQPOFOUTΛ(PPHMF͕ఏҊ )5.-קࠂ 9.-)UUQ3FRVFTU͕*&ʹ࣮͞ΕΔ "KBY͕༗໊ʹͳΔ 8FCͱ͍͏ϫʔυ͕ൃͨ͠ J1IPOF͕ൃച
5IF&YUFOTJCMF8FC.BOJGFTUP͕ൃද 1PMZNFSWϦϦʔε )5.-קࠂ 9.-)UUQ3FRVFTU͕*&ʹ࣮͞ΕΔ "KBY͕༗໊ʹͳΔ 8FCͱ͍͏ϫʔυ͕ൃͨ͠
J1IPOF͕ൃച 8FC$PNQPOFOUTΛ(PPHMF͕ఏҊ
)5.-קࠂ 1PMZNFS͕ϦϦʔε͞ΕΔ )5.-קࠂ 9.-)UUQ3FRVFTU͕*&ʹ࣮͞ΕΔ "KBY͕༗໊ʹͳΔ 8FCͱ͍͏ϫʔυ͕ൃͨ͠
J1IPOF͕ൃച 8FC$PNQPOFOUTΛ(PPHMF͕ఏҊ 5IF&YUFOTJCMF8FC.BOJGFTUP͕ൃද 1PMZNFSWϦϦʔε
1PMZNFS͕ϦϦʔε͞ΕΔ )551͕ঝೝ͞ΕΔ )5.-קࠂ 9.-)UUQ3FRVFTU͕*&ʹ࣮͞ΕΔ "KBY͕༗໊ʹͳΔ 8FCͱ͍͏ϫʔυ͕ൃͨ͠
J1IPOF͕ൃച 8FC$PNQPOFOUTΛ(PPHMF͕ఏҊ 5IF&YUFOTJCMF8FC.BOJGFTUP͕ൃද 1PMZNFSWϦϦʔε )5.-קࠂ 1PMZNFS͕ϦϦʔε͞ΕΔ
1PMZNFS͕ϦϦʔε͞ΕΔ 4BGBSJ͕4IBEPX%0.ʹରԠͨ͠ XFCDPNQPOFOUTPSH౷ҰԽ 1PMZNFS͕ൃද͞ΕΔ 1PMZNFS+BQBO͕ൃͨ͠ 4FSWJDF8PSLFS͕8FCLJUͰ։ൃதʹ )5.-קࠂ )5.-קࠂ
9.-)UUQ3FRVFTU͕*&ʹ࣮͞ΕΔ "KBY͕༗໊ʹͳΔ 8FCͱ͍͏ϫʔυ͕ൃͨ͠ J1IPOF͕ൃച 8FC$PNQPOFOUTΛ(PPHMF͕ఏҊ 5IF&YUFOTJCMF8FC.BOJGFTUP͕ൃද 1PMZNFSWϦϦʔε )5.-קࠂ 1PMZNFS͕ϦϦʔε͞ΕΔ 1PMZNFS͕ϦϦʔε͞ΕΔ )551͕ঝೝ͞ΕΔ
)5.-קࠂ 9.-)UUQ3FRVFTU͕*&ʹ࣮͞ΕΔ "KBY͕༗໊ʹͳΔ 8FCͱ͍͏ϫʔυ͕ൃͨ͠ J1IPOF͕ൃച 8FC$PNQPOFOUTΛ(PPHMF͕ఏҊ
5IF&YUFOTJCMF8FC.BOJGFTUP͕ൃද 1PMZNFSWϦϦʔε )5.-קࠂ 1PMZNFS͕ϦϦʔε͞ΕΔ 1PMZNFS͕ϦϦʔε͞ΕΔ )551͕ঝೝ͞ΕΔ 1PMZNFS͕ϦϦʔε͞ΕΔ 4BGBSJ͕4IBEPX%0.ʹରԠͨ͠ XFCDPNQPOFOUTPSH౷ҰԽ 1PMZNFS͕ൃද͞ΕΔ 1PMZNFS+BQBO͕ൃͨ͠ 4FSWJDF8PSLFS͕8FCLJUͰ։ൃதʹ )5.-קࠂ
8FC$PNQPOFOUT w4IBEPX%0. w$VTUPN&MFNFOUT w)5.-*NQPSUT w)5.-5FNQMBUFT https://github.com/w3c/webcomponents
4IBEPX%0.
$VTUPN&MFNFOUT 定義: class MyPolymerElement extends Polymer.Element { ... } customElements.define('my-polymer-element',
MyPolymerElement); 利用方法: <my-polymer-element></my-polymer-element>
)5.-5FNQMBUF <dom-module id="x-custom"> <template> Hello World from <span id="name"></span>! </template>
<script> class MyElement extends Polymer.Element { static get is() { return 'x-custom' } ready() { super.ready(); this.$.name.textContent = this.tagName; } } </script> </dom-module>
)5.-*NQPSUT <head> <link rel="import" href="/path/to/imports/stuff.html"> </head>
1PMZNFS https://www.polymer-project.org
None
)5.-קࠂ 9.-)UUQ3FRVFTU͕*&ʹ࣮͞ΕΔ "KBY͕༗໊ʹͳΔ 8FCͱ͍͏ϫʔυ͕ൃͨ͠ J1IPOF͕ൃച 8FC$PNQPOFOUTΛ(PPHMF͕ఏҊ
5IF&YUFOTJCMF8FC.BOJGFTUP͕ൃද 1PMZNFSWϦϦʔε )5.-קࠂ 1PMZNFS͕ϦϦʔε͞ΕΔ 1PMZNFS͕ϦϦʔε͞ΕΔ )551͕ঝೝ͞ΕΔ 1PMZNFS͕ϦϦʔε͞ΕΔ 4BGBSJ͕4IBEPX%0.ʹରԠͨ͠ XFCDPNQPOFOUTPSH౷ҰԽ 1PMZNFS͕ൃද͞ΕΔ 1PMZNFS+BQBO͕ൃͨ͠ 4FSWJDF8PSLFS͕8FCLJUͰ։ൃதʹ )5.-קࠂ
)5.-קࠂ 9.-)UUQ3FRVFTU͕*&ʹ࣮͞ΕΔ "KBY͕༗໊ʹͳΔ 8FCͱ͍͏ϫʔυ͕ൃͨ͠ J1IPOF͕ൃച 8FC$PNQPOFOUTΛ(PPHMF͕ఏҊ
5IF&YUFOTJCMF8FC.BOJGFTUP͕ൃද 1PMZNFSWϦϦʔε )5.-קࠂ 1PMZNFS͕ϦϦʔε͞ΕΔ 1PMZNFS͕ϦϦʔε͞ΕΔ )551͕ঝೝ͞ΕΔ 1PMZNFS͕ϦϦʔε͞ΕΔ 4BGBSJ͕4IBEPX%0.ʹରԠͨ͠ XFCDPNQPOFOUTPSH౷ҰԽ 1PMZNFS͕ൃද͞ΕΔ 1PMZNFS+BQBO͕ൃͨ͠ 4FSWJDF8PSLFS͕8FCLJUͰ։ൃதʹ )5.-קࠂ
6TF5IF1MBUGPSN
w1PMZNFS&MFNFOUεʔύʔΫϥε wΠϕϯτϋϯυϦϯά wσʔλγεςϜ wϔϧύʔΤϨϝϯτ w$-*πʔϧ
ຊͰʜ
https://polymer-jp.org/
5.27 2017 11.28 2017 ▶︎
Polymer Versions • 1.9.1 stable • 2.0.0 stable • 109
releases • 1.11.0 stable • 2.2.0 stable • 124 releases ▶︎ Up Up Up
Polymer CLI Versions 1.1.0 1.5.7 ▶︎ Up
Polyfill Versions 1.0.1 1.0.17 ▶︎ Up Bower Bower
• bosonic 1.0 • SkateJS 5.0.7-β3 • x-tag 1.5.11 •
Slim.js 3.0.6 Web Components Libraries • bosonic 1.0 • SkateJS 4.6.7 • x-tag 1.5.11 • Slim.js 2.9.9 ▶︎ Up Up
1PMZNFS4VNNJU
What’s Next for Polymer (Polymer Summit 2017) ΑΓ 5FNQMBUF 4IBEPX%0.
$VTUPN&MFNFOUT )5.-*NQPSUT ✅ ✅ ✅ ✅ ✅ ‼ ✅ ✅ ✅ ‼ ✅ ‼ ✅ ✅ ✅ ✅
What’s Next for Polymer (Polymer Summit 2017) ΑΓ 5PEBZ
/BUJWF ‒ ❌ 4VQQPSUT%FFQ%FQFOEFODJFT ✅ ✅ 'JMF-FWFM /P#VOEMJOH3FRVJSFE ✅ ✅ )5.-*NQPSUT
&4.PEVMFT What’s Next for Polymer (Polymer Summit 2017) ΑΓ ✅
/BUJWF ✅ 4VQQPSUT%FFQ%FQFOEFODJFT ✅ 'JMF-FWFM /P#VOEMJOH3FRVJSFE
What’s Next for Polymer (Polymer Summit 2017) ΑΓ 5FNQMBUF 4IBEPX%0.
$VTUPN&MFNFOUT +4.PEVMFT ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
#PXFS What’s Next for Polymer (Polymer Summit 2017) ΑΓ
5PEBZ .BOBHFT%FQFOEFODJFT ✅ ✅ 3FTPMDFT7FSTJPO$POqJDUT ✅ ✅ *OTUBMMT'MBU%FQFOEFODZ5SFF ✅ ✅ "DUJWF$PNNVOJUZ ✅ ❌
:BSO OQN What’s Next for Polymer (Polymer Summit 2017) ΑΓ
✅ .BOBHFT%FQFOEFODJFT ✅ 3FTPMDFT7FSTJPO$POqJDUT ✅ *OTUBMMT'MBU%FQFOEFODZ5SFF ✅ "DUJWF$PNNVOJUZ
4&04IBSJOH https://render-tron.appspot.com/
8FBSFGSJFOET https://custom-elements-everywhere.com/
ͦ͏ͩ1PMZNFS͓͏
WJTJUNZCMPHHJUIVC https://github.com/sizuhiko http://blog.open.tokyo.jp