- add custom tags
- add function to native tag
- hard to maintain
- shadow DOM
- HTML Templates
- Custom Elements
- HTML Imports
- Data-binding
- based on Web Components
- Utilize the modern web platform
- Embrance DOM, Everythin as an element
- Boilerplate
- layout
- view
- service / libs
- data
- behavior
- call api
- publishing properties & Data-binding
- use HTML attribute & js
- template binding
- loop
- expression
- conditional attributes
?=
- Foundation part is move in the future.
- Developer productiviti
- Re-usabillity
- good software engineering on the web
Polymer/vulcanize
ARIA
- ViewPort config
- Always use a viewport
- Clickable Links
- Aim for 7mm
- Padding is the biggest issue(5mm)
- Legible Text
- fontsize
- Contrast
- Limit use of web fonts
- Use semantic input types
<input type="tel">
- Minimal typing required
- requestAutoComplete
- Remove Flash + other objects
- App interstitials
- [wtfmobileiste.com]
- In airport
- Long walk to collect baggage, makes you think bags arrive quickly.
- Responsiveness
- Aim for 100ms
- Remove 300ms click delay
- Fast Click or wait for browsers to fix it
- Get ocntent on to the screen in a 1s
- onload time between 1 to 3 site % total is 15%(250000 sites)
- Above the Fold(ATF)
- first view
- inline critical css(ex: Gmail)
- DNS problem
- avarage of 17 domains per page
- DNS prefetch
<link ref="dns-prefetch" href="//example.com"></link>
- Monitors are usually 50-60fps
- use
requestAnimationFrame
- Understanding CSS Filter Effects - HTML5 Rocks
- Paint fast
- Blinking curosors
- Scrolling