Setting up your system for Drupal coding standards

Posted on Wed, 08/24/2016 - 17:09

As a bit of background, my main objective is to integrate Drupal coding standards into PHPStorm. I would imagine similar steps can be taken with other IDEs. I'm mainly writing this blog post to remind myself of these steps if/when I need to do this in the future. But, it occurred to me others might benefit from this as well. DependenciesComposer is the lone dependency. And, bear in mind, the instructions are for PHPStorm. Installing tools PHPCS is the defacto tool used to do code sniffing. And, Drupal has built in PHPCS libraries with it's Coder tool. composer global require "squizlabs/php

development drupal

The Technical Lift of Drupal 8

Posted on Wed, 07/27/2016 - 13:13

Drupal 8 has been widely praised for improving the developer experience (DX). The "best of breed" adoption of tools (see: Symfony, Guzzle, PHPUnit, Composer, etc) clearly positions Drupal to mature and evolve beyond that which one community is able to do alone. But, there are many different considerations of DX that need explored. And, what lift is required for the community to grasp this new version? And, what is the impact? DX ConsiderationsProbably the number one thing that is praised with Drupal 8 is the technical modernization. Drupal is already challenging to learn effectively. But, if

development drupal people

Theming Drupal 8 Field Collections

Posted on Fri, 07/01/2016 - 13:59

I'm a big fan of Field Collections. It provides a high level of flexibility in setting up an auxiliary (and potentially shared) data structure that can associate with another entity. As such, it's a highly customizable way to do relational data in Drupal. This shouldn't be confused with Inline Entity Form which helps embed an entity within another entity (and is also an amazing project). One of the major challenges is around the fact that the Field Collection entity is decoupled from the entity in which it is hosted. This complicates practically everything from rendering, Views, and much more

development drupal

The office is dead

Posted on Mon, 04/11/2016 - 11:44

I recently made a pass through historic downtown Altoona and I noticed how many buildings appeared to be empty. It actually occurred to me that my definition of infrastructure has shifted radically from the conventional infrastructure companies have adopted. The "office" is hardly a requirement for a majority of jobs. I have now worked for two virtual companies for almost three years. Aside from the occasional happy hour, there is very little that I miss out on working virtually. Video conferencing software has been amazing (you can share your screen and co-work on items if needed). Slack has

people

A slideshow in Drupal 8

Posted on Tue, 03/15/2016 - 19:33

I thought I'd play around with creating this feature in Drupal 8. Here's the step-by-step run down. This is assumed your logged in with an administrative user. 1. "Slideshow Item" data structureCreate a slideshow item content type with any structure you desire. In my case, I added an image, a title, a description, and a link. This was all done by core provided field types.Manage > Structure > Content TypesAdd Content TypeFill out the form for slideshow items and SaveEnter the fields you desire for the data structure 2. Slide orderingI considered adding a weight as a numeric field. However, I

development drupal

Our fights are not your fights

Posted on Tue, 03/08/2016 - 18:05

I'm not one to really dig my heels into politics. I find it divisive and I recently had a clear example as to why. Earlier, I heard my doorbell ring. It was a Bill Shuster promoter walking door to door in my neighborhood. I have already grown tired of his campaign, seeing television commercials with scathing attacks on Democrats, his extreme views on health care, and the flashing images of Sarah Palin and other off-the-wall conservatives he self aligns with. I was handed a pamphlet of information and needed to look no further than the cover to set me off. Our fights are Bill's fights

people

Site Updates in Drupal

Posted on Thu, 03/03/2016 - 15:16

Site updates in Drupal are one of the most critical, proactive things needed to eliminate vulnerabilities on your site. While the open source community strives to make these updates smooth, there are no guarantees there won't be issues for your specific site based on how you've extended your Drupal instance. This is because each site may have it's own custom code, it may have it's own combination of contributed modules with unique interactions, and it may have it's own visual theme. The key point is that it's not a safe assumption that site updates meet all use cases. Most module maintainers

development drupal