mag amp 2015_v0.3

33
HelloT3EE!

Upload: internetagentur-marit-ag

Post on 17-Jan-2017

814 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Mag amp 2015_v0.3

HelloT3EE!

Page 2: Mag amp 2015_v0.3

Let‘s talk about AMP

Page 3: Mag amp 2015_v0.3

What can you except?

AMP HTML

Mobile web

Speed TYPO3

Page 4: Mag amp 2015_v0.3

Mobile Web some numbers

Page 5: Mag amp 2015_v0.3

Evolution of content discovery

Page 6: Mag amp 2015_v0.3

Mobile ContentFrom where does

the content comes?

Page 7: Mag amp 2015_v0.3

Mobile Web – From where comes the Content ?

Page 8: Mag amp 2015_v0.3

AMP HTMLAccelerated Mobile Pages

Page 9: Mag amp 2015_v0.3

AMP HTML – General

Open Source ProjectA way to simplify the integration of static content on mobile devices.Built-in best practicePromice of speed, speed, speed

More info here:https://github.com/ampproject

Page 11: Mag amp 2015_v0.3

AMPPerformance

Page 12: Mag amp 2015_v0.3

“Predictable performance is a key design goal for AMP HTML. Primarily we are aiming at reducing the time until the content of a page can be consumed / used by the user. In concrete terms this means that:“

HTTP requests necessary to render and fully layout the document should be minimized.Resources such as images or ads should only be downloaded if they are likely to be seen by the user.Browsers should be able to calculate the space needed by every resource on the page without fetching that resource.

AMP – What is the plan?

Page 13: Mag amp 2015_v0.3

What is the plan?

Preloading Images

Minifying HTML and CSS

Special Lazy Loading

Best practice

CDN

AMP – More specific

Page 14: Mag amp 2015_v0.3

a fary tale aboutthe good, the bad and the ugly one

Page 15: Mag amp 2015_v0.3

AMP‘s point of view

JS

„HTML“

CSS

the bad the good

the “ugly”

Page 16: Mag amp 2015_v0.3

magic always demands a sacrifice

Page 17: Mag amp 2015_v0.3

AMP HTML documents MUST

start with the doctype <!doctype html>.contain a top-level <html ⚡> tag (<html amp> is accepted as well).contain <head> and <body> tags (They are optional in HTML).contain a <link rel="canonical" href="$SOME_URL" /> tag inside their head that points to the regular HTML version of the AMP HTML document or to itself if no such HTML version exists.contain a <meta charset="utf-8"> tag as the first child of their head tag.contain a <meta name="viewport" content="width=device-width,minimum-scale=1"> tag inside their head tag. It's also recommended to include initial-scale=1.contain a <script async src="https://cdn.ampproject.org/v0.js"></script> tag as the last element in their head.contain <style>body {opacity: 0}</style><noscript><style>body {opacity: 1}</style></noscript> in their head tag.AND read the Markup specification

AMP – Requirements

Page 18: Mag amp 2015_v0.3

Allowed

<style><meta> (http-equiv not)<a> without “javacript”<link> for certain values<button><svg>

AMP Validator:Allowed / Prohibited / Replaced

Replaced

<img><video><audio><iframe>

Prohibited

<form><script> (only amp, and custom elements)<input><embend><object><param><applet><base>

Page 19: Mag amp 2015_v0.3

Custom elements

Page 20: Mag amp 2015_v0.3

Youtube

AMP HTML – examples

Page 21: Mag amp 2015_v0.3

Iframe

AMP HTML – Elements Example

Page 22: Mag amp 2015_v0.3

Carousel

AMP HTML (Examples)

Page 23: Mag amp 2015_v0.3

AMP HTMLI want to try it

Page 24: Mag amp 2015_v0.3

AMP HTML – Let‘s test the speed

Page 25: Mag amp 2015_v0.3

AMP HTML vs. HTML

Page 26: Mag amp 2015_v0.3

AMP HTML

Page 27: Mag amp 2015_v0.3

HTML

Page 28: Mag amp 2015_v0.3

Round 2

Page 29: Mag amp 2015_v0.3

Round 2 (HTML)

Page 30: Mag amp 2015_v0.3

Round 2 (AMP)

Page 31: Mag amp 2015_v0.3

The point I mentioned TYPO3

at the beginning

Page 32: Mag amp 2015_v0.3

Integration into the CMS

?

Page 33: Mag amp 2015_v0.3

worth to think about