Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Apps That Talk Back

Apps That Talk Back

Front End Ops Conference, San Francisco, 2014

Rebecca Murphey

April 25, 2014

Transcript

39 slides
  1. 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);  
  2. BVReporter.assert(      this.componentId,        'View  '  +

     this.name  +  '  must  have  componentId'   );
  3. BVTracker.error({      name  :  errorMessages.IMPLEMENTATION,      detail1  :

     'No  productId  is  defined',      detail2  :  component.name   });
  4. 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'      }   });
  5. “scout”  file customer  requests  component(s) core  application  file data render

     of  component  1 render  of  component  2 submission  
 interaction submission
 resources submission   render *  not  to  scale  (i  hope)
  6. “scout”  file customer  requests  component(s) core  application  file data render

     of  component  1 render  of  component  2 submission  
 interaction submission
 resources submission   render
  7. ✅ assertions ✅ git hooks (jshint, jscs, unit tests) ✅

    error classification & reporting ✅ production monitoring ⬆️ production debugging ⬆️ build optimization via coverage analysis ⬆️ build size monitoring ⬆️ performance instrumentation ❌ error alerting ❌ performance monitoring

More Decks by Rebecca Murphey

Other Decks in Technology