Slide 1

Slide 1 text

Mobile Apps & APIs: Best Friends Forever Stewart Gleadow @stewgleadow [email protected] stewgleadow.com/talks

Slide 2

Slide 2 text

2010 2016 2012

Slide 3

Slide 3 text

2010 2016 microservices 2012

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

API

Slide 7

Slide 7 text

microservices!

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

$10 (in stock) BUY NOW ADD TO CART

Slide 10

Slide 10 text

$10 (in stock) BUY NOW ADD TO CART product

Slide 11

Slide 11 text

$10 (in stock) BUY NOW ADD TO CART product recommendations

Slide 12

Slide 12 text

$10 (in stock) BUY NOW ADD TO CART product favourites warehouse checkout account postal recommendations

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

BACKEND FOR FRONTEND

Slide 15

Slide 15 text

BFF BFF

Slide 16

Slide 16 text

CREATORS LISTENERS

Slide 17

Slide 17 text

BFF ?

Slide 18

Slide 18 text

BFF ? caching

Slide 19

Slide 19 text

BFF ? caching single-point of failure

Slide 20

Slide 20 text

BFF ? caching single-point of failure duplication

Slide 21

Slide 21 text

BFF ? caching single-point of failure duplication

Slide 22

Slide 22 text

BFF API

Slide 23

Slide 23 text

BFF API GraphQL Falcor

Slide 24

Slide 24 text

BFF API GraphQL Falcor Apigee Mulesoft

Slide 25

Slide 25 text

Mobile Apps & APIs: Best Friends Forever Stewart Gleadow @stewgleadow [email protected]

Slide 26

Slide 26 text

REFERENCES • Sam Newman, Pattern: Backends For Frontends: http://samnewman.io/patterns/architectural/bff/ • Stewart Gleadow, Legacy To Mobile First, https://speakerdeck.com/sgleadow/legacy-to-mobile-first • Software Engineering Daily interview with Lukasz Plotnicki, Moving To Microservices At SoundCloud: http://softwareengineeringdaily.com/2016/02/04/moving-to-microservices-at- soundcloud-with-lukasz-plotnicki/ • Stewart Gleadow, Cameron Barrie, James Brett, Evolving Mobile Architectures @ Mi9: http://www.slideshare.net/sgleadow/evolving-mobilearchitectures • Lucasz Plotnicki, BFF @ SoundCloud: https://www.thoughtworks.com/insights/blog/bff-soundcloud • Jan Stenberg, A Pattern For API Backends Serving Frontends: http://www.infoq.com/news/2015/12/bff-backend-frontend-pattern • Stewart Gleadow, The Next Killer App Is Not An App: https://www.thoughtworks.com/p2magazine/issue02/mobile/ • Martin Fowler, Microservices: http://martinfowler.com/articles/microservices.html • Sam Newman, Demistifying Conways Law: http://www.thoughtworks.com/insights/blog/demystifying-conways-law • Michael Feathers, Microservices Until Macro Complexity: https://michaelfeathers.silvrback.com/microservices-until-macro-complexity • Anthony Green, What Is A Microservice And Why Does It Matter: http://www.brunton-spall.co.uk/post/2014/05/21/what-is-a-microservice-and-why-does-it-matter • Richard Clayton, Failing At Microservices: https://rclayton.silvrback.com/failing-at-microservices • Fred George, Microservices Architecture: http://yow.eventer.com/yow-2012-1012/micro-services-architecture-by-fred-george-1286 • Todd Hoff, Microservices Not A Free Lunch: http://highscalability.com/blog/2014/4/8/microservices-not-a-free-lunch.html • Martin Fowler, Strangler Application: http://martinfowler.com/bliki/StranglerApplication.html • Stewart Gleadow, No App Is An Island: https://speakerdeck.com/sgleadow/no-app-is-an-island • Sam Newman, Practical Microservices: http://www.slideshare.net/spnewman/practical-microservices-yow-2013