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

Ditching the Single Page Application (RubyNatio...

Ditching the Single Page Application (RubyNation 2015)

After 2.5 years of maintaining its single page application, Honeybadger.io switched to PJAX. Learn why we made the decision and how you can get started down the same path.

Presented at RubyNation 2015

Starr Horne

June 13, 2015
Tweet

More Decks by Starr Horne

Other Decks in Programming

Transcript

  1. Ditching  the  Single  Page  Applica0on          

                                       by  Starr  Horne                                                 And me! Evil Starr!
  2. Ditching  the  Single  Page  Applica0on          

                                       by  Starr  Horne                                                 And me! Evil Starr!
  3. StarrHorne Single  page  app:     All  data  retrieved  by

     Ajax  and  rendered  client  side  
  4. StarrHorne We  knew  all  these  things   but  we  sNll

     chose  an  SPA  architecture,  originally
  5. StarrHorne What a terrible commit message! PJAX  lets  you  delete

     all  that  Javascript.   It  speeds  both  compila0on  &  page  load  
  6. StarrHorne It’s  helpful  to  think  in  terms  of  components  

    No  maFer  what  component  system  you  use