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

ddev - Awesome PHP/Magento development environment

ddev - Awesome PHP/Magento development environment

Slides of live demo at Meet Magento India 2022.

Christian Münch

February 03, 2022
Tweet

More Decks by Christian Münch

Other Decks in Technology

Transcript

  1. ddev
    Awesome PHP/Magento
    development environment
    1
    1

    View full-size slide

  2. What's ddev?
    https://ddev.readthedocs.io/en/stable/
    DDEV is an open source tool that makes it dead
    simple to get local PHP development environments
    up and running within minutes.
    2
    2
    Christian Münch - @cmuench - Meet Magento India 2022
    Christian Münch - @cmuench - Meet Magento India 2022

    View full-size slide

  3. Technology
    Docker
    docker-compose (also v2)
    go (compiled for Windows, Mac, Linux)
    3
    3
    Christian Münch - @cmuench - Meet Magento India 2022
    Christian Münch - @cmuench - Meet Magento India 2022

    View full-size slide

  4. Well tested
    Github Actions
    Buildkite
    Circleci
    Christian Münch - @cmuench - Meet Magento India
    Christian Münch - @cmuench - Meet Magento India
    2022
    2022 4
    4

    View full-size slide

  5. Tests on
    physical
    hardware!
    https://twitter.com/rand
    yfay/status/147952388
    5179543557
    Christian Münch - @cmuench - Meet Magento India
    Christian Münch - @cmuench - Meet Magento India
    2022
    2022 5
    5

    View full-size slide

  6. Installation is really simple
    Simple -> It's only a binary!
    Available as package for
    Homebrew
    Chocolatey
    Arch Linux (AUR)
    https://ddev.readthedocs.io/en/stable/#installation
    6
    6
    Christian Münch - @cmuench - Meet Magento India 2022
    Christian Münch - @cmuench - Meet Magento India 2022

    View full-size slide

  7. You get everything you need for
    general PHP development
    PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1
    Mailcatcher (mailhog)
    MySQL 5.6, 5.7, 8.0 / MariaDB 10.2, 10.3 / Postgres (next release)
    Composer 1 / Composer 2
    PHP project type specific tools like n98-magerun
    7
    7
    Christian Münch - @cmuench - Meet Magento India 2022
    Christian Münch - @cmuench - Meet Magento India 2022

    View full-size slide

  8. Architecture
    ddev-router
    (Reverse Proxy)
    Project 1
    web db dba
    Project 2
    web db dba
    8
    8
    Christian Münch - @cmuench - Meet Magento India 2022
    Christian Münch - @cmuench - Meet Magento India 2022

    View full-size slide

  9. Live Demo
    9
    9
    Christian Münch - @cmuench - Meet Magento India 2022
    Christian Münch - @cmuench - Meet Magento India 2022

    View full-size slide

  10. Resources
    Manual: https://ddev.readthedocs.io/en/stable/
    Github: https://github.com/drud/ddev
    Additional Services: https://github.com/drud/ddev-contrib
    Magento Demo Project: https://github.com/netz98/ddev-magento-demo
    10
    10
    Christian Münch - @cmuench - Meet Magento India 2022
    Christian Münch - @cmuench - Meet Magento India 2022

    View full-size slide