For many years, web developers have relied on WAMP, MAMP, XAMPP and other local development tools. However those tools have some severe limitations, particularly if you're working in a team environment.
There is a better way to do local development. We've just updated"Local Web Development With DDEV Explained" which shows you how to do local development in a way that matches modern development workflows.
Mike Anello is a long-time member of the Drupal and web development communities. In this book, he recommends replacing WAMP and MAMP with DDev-Local, a Docker-based system.
DDEV-Local is an open-source local development environment for PHP-based projects. It provides a robust and flexible setup for platforms such as Drupal, WordPress, and TYPO3.
Introducing the book
Mike Anello teaches Drupal and professional web development. He came to realize that WAMP and MAMP are increasingly incompatible with modern web development techniques.
Mike spent about a year looking for an alternative. During his search, one tool rose to the top: DDEV-Local. Mike fell in love with using this new tool. He updated his training classes to use DDEV-Local and hasn't looked back since.
DDEV-Local uses Docker, a tool that allows developers to package up services in containers. The power behind Docker is that it provides a hardware-independent way of running containers, so that you can run any Docker container on any hardware that supports Docker.
In a typical DDEV-Local scenario, there is a web server container, a database server container, and a database administration container. DDEV-Local provides you with reliable Docker containers and removes some of Docker's complexities.
All-in-all, DDEV-Local provides an easy-to-use, flexible, and powerful local development environment.
What's new in this version?
Version 1.2 of DDev Explained added details on using DDev with WordPress.
Version 1.2 updates the book for the most recent version of DDEV (1.9.1). Key features in this new release are NFS (which brings big performance gains) and https by default.
Mike also added a new chapter called "Share Your DDEV-local Project Online Explained".
Here's a full changelog:
- Added section on config.*.yaml files in the “Useful DDEV-Local Tips and Tricks Explained” chapter.
- Added host_db_port and host_webserver_port to DDEV-Local config.yaml options section in Appendix.
- Clarified Pantheon project machine name in “Integrating DDEV-Local with a Hosting Provider” chapter.
- Added “ddev exec enable/disable_xdebug” note to Xdebug chapter.
- Updated Solr chapter to reflect code changes.
- Added section on NFS mounting in the “Useful DDEV-Local Tips and Tricks Explained” chapter.
- Added information about installing and upgrading DDEV-Local on Windows 10 using Chocolately.
- Added section on using mkcert in the “Useful DDEV-Local Tips and Tricks Explained” chapter.
- Added “ddev pause” to “Using the Most Common DDEV-Local Commands”.
- Streamlined ddev start, stop, remove, pause command explanations.
- Updated list of packages installed in containers by default in Appendix.
- Updated config.yaml options in Appendix.
- Updated Command Hooks chapter with new hooks.
- Updated everywhere to use “*.ddev.site” instead of “*.ddev.local”.
- Added new chapter on “ddev share”.
About Mike Anello
Michael Anello is co-founder and vice president of DrupalEasy, a Drupal training and consulting firm based in Central Florida.
Mike has been one of the main organizers of the Florida Drupal Users’ Group and Florida DrupalCamps for over ten years, is a member of the Drupal Community Working Group, and also helps manage the Drupal Association’s Community Cultivation Grants program.
Michael has been developing Drupal sites for over 12 years, specializing in module development, theming, and general site- building with a strong focus on best practices and sustainable development. Michael is also the lead trainer and curriculum developer for DrupalEasy’s intensive, 12-week Drupal Career Online.
Table of contents
- DDEV-Local Explained
- Introducing Our Web Development Problem
- Professional Development Workflows Explained
- The Basics of DDEV-Local Explained
- Installing DDEV-Local Explained
- Installing a New Drupal Site in DDEV-Local Explained
- Installing a New WordPress Site in DDEV-Local Explained
- Cloning an Existing Drupal Site to DDEV-Local Explained
- Cloning an Existing WordPress Site to DDEV-Local Explained
- Integrating DDEV-Local with a Hosting Provider
- Using the Most Common DDEV-Local
- Extending DDEV-Local Commands Explained
- Useful DDEV-Local Tips and Tricks Explained
- Integrating Apache Solr With Drupal and DDEV-Local
- Share Your DDEV-local Project Online Explained
- Using DDEV-Local With Xdebug and PhpStorm
How Can I Get the Book?