Required DependenciesĪnother important aspect of choosing one of these tools is realizing what you will need to have installed on your Computer to make that tool work. Now, 'time to Drupal' isn't the only metric you should care about-there are some good reasons people may choose something like Drupal VM over a Docker-based tool-but it is helpful to know that some tools are more than twice as fast as others when it comes to getting Drupal up and running. There's an obvious trend in this graph: Docker-based environments are generally faster to get up and running than a Vagrant-based environment like Drupal VM, mostly because the Docker environments use pre-compiled/pre-installed Docker images, instead of installing and configuring everything (like PHP, MySQL, and the like) inside an empty VirtualBox VM. So most people, once they get into more advanced usage, would prefer a more fully-featured local environment. The new drupal quick-start command that will be included with Drupal core once this patch is merged is by far the fastest way to go from "I don't have any local Drupal environment" to "I'm running Drupal and can start playing around with a fresh new site." And being that it's included with Drupal core (and doesn't even require something like Drush to run), I think it will become the most widely used way to quickly test out and even build simple Drupal sites, just because it's easy and fast!īut the drupal quick-start environment doesn't have much in the way of extra tools, like an email catching system (to prevent your local environment from accidentally sending emails to people), a debugger (like XDebug), a code profiler (like Blackfire or Tideways), etc. One of my favorite metrics is "time to Drupal": basically, how long does it take, at minimum, for someone who just discovered a new tool to install a new Drupal website and have it running (front page accessible via the browser) locally? And now I've compiled some benchmark data to help give an overview of what's involved with the different tools, for someone who's never used the tool (or Drupal) before.Īll the code for these benchmarks is available under an open source license in the Drupal, the Fastest project on GitHub. Throughout the week at DrupalCon, I've been adding automated scripts to build new Drupal environments, seeing what makes different development tools like Lando, Drupal VM, Docksal, DDEV,, and even Drupal core (using code from the active issue Provide a single command to install and run Drupal) tick. The intention of this project is to highlight the most stable, simple, and popular ways to get a Drupal site installed and running for testing or site building, and measure a few benchmarks to help determine which one(s) might be best for Drupal newcomers.įor reference, here's a spreadsheet I maintain of all the community-maintained local Drupal development environment tools I've heard of. There are a number of different tools people can use to run a new Drupal installation, but documentation and ease of use for beginners is all over the place.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |