Drupal

Some Fun with Drupal and Composer

Submitted by allan on Sun, 08/10/2014 - 21:28

At work, there has been lots of work making our code repos smaller for the fact that we would love our code reviews to only contain that in which we maintain. This means, all 3rd party code shouldn't be stored in our git repositories, and the changes that matter will not go unnoticed. To that end, Will Milton has went through some pretty pain staking development to get existing drupal modules into a packagist. This works with all versions of Drupal, as it's essentially, just Composer!

Continuous Integration Efforts Get Easier with Drupal 8

Submitted by allan on Sat, 05/03/2014 - 15:17

The following is a repost of an article I did for Promet Source.

Drupal 8 features unit level testing which will improve Promet's Continuous Integration practices.

At MidCamp (Midwest Drupal camp), I found out a really fascinating thing about Drupal 8: Support for PHPUnit is going to be part of the base distribution. This means a great deal to Solutions Architects and Developers at Promet because we have been striving to integrate automated tests into our build. Perhaps you remember from my talks or previous posts, number four of my 10 Principles of Continuous Integration is "Self-Testing Build". This makes Drupal a much more sought-after platform for shops looking to fully embrace Continuous Integration.

Male and Female Default (Gender Based) Avatar Images for Drupal User Profiles

Submitted by allan on Sat, 03/01/2014 - 19:50

I was sitting here thinking tonight that there must be a strong use case for male and female default avatars since there are several sites out there with users that with to remain "anonymous" but give enough information to determine their gender. I mulled over trying to make a module out of this but I don't think it would be advantageous enough to fix this customization to only 2 options and some how tying that to a field in the profile. So I decided to blog about how you could program this yourself.

Tags

One Exposed Filter to Feed Two Views Displays

Submitted by allan on Sat, 12/28/2013 - 21:10

Recently I had the pleasure of working on a project that required some finesse when it came to working with a search powered by Views. The use-case was this:

As a User, I would like to be able to search for doctors near me from the same search form as a normal search so that making a proximity search would be easy and intuitive.

Alright, I already had First Name, Last Name, Clinical Specialty, and Gender. All I need now is Zip right?

Tags