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

Bentobox @RailsGirls

Bentobox @RailsGirls

Bentobox presentation for RailsGIrls Munich 2017

Monica Giambitto

February 04, 2017
Tweet

More Decks by Monica Giambitto

Other Decks in Education

Transcript

  1. the recipe of the web
    Monica Giambitto

    View full-size slide

  2. IT’S A-ME, MONICA!
    $

    2009

    2011



    View full-size slide

  3. SORRYWAT?
    facebook.com
    ebay.com
    gmail.com
    SERVER
    CLIENT

    View full-size slide

  4. BENTO BOX
    Lunch box in Japanese culture
    beautiful
    tasty
    nutritious
    balanced
    efficient

    View full-size slide

  5. BENTO BOX MODEL
    My Bentobox
    Backend.
    How the application works.
    Frontend.
    How the application looks.
    Backend.
    How the application runs.
    Backend.
    How the application stores data.
    Storage Logic
    Style and structure
    Infrastructure
    Application: Designed by:

    View full-size slide

  6. BENTO BOX MODEL
    My Bentobox
    Backend.
    How the application works.
    Frontend.
    How the application looks.
    Backend.
    How the application runs.
    Backend.
    How the application stores data.
    Storage Logic
    Style and structure
    Infrastructure
    Application: Designed by:
    SQLite
    CouchDB
    thin
    unicorn
    HTML
    CSS
    jQuery
    Ruby
    PHP
    Rails
    Symfony

    View full-size slide


  7. We use a number of different programming languages
    (including Matlab!), but are primarily a PHP shop.
    We have a number of databases, some of which are
    MySQL and some of which are PostgreSQL.

    View full-size slide

  8. BENTO BOX MODEL
    My Bentobox
    Backend.
    How the application works.
    Frontend.
    How the application looks.
    Backend.
    How the application runs.
    Backend.
    How the application stores data.
    Storage Logic
    Style and structure
    Infrastructure
    Application: Designed by:
    MySQL
    PostgreSQL
    PHP
    Matlab

    View full-size slide


  9. Server code is written in Scala running on the Lift web
    framework using jetty for a web server. We front
    everything with nginx, and use HAProxy in between.
    MongoDB handles most of our data storage needs
    (though a bit hasn’t been migrated off PostgreSQL yet).

    View full-size slide

  10. BENTO BOX MODEL
    My Bentobox
    Backend.
    How the application works.
    Frontend.
    How the application looks.
    Backend.
    How the application runs.
    Backend.
    How the application stores data.
    Storage Logic
    Style and structure
    Infrastructure
    Application: Designed by:
    MongoDB
    PostgreSQL
    scala
    lift
    nginx jetty
    HAProxy

    View full-size slide

  11. RULES
    5 minutes
    Google is your best friend
    team work!

    View full-size slide

  12. LET’S TRY
    MariaDB
    WEBrick
    thin
    Python
    Elixir
    XML
    Bottle
    Javascript
    RoR
    Oracle Database

    View full-size slide

  13. SOLUTION
    My Bentobox
    Backend.
    How the application works.
    Frontend.
    How the application looks.
    Backend.
    How the application runs.
    Backend.
    How the application stores data.
    Storage Logic
    Style and structure
    Infrastructure
    Application: Designed by:
    MariaDB
    Oracle Database
    thin
    WEBrick
    Python
    bottle
    RoR
    Elixir
    XML
    Javascript

    View full-size slide

  14. TODAY’S APP
    My Bentobox
    Backend.
    How the application works.
    Frontend.
    How the application looks.
    Backend.
    How the application runs.
    Backend.
    How the application stores data.
    Storage Logic
    Style and structure
    Infrastructure
    Application: Designed by:
    SQLite
    Puma
    Ruby
    Rails
    HTML
    Javascript
    CSS

    View full-size slide

  15. THANKS!
    @KFMOLLI
    GITHUB.COM/NIRNAETH
    SPEAKERDECK.COM/NIRNAETH

    View full-size slide