build pwa with ionic toolkit

23
Build PWA with Ionic Toolkit Pavel Kurnosov

Upload: pavel-kurnosov

Post on 16-Mar-2018

49 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Build PWA with Ionic Toolkit

Build PWA with Ionic Toolkit

Pavel Kurnosov

Page 2: Build PWA with Ionic Toolkit

Agenda

1. What is Ionic?

2. What is Stencil?

3. Say hello to Ionic PWA Toolkit

4. Demo

Page 3: Build PWA with Ionic Toolkit

What is Ionic?

Page 4: Build PWA with Ionic Toolkit

Ionic today

Creator View App Deploy Package Monitor

Page 5: Build PWA with Ionic Toolkit

Ionic Framework

Web Technologies You Already Know and Love

Page 6: Build PWA with Ionic Toolkit

1. Open Source

2. Fully Cross-Platform

3. Premier Native Plugins

4. Complete toolkit including:

- CLI

- Livereload

- Deeplinking

- Ionic Icons

Ionic framework

Page 7: Build PWA with Ionic Toolkit

Cross-platform

Page 8: Build PWA with Ionic Toolkit

Difference between PWA and Hybrid Applications

Hybrid PWA

Access to native features *

Presence in app store

Always latest and greatest *

Running in background *

Page 9: Build PWA with Ionic Toolkit

Use same code to run

in all platform

Page 10: Build PWA with Ionic Toolkit

What is Stencil?

Page 11: Build PWA with Ionic Toolkit

What is Stencil?

A compiler that generates Custom Elements, part of the Web

Components spec

Not a framework: output is 100% standards-compliant Custom

Elements

Adds powerful framework features to Web Components

Page 12: Build PWA with Ionic Toolkit

Why Stencil?

Familiarity: features from frameworks but in a leaner, standards-compliant

package

Performance: Traditional frameworks proving too heavy for demanding mobile Progressive Web Applications

Stability: Desire to use web standards and avoid constant framework churn

Interoperability: Ability to create components that work across all major

frameworks.

Page 13: Build PWA with Ionic Toolkit

Example Stencil component

Page 14: Build PWA with Ionic Toolkit

Stencil-compiled components have

Reactivity

Virtual DOM

Lazy Loading

High-performance Rendering

JSX

Server Side Rendering

Page 15: Build PWA with Ionic Toolkit

Say hello to Ionic PWA

toolkit

Page 16: Build PWA with Ionic Toolkit

What is Ionic PWA toolkit?

The Ionic PWA Toolkit is the recommended way to build production ready Progressive Web Apps (PWAs) with Ionic

Page 17: Build PWA with Ionic Toolkit

What does this toolkit using?

Stencil Ionic (4.x+)

Page 18: Build PWA with Ionic Toolkit

Features

Stencil Ionic Framework Routing

Push Notifications New version

Page 19: Build PWA with Ionic Toolkit

Unit Tests Pre-rendering zero config Lazy loading zero config

Code splitting Polyfills ES6

Lazy-img component

Features

Homescreen PWA

Page 20: Build PWA with Ionic Toolkit

DEMO

Page 21: Build PWA with Ionic Toolkit

What is next?

Page 22: Build PWA with Ionic Toolkit

Q&A

Page 23: Build PWA with Ionic Toolkit

Contact details:

[email protected]

@pavel_kurnosov

linkedin.com/in/pavelkurnosov