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

I Pledge My Allegiance

I Pledge My Allegiance

Lets talk about how we make decisions over which framework to use, considering how our internal biases effect our decision

Jonathan Fielding

November 18, 2016
Tweet

More Decks by Jonathan Fielding

Other Decks in Programming

Transcript

  1. A bit about me… • Technical Architect at Beamly •

    Author of ‘Beginning Responsive Design’ • Regular contributor to open source, including SimpleStateManager, Echo.js, CriticalJS, FT’s Polyfill Service, Doccy among many projects
  2. These days however, jQuery is bloated and it often leads

    to code that quickly becomes unmaintainable
  3. To a developer this means to make choices that fit

    within the constraints of our project
  4. and when being pragmatic you need to make a decision

    that sits within these constraints
  5. Successful developers are those who are able to evaluate all

    potential options and choose the one that is best for the situation
  6. This can manifest itself in both how we search for

    information and how we interpret it
  7. During normal decision making, we tend to weigh a specific

    piece of information more heavily than other factors.
  8. If a JavaScript framework is featured regularly on a subreddit

    we regularly visit, when it comes to making a decision we're more likely to recall information on it which will bias our decision
  9. To avoid this bias you need to ensure you are

    looking across a bunch of frameworks
  10. See if you could rewrite the article, using the same

    information, to tell a completely different story
  11. Clarify your project Evaluate your options Assess the risks Make

    the decision Evaluate your success Implement
  12. Walmart saw for every 1 second decrease in page load

    they had a 2% increase in conversions
  13. React AngularJS Backbone Vue.js Polymer Suitable for projects objectives yes

    yes no yes yes Support required devices yes yes yes yes yes Does it support rapidly updating my interface? yes (with redux) yes unknown unknown yes (with redux) How long will it take to implement 2 weeks 1.5 weeks 3 weeks 1.5 weeks 1.5 weeks Own criteria goes here
  14. If the framework is open source, you are relying on

    the developers to continue to maintain it
  15. React AngularJS Backbone Vue.js Polymer Weighting Suitable for projects objectives

    yes yes no yes yes 30 Support required devices yes yes yes yes yes 20 Does it support rapidly updating my interface? yes (with redux) yes unknown unknown yes (with redux) 10 How long will it take to implement 2 weeks 1.5 weeks 3 weeks 1.5 weeks 1.5 weeks 10 Own criteria goes here
  16. We can then use these examples to see how code

    is structured for a particular framework
  17. Next we want to look at how long it takes

    the framework to load the application
  18. By spending time looking at frameworks we can find out

    for ourselves the facts about a framework.
  19. A special thanks goes out to to Charlie Fielding for

    being so patient and watching this talk 100x