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 Slide

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

    2009

    2011



    View Slide

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

    View Slide

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

    View 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 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 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 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 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 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 Slide

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

    View Slide

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

    View 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 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 Slide

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

    View Slide