25
Building a Chrome Extension with Meteor Jon Perl jon at codebounty.co @jon_perl

Building a chrome extension with meteor

Embed Size (px)

DESCRIPTION

Slides for a talk I did at Meteor Devshop 7 about building a chrome extension with Meteor.

Citation preview

Page 1: Building a chrome extension with meteor

Building a Chrome Extension with Meteor

Jon Perljon at

codebounty.co@jon_perl

Page 2: Building a chrome extension with meteor

Why build an extension + examplesWhat are the partsBuild one with MeteorComplex use cases (w Code Bounty)

Today

Page 3: Building a chrome extension with meteor

Why?

Page 4: Building a chrome extension with meteor
Page 5: Building a chrome extension with meteor
Page 6: Building a chrome extension with meteor
Page 7: Building a chrome extension with meteor

How?

HTML / CSS

Javascript + chrome APIsChrome UI elements

Page 8: Building a chrome extension with meteor

chrome.* APIs• bookmarks• events• history• power• webReques

t + 48 more

Page 9: Building a chrome extension with meteor

UI Elements

Browser Action Page Action

Page 10: Building a chrome extension with meteor

UI Elements

Popup Context Menu

Page 11: Building a chrome extension with meteor
Page 12: Building a chrome extension with meteor

Get reload value from

menu in milliseconds

Trigger chrome.tabs.update({url:..}) to reload page

Page 13: Building a chrome extension with meteor

But what about Meteor?

Page 14: Building a chrome extension with meteor

bloggeek.me

1: meteor-ddp

Meteor2: iframe

Page 15: Building a chrome extension with meteor

Meteor Parties

100

Page 16: Building a chrome extension with meteor

Manifest

Page 17: Building a chrome extension with meteor

Background

Page 18: Building a chrome extension with meteor
Page 19: Building a chrome extension with meteor

OAuth

Page 20: Building a chrome extension with meteor

DDP vs IFrame

Page 21: Building a chrome extension with meteor

DDP vs IFrame

Page 22: Building a chrome extension with meteor

And More

Testing w Selenium and CucumberJS

RequireJS for organizing codeGrunt for filling in config values

Page 23: Building a chrome extension with meteor

Why build an extension + examplesWhat are the partsBuild one with MeteorComplex use cases (w Code Bounty)

Recap

Page 24: Building a chrome extension with meteor

github.com/jperl/meteor-chrome-extension

developer.chrome.com/extensions/api_index.html

github.com/eddflrs/meteor-ddp

youtube.com/watch?v=pT-b2SpFIWo

github.com/codebounty/codebounty

@jon_perl

Resources

Page 25: Building a chrome extension with meteor

Questions?