Presentation is loading. Please wait.

Presentation is loading. Please wait.

Snap your App! Ted Ubucon

Similar presentations


Presentation on theme: "Snap your App! Ted Ubucon"— Presentation transcript:

1 Snap your App! Ted Gould ted@canonical.com @tedjgould Ubucon
November 19th, 2015

2

3 Ubuntu Debian based (package format and policies) Regular Releases
Updated via Apt

4 Ubuntu Phone Click Applications System Image Updates

5 Why Click? Millions Thousands

6 Leaves are Simpler Single Dependency

7 Click App Ubuntu Touch

8 Reviewers Don't Scale

9 Why Image Based Updates?
Binary: Works or it doesn't Provides opportunity to rollback Simple testable states

10 — Us, acting cooler than we actually are
“Let's Take Ubuntu Phone all the way to 11!” — Us, acting cooler than we actually are

11 Snappy Ubuntu Core Transactional Updates Snap based Apps
Snap frameworks OS snap

12 Deb-based System Snap-based System

13 App App App App Framework Snappy Ubuntu Core Gadget Hardware Abstraction

14 Hardware Abstraction Provided by board vendors
Allows for custom drivers and config

15 “Gadget” Snap Per-device configuration Snaps to install Permissions
Branding

16 Framework Snaps Provide shared services Mediate resources IPC to Apps
Mir System Compositor

17 Why snap? (not click) Click v2.0 Click only for leaf nodes
Support for OS and framework snaps Lower level components

18 Cloud Internet Of Things Corp IT Consumer Devices

19 Trend: Internet of Things
Smaller computers Internet connectivity Full OS resources Must be reliable

20 Trend: Consumer Devices
More complex interactions Bullet-proof experience Complex security situations

21 Trend: Corporate/Education IT
Verifiable Images Upgrades don't cause downtime Confined apps and app permissions

22 Trend: Cloud and Containers
Small base OS Unit of specialized code Tested as a unit

23 Snappy Store

24 Store Story: Erle Robotics

25 Store Store: Networking

26 Try it today!

27 What is a snap? A self-contained bundle Includes dependencies
Works with frameworks You are here

28 Snap Directories

29

30 Block Inception

31 snapcraft.yaml name: photoviewer version: 0.2
vendor: Ted Gould frameworks: [mir] summary: Photoviewer from Flickr tags binaries: photoviewer: exec: qmlscene main.qml -- caps: - mir_client - network-client parts: qml: plugin: qml photoviewer: plugin: copy files: main.qml: main.qml PhotoViewerCore: PhotoViewerCore

32 snapcraft.yaml Package Information name: photoviewer version: 0.2
vendor: Ted Gould frameworks: [mir] summary: Photoviewer from Flickr tags binaries: photoviewer: exec: qmlscene main.qml -- caps: - mir_client - network-client Package Information parts: qml: plugin: qml photoviewer: plugin: copy files: main.qml: main.qml PhotoViewerCore: PhotoViewerCore

33 snapcraft.yaml System Integration name: photoviewer version: 0.2
vendor: Ted Gould frameworks: [mir] summary: Photoviewer from Flickr tags binaries: photoviewer: exec: qmlscene main.qml -- caps: - mir_client - network-client System Integration parts: qml: plugin: qml photoviewer: plugin: copy files: main.qml: main.qml PhotoViewerCore: PhotoViewerCore

34 snapcraft.yaml Build Instructions name: photoviewer version: 0.2
vendor: Ted Gould frameworks: [mir] summary: Photoviewer from Flickr tags binaries: photoviewer: exec: qmlscene main.qml -- caps: - mir_client - network-client Build Instructions parts: qml: plugin: qml photoviewer: plugin: copy files: main.qml: main.qml PhotoViewerCore: PhotoViewerCore


Download ppt "Snap your App! Ted Ubucon"

Similar presentations


Ads by Google