+ All Categories
Home > Documents > Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the...

Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the...

Date post: 24-May-2020
Category:
Upload: others
View: 87 times
Download: 0 times
Share this document with a friend
22
Web debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta
Transcript
Page 1: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

Web debug and node.js inspectionDebug the web everywhere

Etienne Margraff

Web dev @Microsoft - Vorlon.js creator

@meulta

Page 2: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

THE web ;)

Cross-platformsAdaptive

Standard

@meulta

Page 3: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

How to debug?

console.logF12

@meulta

Page 4: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

What about mobile?

@meulta

WeinReProprietary tools

Page 5: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

http://vorlonjs.io

Remote, cross-platform and open-source

Web debugging tool

Node.js

Express.js

Socket.io

Passport.js

@meulta

Page 6: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

Collaborative demo!

http://bit.ly/vorlonRennes@meulta

Page 7: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

How to use Vorlon?

Page 8: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

Step 1 – Server install

or clone/fork

http://github.com/microsoftdx/vorlonjs

or auto deploy vers Azure

or use the Docker container

npm install –g vorlonvorlon

@meulta

Page 9: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

Step 2 – Add one line to your website

<script src="http://localhost:1337/vorlon.js"></script>

And that’s all…

@meulta

Page 10: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

And it can be simpler!

@meulta

Page 11: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

Demo !

Page 12: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

Node.js inspection ?

npm install vorlon-node-wrapper

First add the wrapper

@meulta

Page 13: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

Node.js inspection

var vorlon = require("vorlon-node-wrapper");

vorlon.start("http://votreInstanceVorlon/", "default", false

);

Use the wrapper synchronously

@meulta

Page 14: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

Node.js inspection

vorlon.start("http://votreInstanceVorlon/", "default", true,function() {

//Vorlon connected}

);

Or do it async

@meulta

Page 15: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

Demo !

Page 16: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

How to create a plugin ?

Page 17: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

How to create a plugin

http://bit.ly/vorlonplugin

Page 18: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

Standard website development

JavaScript

HTML/CSS

@meulta

Page 19: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

Vorlon.js plugin

Data collectionJavaScript

Plugin DisplayHTML/CSS

Vorlon.js serverNode.js / Socket.io

Vorlon.js Dashboard Debugged website

Data receiverJavaScript

@meulta

Page 20: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

mydevice.ioLet’s code a simple plugin

@meulta

Page 21: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

Next steps

• Debug node.js server code

• Have a SaaS version of Vorlon.js

• Vorlon.js in production

• BrowserSync integration

• And more!

@meulta

Page 22: Web debug and node.js inspection Debug the web everywhereWeb debug and node.js inspection Debug the web everywhere Etienne Margraff Web dev @Microsoft - Vorlon.js creator @meulta.

Resources

http://vorlonjs.io

http://bit.ly/pourquoi-vorlon

http://bit.ly/vorlonplugin

@meulta


Recommended