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

Why Serverless Mobile Apps Are The Future

Why Serverless Mobile Apps Are The Future

In 2008 iOS and Android changed mobile app development with a marketplace for easy app distribution. Since then requirements for mobile apps changed and so did the technology stack. 'Cloud' became a buzzword and offline-only apps are no longer wanted by users. I will try to explain what makes serverless attractive for today's app developers and the benefits it offers.

Mariusz Wisniewski

December 14, 2015
Tweet

Other Decks in Programming

Transcript

  1. APP DEVELOPMENT • 2008 - iOS and Android • App

    Store and Marketplace • 'Cloud' buzzword • Serverless apps
  2. A FEW YEARS AGO • Mobile development - beginnings •

    Code everything • UI ... what UI? • Server not really needed
  3. WHAT YOUR APP NEEDS • Signup/Login • Backup • Continue

    work on a different device • Share - team at work and friends • Get updates and cooperate
  4. WHAT YOU NEED • Server • User Authentication • Data

    Storage • Business logic • Integrations/services
  5. SERVERLESS • Server • User Authentication - not custom •

    Data Storage - not custom • Services (e.g. sending mails) - not custom • Business logic - custom, resides on mobile
  6. SERVERLESS • You don't run and maintain your server •

    Vast majority of your code is on front-end/mobile side • Only the code that absolutely must, resides in the cloud • Front-end/mobile acts as the decision-taker
  7. SERVERLESS • Payments - Braintree/Stripe • Send emails - Mailchimp/Sendgrid

    • User auth - Stormpath/Auth0 • Data - MongoDB/CouchDB
  8. SERVERLESS • sendEmail({
 to: "[email protected]",
 subject: "Hello",
 text: "Hey Mariusz",


    html: "<h1>Hey Mariusz</h1><p>…</p>",
 attachments: [
 convert( document.body )
 .to( 'attachment.pdf' )
 ]
 })
  9. LINKS • https://medium.com/in-pursuit-of-serverless-architecture/what-if-we-didn-t-need-an-app-server- anymore-f5b6586c58f4 • https://read.acloud.guru/serverless-the-future-of-software-architecture-d4473ffed864#.yq8ru6i2z • http://readwrite.com/2012/10/15/why-the-future-of-software-and-apps-is-serverless • http://nobackend.org

    • Stop Building the Backend by Kelly Andrews at #fstoconf15 https://youtu.be/zKLMc4ZoQJo • https://speakerdeck.com/hipsterbrown/figuring-out-front-end-driven-apps • https://www.syncano.io • http://github.com/syncano/