Install A Drupal 8 Module With Composer

Submitted by Mile23 on Sat, 11/08/2014 - 12:06

Just a heads-up of a proof-of-concept I did.

Here's a github repo for the page_example module from examples. I've added a composer.json file which requires symfony/console (arbitrarily), and composer/installer (to make it work):

I then made a entry for it:

Big Generator

Submitted by Mile23 on Fri, 09/05/2014 - 20:29

You know what an array is? Well there's Iterators and they act like arrays, only they're objects. And you can make a function that acts like an Iterator object, and that's a Generator.

OK then. We're done.

Wait, not done? OK.

Read on.

Way-Too Basic Overview Of Drupal Contribution

Submitted by Mile23 on Tue, 08/19/2014 - 11:41

Last week I gave a short talk at the Seattle PHP User Group. This meeting:

The topic was contributing to open source projects. We had a talk from Jeremy Lindblom about how to do a pull request and other basic tools, and a talk from Kris Craig about contributing to PHP itself.

I tried to illustrate how the issue/patch process works on Not sure how well I succeeded. :-)

Here's my Google doc my slide deck for any who are interested:

Some Rules

Submitted by Mile23 on Wed, 07/02/2014 - 14:39

Some Context

In internet communities, there is often a question of how to deal with someone who is consistently rude or mean or troll-ish or what-have-you.

It's similar to having 'difficult' people in the workplace.

And it's also similar to the notion that sexism or other bigotry in the community leads to lack of diversity, because who wants to be around bigots?

These issues are different iterations of the same thing, with the third having a larger social scope.

Some Rules

  1. There are always an end.

How To PHP Dev On A Mac

Submitted by Mile23 on Mon, 03/24/2014 - 15:10

I'm in the market for a new laptop, which means I'm in the market for a new MacBook Pro (probably 13" non-Retina, because I like repairing things I own).

But the upshot here is that I want to document what it would take to install all my tools to a fresh new MacBook Pro. I'll update this when I actually get the machine and do the process.

My current machines are stuck at 10.7.5 for various and sundry reasons, so some of this stuff might not be needed when I get Mavericks.

So here's the list, roughly in installation order:


Submitted by Mile23 on Sat, 03/22/2014 - 12:53

I just wanted to mention a thing I hacked together a little while ago. It's made it much easier to manage coding standards stuff. Your mileage may vary.

NetBeansDrupalComposed is a tiny Composer-based project that pulls in all the stuff you need to do coding standards reviews for Drupal.

Some Composer Drush Tricks

Submitted by Mile23 on Fri, 03/07/2014 - 17:58

Drush and Composer, Happy Pals

OK, so you like Drush. You might have it installed using PEAR. You don't know much about Composer, so you're not sure what to make of it.

Well, read on, and find out how easy this stuff really is.

This article focuses on Mac usage, but also applies to any Unix-flavor pretty much. Not so sure about Windows. You folks can fend for yourself, but maybe help out in comments if you feel so inclined.