Getting Things Done with ToodleDo

Ahoy! It's somehow been a year since my last full post (gack!), so I should probably get back on the horse and get writing again. To make up for it, how's about I post two articles in quick succession? Deal? Deal.

More

Anatomy of a Drupal Entity

On a recent project in which we had to create a number of different entities, I started a list of functions / classes / etc. that are required when creating an entity in Drupal 7. Rather than remembering to move it around to each project, I think it makes more sense to post it here instead

This is by no means a definitive, complete document on how the various pieces of functionality work to produce an entity, so please leave any comments / questions that you have and I'll update the content accordingly.

More

Mr. T warns against lazy programming...

Mr. T pities the fool who uses numerical operators as boolean evaluators.

Speed up development using keyboard-triggered snippets in Sublime Text 2

So I just installed the Sublime Text 2 beta on the promise of it being a much prettier and more usable Notepad++. So far, it's living up to my expectations, with one minor caveat that the documentation thus far is pretty uneven, and some of the most powerful features aren't well explained.  To help fix that somewhat, I want to explain how you can go about creating snippets within Sublime Text, and then how to bind those snippets to a keyboard shortcut.

More

Drupal ImageSearchField module

A Drupal module that provides an image field that supports both user-uploaded images, image URLs, and images returned by image-search APIs (e.g. Google's Image Search API, the Amazon API, etc.). The image-search results are driven by plugins for the various APIs and thus can be extended by additional modules.

jQuery Ring Menu

The jQuery Ring Menu plugin allows for an animated ring-menu effect that positions a list of options in a circle.  Looks nifty in motion, and has some usability benefits such as equidistant menu choices when triggered under the mouse cursor.  Built originally for the UI of a web-based videogame, the jQuery Ring Menu was split into its own project as a genuinely neat UI control.

More

Google+ Profile photo in search results for your Drupal blog

Recently, Google started displaying Google Profile pictures beside its search results.  This article will show you how you can set up your Drupal blog / site so that your articles are correctly linked to your Google Profile and (hopefully) your profile photo appears in Google's search results.

More

Facebook may have some new competition...

  1. google+ == google++;

The Button Fly

  1. if ($('body .pants').attr('button-fly')) {
  2. time_spent_in_bathroom *= 2;
  3. }

Drupal syntax highlighting in Aptana Studio 3

Aptana has long been my web-development IDE of choice, especially for building Drupal sites. It's extremely powerful out-of-the-box, it's free, and because it's built on Eclipse there are myriad plugins which add new functionality (SVN and git integration leap immediately to mind).

Configuring Aptana specifically for Drupal has always been a little finicky, however, so I'm putting together a series of quick tips to help optimize the installation / configuration process.

More