World Cup 2014 – Who? – When?



World Cup 2014 – Who? – When?

0 0


world-cup-presentation


On Github robcbbc / world-cup-presentation

World Cup 2014

28 languages

5 sprints

137 points

Who?

  • World Service

    WS Dev - all of them

    WS Editorial27

    Sport

When?

  • Spike in Mid March
  • Brazil v Croatia t-minus 7 days, 1 hr

What?

  • Localised Sport Data App
  • What?

    Hook up the Sport API

    Decouple their models

    Translate it all

    Make it purdy

    Desktop and responsive

Where?

  • From NBH-BR3
  • to The World

Why?

  • Huge audience interest

    around 44m

  • Knock on benefits of talking to Sport
  • Drunken promises between editorial and tech leads

How?

  • Seat of the pants Agile dev
  • Lots of coffee
  • ..and sporty gifs

Localised Sport Data App

Hook up the Sport API

Live Broker API

Sports Data API

bbc-pal-library-onesport

  • API integration 700 loc, 30+ unit tests
  • Builders, 5 Classes, 1000+ loc, 40+ unit tests
  • :-/

la Gazzetta dello sport

  • PAL app with bbc-pal-library-onesport as dependency
  • Routeable
  • Integrates with Tabloid via shared presenter
  • Uses the sport lib defensively

Use the sport lib defensively

Don't fatal if lib changes Throw exceptions in the right places

Decouple their models

Sport models

  • SoccerEvent, Team, Competition, Event, Table, TablePosition...
  • Using them as a data source, might want to swap out
  • Shouldn't make it to a presenter/view

BBC/Gazzetta/Model

  • Match
  • Table
  • TableRow

Populating our models

  • Transformer
  • Factory

Translations

Make it purdy

logicless templates

tested view models in presenters

Tricky bits

rtl

..more tricky bits

big words

Desktop and responsive

Responsive iFrame

mustache knock-ons

{{#showNonIFrameComponents}}
    
  • {{#jumplinks}}
  • {{name}} {{/jumplinks}}
{{/showNonIFrameComponents}}

NFRs

Monitoring, Runbook, Reviews, Pipeline, etc.

Aka reasons why devs don't wear ties

Thanks!