Slide 1

Slide 1 text

Apps That Talk Back Rebecca Murphey @rmurphey rmurphey.com

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

“Digital interactions”—whether through desktops, laptops, tablets or smartphones— will influence half of all retail store sales this holiday season. Deloitte

Slide 4

Slide 4 text

★★★ ➞ $$$

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

★★★ ➞ $$$

Slide 8

Slide 8 text

Apps That Talk Back Rebecca Murphey @rmurphey rmurphey.com

Slide 9

Slide 9 text

service monitoring error tracking performance metrics production debugging safety nets

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

BVTracker.error('No  productId  is  defined');

Slide 16

Slide 16 text

BVTracker.error({      name  :  errorMessages.IMPLEMENTATION,      detail1  :  'No  productId  is  defined',      detail2  :  component.name   });

Slide 17

Slide 17 text

define({      errors  :  {          IMPLEMENTATION  :  'Implementation  Error',          API  :  'API  Error',          UNCAUGHT  :  'Uncaught  Exception',          CONFIG  :  'Configuration  Error',          THIRD_PARTY  :  'Third  Party  Service  Error',          TIMEOUT  :  'Request  Timeout',          UI  :  'User  Interface  Error',          FRAMEWORK  :  'Framework  Error'      }   });

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

var  spawn  =  require('child_process').spawn;   var  command  =  'grunt';   var  commandOpts  =  ['check:push'];   function  onExit  (code)  {      if  (code  !==  0)  {          throw  new  Error('Prepush  check  failed  with  exit  code:  '  +  code);      }      process.exit(code);   }   //  Run  it  !!   var  child  =  spawn(  command,  commandOpts,  {  stdio  :  'inherit'  }  );   child.on('exit',  onExit);  

Slide 29

Slide 29 text

BVReporter.assert(      this.componentId,        'View  '  +  this.name  +  '  must  have  componentId'   );

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

✅ assertions ✅ git hooks (jshint, jscs, unit tests) ✅ error classification & reporting ✅ production monitoring ✅ production debugging ✅ build size monitoring ✅ performance instrumentation ⬆️ error alerting ⬆️ performance monitoring ❌ performance budget

Slide 34

Slide 34 text

@rmurphey ~ rmurphey.com bazaarvoice.com