17
Dave Voyles, Sr. Tech Evangelist | Microsoft DaveVoyles.com | @ DaveVoyles Hosted web apps with ManifoldJS

Hybrid web apps with manifold js

Embed Size (px)

Citation preview

Page 1: Hybrid web apps with manifold js

Dave Voyles, Sr. Tech Evangelist | MicrosoftDaveVoyles.com | @DaveVoyles

Hosted web apps with ManifoldJS

Page 2: Hybrid web apps with manifold js

What is a Hosted Web App?

Page 3: Hybrid web apps with manifold js

How do you build one?

Page 4: Hybrid web apps with manifold js

What is ManfoldJS?• Node.js app that installs from NPM.

• Can run on any platform, and build for any platform.

• Helps you reach more users than ever by packaging your web experience as native apps across Android, iOS, and Windows

• Standards based on the latest W3C Manifest working draft. 

• Open Source

Page 5: Hybrid web apps with manifold js

Why create a hosted web app?• Reach more users

o Package your web experience as native apps across Android, iOS, and Windows

• Update without having to go through App Storeso No more 6 day wait period – update when you want to push, no need for approval

• No need to reinvent the wheelo Already have a website? Why re-write all of that content for mobile apps?

Page 6: Hybrid web apps with manifold js

How does ManifoldJS work?• Takes the meta-data about your site and generates native "hosted"

apps.

• If the platform doesn't support hosted apps, we use Cordova to polyfill it.

• Meta-data is stored in a JSON file, called the Web App Manifest

• Hybrid apps on your mobile device then point back to a website with this manifest, and inject the site into your app.

Page 7: Hybrid web apps with manifold js

What is Cordova?• Platform for building native mobile apps using HTML5, CSS, and

JavaScript

• Open Source

• PhoneGap: Wraps Cordova and includes some additions

Page 8: Hybrid web apps with manifold js

Web App ManifestDefines a JSON-based manifest to place metadata associated with a web app

Includes:App name, links to icons, preferred URL to open, screen orientation, display mode (e.g., in fullscreen)

Page 9: Hybrid web apps with manifold js

Installation

Page 10: Hybrid web apps with manifold js

Build ProcessCommand Line

Page 11: Hybrid web apps with manifold js

Build ProcessWeb Generator

Page 12: Hybrid web apps with manifold js

Demo: Building a web app

Page 13: Hybrid web apps with manifold js

Hosting the web app

Author
With Azure you can deploy from a number of sources
Page 14: Hybrid web apps with manifold js

Example: NORAD Santa Tracker

Page 15: Hybrid web apps with manifold js

Platform Enhancements• Cortana integration

o Ask her to open the app, to a specific section (Games, Music, movie)

• Live Tiles• Updates about Santa’s trip

Page 16: Hybrid web apps with manifold js

Debugging with VorlonJS

Page 17: Hybrid web apps with manifold js

Wrapping up• Reach more users

o Package your web experience as native apps across Android, iOS, and Windows

• Update without having to go through App Storeso No more 6 day wait period – update when you want to push, no need for approval

• No need to reinvent the wheelo Already have a website? Why re-write all of that content for mobile apps?

• Remote debugging with VorlonJSo Vorlonjs.com