phonegap day 2016 eu: simulating cordova plugins in the browser
TRANSCRIPT
![Page 1: PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser](https://reader036.vdocuments.us/reader036/viewer/2022062820/58aaff161a28abd35e8b57f7/html5/thumbnails/1.jpg)
Hallo.Mijn naam is Ryan.
Laten we praten over hulpmiddelen.
![Page 2: PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser](https://reader036.vdocuments.us/reader036/viewer/2022062820/58aaff161a28abd35e8b57f7/html5/thumbnails/2.jpg)
Tools that InspireOur livelihood as developers depend upon the tools of our trade.
Platforms, frameworks, devices, debuggers, libraries, copy and paste.
![Page 3: PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser](https://reader036.vdocuments.us/reader036/viewer/2022062820/58aaff161a28abd35e8b57f7/html5/thumbnails/3.jpg)
Web Developers FirstWe’re here to talk about mobile development…
but if I guessed right, most of us identify as web developers first.
![Page 4: PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser](https://reader036.vdocuments.us/reader036/viewer/2022062820/58aaff161a28abd35e8b57f7/html5/thumbnails/4.jpg)
![Page 5: PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser](https://reader036.vdocuments.us/reader036/viewer/2022062820/58aaff161a28abd35e8b57f7/html5/thumbnails/5.jpg)
Ripple Today• Runs in an <iframe>
![Page 6: PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser](https://reader036.vdocuments.us/reader036/viewer/2022062820/58aaff161a28abd35e8b57f7/html5/thumbnails/6.jpg)
Ripple Today• Runs in an <iframe>• Limited to a dozen plugin simulators
![Page 7: PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser](https://reader036.vdocuments.us/reader036/viewer/2022062820/58aaff161a28abd35e8b57f7/html5/thumbnails/7.jpg)
Ripple Today• Runs in an <iframe>• Limited to a dozen plugin simulators• Unsupported plugins interrupt on every refresh
![Page 8: PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser](https://reader036.vdocuments.us/reader036/viewer/2022062820/58aaff161a28abd35e8b57f7/html5/thumbnails/8.jpg)
Ripple Today• Runs in an <iframe>• Limited to a dozen plugin simulators• Unsupported plugins interrupt on every refresh• Frequently hangs
![Page 9: PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser](https://reader036.vdocuments.us/reader036/viewer/2022062820/58aaff161a28abd35e8b57f7/html5/thumbnails/9.jpg)
Ripple Today• Runs in an <iframe>• Limited to a dozen plugin simulators• Unsupported plugins interrupt on every refresh• Frequently hangs• No support for Live Reload (i.e. file watchers)
![Page 10: PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser](https://reader036.vdocuments.us/reader036/viewer/2022062820/58aaff161a28abd35e8b57f7/html5/thumbnails/10.jpg)
Ripple Today• Runs in an <iframe>• Limited to a dozen plugin simulators• Unsupported plugins interrupt on every refresh• Frequently hangs• No support for Live Reload (i.e. file watchers)• Chrome only
![Page 11: PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser](https://reader036.vdocuments.us/reader036/viewer/2022062820/58aaff161a28abd35e8b57f7/html5/thumbnails/11.jpg)
Ripple Today• Runs in an <iframe>• Limited to a dozen plugin simulators• Unsupported plugins interrupt on every refresh• Frequently hangs• No support for Live Reload (i.e. file watchers)• Chrome only• In “beta” for too many years
![Page 12: PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser](https://reader036.vdocuments.us/reader036/viewer/2022062820/58aaff161a28abd35e8b57f7/html5/thumbnails/12.jpg)
How can we code more quickly using tools of the web?
![Page 13: PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser](https://reader036.vdocuments.us/reader036/viewer/2022062820/58aaff161a28abd35e8b57f7/html5/thumbnails/13.jpg)
Cordova SimulateThe Next Evolution of Ripple
![Page 14: PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser](https://reader036.vdocuments.us/reader036/viewer/2022062820/58aaff161a28abd35e8b57f7/html5/thumbnails/14.jpg)
<code>
![Page 15: PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser](https://reader036.vdocuments.us/reader036/viewer/2022062820/58aaff161a28abd35e8b57f7/html5/thumbnails/15.jpg)
webviewasync
Native CodeCordova Simulate
function exec()
![Page 16: PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser](https://reader036.vdocuments.us/reader036/viewer/2022062820/58aaff161a28abd35e8b57f7/html5/thumbnails/16.jpg)
Extensible for Everyone
DevelopersPersist responses
indefinitely.
Plugin Authors
Define your own simulation controls.
Browser Tools
Support more plugins. Control the look-and-
feel.
![Page 17: PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser](https://reader036.vdocuments.us/reader036/viewer/2022062820/58aaff161a28abd35e8b57f7/html5/thumbnails/17.jpg)
Cordova Simulate: the full story✔ Runs directly in the browser (no iframe)✔ Extensible plugin model✔ Remembers your response to unsupported plugins✔ Zero performance impact… no hangs.✔ Live Reload by default✔ Compatible with all modern browsers✔ Open source (MIT License)✔ Integrated directly into Visual Studio 2015 and VS Code
![Page 18: PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser](https://reader036.vdocuments.us/reader036/viewer/2022062820/58aaff161a28abd35e8b57f7/html5/thumbnails/18.jpg)
Debug your code on any browser, emulator or device.Increase speed & accuracy with Intellisense for plugins.
Invoke Cordova commands from the editor.
Visual Studio Code
![Page 19: PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser](https://reader036.vdocuments.us/reader036/viewer/2022062820/58aaff161a28abd35e8b57f7/html5/thumbnails/19.jpg)
@ryanjsalva @ryanjsalva
Cordova SimulateThe Next Evolution of Ripple