Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
EC-CUBE勉強会2019.09 AMP
Search
naganuma-mitsuhiro
September 06, 2019
Programming
470
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
EC-CUBE勉強会2019.09 AMP
naganuma-mitsuhiro
September 06, 2019
Other Decks in Programming
See All in Programming
Verilogで学ぶCPU自作入門.pdf
uyuki234
7
3.9k
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
310
Are APIs Still Relevant in the AI Era?
soyuka
0
380
Embedded Swiftで作る自作USBデバイス によるiOSデバイスの自動テスト / iOSDC Japan 2026 glassfiber
glassfiber
0
220
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.2k
Turning Architecture into Unit Tests in the AI Era (NSSpain XIV)
steliosf
PRO
1
120
AWSに止められる覚悟してますか?
morizo_1984
2
490
標準パッケージに uuid が追加された 背景から見る Go らしい意思決定 / go_127_uuid_decision
convto
5
9.2k
AHC070解法紹介
eijirou
0
150
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.6k
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
1
1.1k
MVNOの申込からeSIM開通までをiOSアプリでつなぐ- 本人確認・MNP・通信事業者基盤をまたぐ実装
satotakeshi
0
510
Featured
See All Featured
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
470
We Have a Design System, Now What?
morganepeng
55
8.3k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
For a Future-Friendly Web
brad_frost
183
10k
Claude Code のすすめ
schroneko
67
230k
Visualization
eitanlees
153
17k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
420
The Curse of the Amulet
leimatthew05
3
15k
Transcript
EC-CUBE勉強会 2019.09 株式会社サンデイシステムズ 永沼光啓
AMPとは ?
概要 : Accelerated Mobile Pages : HTMLフレームワーク : ⾼速に表⽰が可能 正式名称
区分 特徴
None
“ Googleはアクセスしたウェブページが低速である と「多くのユーザーはそのページの閲覧をやめてし まう」というデータを⽰しており、ページが⾼速で 表⽰される事は、ユーザー体験としてとても有益。 “
制限 CSS HTML JavaScript amp-imgλάͳͲͷ ಠࣗཁૉ 50KB·Ͱ jQuery ېࢭ
“ とはいえ、コンポーネントが充実してきてAMPで実 現できる事は増えてきており、それほど不⾃由さは 感じなくなってきている。エンドユーザにとって最 善の体験を提供できる仕組みを使⽤する事は、制作 サイドにとっても⾮常に価値の⾼い事である。 “
AMPプラグインについて
AMPプラグインがやってくれる事 AMP対応したtwigテンプレートを追加 ⾃⼰最適化処理の連携機能を提供 PWA化の実施
Template A Template B Template C EC-CUBE App Server Plugin
AMP Template A AMP Template B AMP Template C Service Worker Web App Manifest Cloud Functions amp-optimizer
None
None
None
None
これが所謂 PWAMP WEBサイトのエントリーポイントはAMP化して⾼速表⽰の体験 その後PWA化したサイトのUXを提供する AMP to PWAと⾔われる⼿法
<link rel="manifest" href="{{ url('amp_manifest') }}">
管理画⾯でできる事
None
Paired AMP AMP first https://◦◦.com/product/detail https://◦◦.com/amp/product/detail https://◦◦.com/product/detail
None
None
None
インタラクション
インタラクション • දࣔ͞Ε͍ͯΔֹۚΛมߋ • දࣔ͞Ε͍ͯΔίʔυΛมߋ • ೋͭΊͷηϨΫτϘοΫεͷoptionཁૉͷΛมߋ • ࡏݿ༗ແͷఆ͓ΑͼϘλϯͷϥϕϧมߋ •
ϑΥʔϜૹ৴࣌ͷͷมߋ
AMPコンポーネント amp-list amp-mustache amp-bind
None
None
None
None
• /Block/cart.twig • /Block/login_sp.twig • /Block/login.twig • /Block/news.twig • /Block/search_product.twig
• /Product/detail.twig • /Product/list.twig amp-list使⽤箇所
サービスワーカー
app/Plugin/Amp4/Controller/TopController.php
/gulpfile.js
None