Skip to main content
[2017-06-04]

Swapping Drupal 8 services to customize Drupal Commerce

#drupal #8 #drupal-commerce

One of the reasons that I love Drupal 8 is the fact it is object orientated and uses the Dependency Injection pattern with a centralized service container. If you’re new to the concept, here’s some links for some fun reading.

[2016-10-22]

Conductor, a Composer UI

#php #drupal #composer #electron

Developers have many tools. We have version control systems, we have dependency management tools, we have build and task automation tools. What is one thing they all have in common? They are command line tools.

[2016-10-10]

Managing Your Drupal Project with Composer

#drupal #composer

Drupal Commerce was started without writing any Drupal code. Our libraries set Drupal Commerce off the island before Drupal was able to support using third party library not provided by core.

[2016-05-23]

Run \Drupal\Tests\BrowserTestBase with SQLite

#drupal #phpunit #testing

As part of the push to deprecate SimpleTest and use PHPUnit as the test runner in Drupal 8, there is the \Drupal\Tests\BrowserTestBase class. The BrowserTestBase provides a Mink runner that tests web pages in Drupal. Unlike kernel tests, which require a database and can be run via PHPUnit as well, browser tests use your default database connection.

[2016-05-19]

Drupal Commerce and Migrate status

#drupal #drupal-commerce #migrate

First Steps

Plans were made back in December 2015 to put effort into the ability to support Migrate with Drupal Commerce to speed up adoption of Drupal Commerce 2.0. Commerce Migrate for Drupal 8 will provide migrations from Drupal Commerce 1.x, Ubercart for D6, and Ubercart for D7. Ideally, this module will also support other vendors, such as Magento and WooCommerce.

[2016-01-28]

Profiling Drupal Commerce with Blackfire

#drupal #performance

The process of debugging can be a difficult one, and the process of troubleshooting performance even more so. Luckily there are some great tools out there to help with improving the performance of web applications.

[2015-09-24]

Fixing rotated images uploaded to Drupal from an iPhone

#drupal

iPhones 4 and up store images in landscape mode and use EXIF data to provide proper rotation when viewed. This is a bit quirky as not all desktop browsers provide fixes, or they may not be streamlined. I remember my old project manager telling me their images were showing up "flipped to the side" during mobile QA testing.