Web development articles

This post demonstrates some Drush @sites usage, but perhaps better shows where the Drush @sites feature is at.

Tonight on a multisite installation, I wanted to run a query against every database. I had a play with Drush 3 HEAD, and found that I could get what I needed quite easily, and in a way that I will probably re-use.

This article demonstrates Drush aliases and the configuration you need to pull the database and files from one Drupal site to another with the following commands:


# Syncronize sites/emspace.com.au/files from production to dev.
drush rsync @prod:%files @dev:%files

# Syncronize database (minus 'custom' tables) from production to dev
drush sql-sync --structure-tables-key=custom --no-cache @prod @dev

When putting a lot of work into a Drupal site, it's nice to add some minor touches to give the project a more professional feel. In some ways, you are selling the quality of your customizations to the client, you boss, and other developers.

This article describes how to set up a Drupal content type with Latitude and Longitude, and then how to display multiple nodes in a Google Map.

I'm sure many of you have been asked this by your clients:
"Can we add a link up the top there to create a new (listing/page/article)?"

Lullabot is conducting a Drupal Fundamentals workshop, on-line, at the wonderfully Oz-friendly time of 11am EST Monday morning, starting this Monday 12th October. Why not share the experience at Em Space?

Drupal 6 menu system is a big improvement over Drupal 5. Of course, it's new, and like any major rewrite it will take a few iterations to reach its peak.

I struggled recently with the menu system in a website upgrade from Drupal 5. And again rending fiddly table of contents for a site that uses the book module. What I really miss, as with Drupal 5 before it, are some really nice API functions for building, manipulating and rendering menu structures that are defined in the menu_links table.

So, this tutorial explains how to tackle the Drupal 6 menu system to generate the HTML for a subset of a menu. If you are familiar with nice_menus, that module has some helper functions for similar things.

This article describes how to set up a custom JavaScript file in your theme in preparation for writing simple jQuery "glue code".

What is Glue Code

There is a fairly common practice in Drupal site development called writing "glue code". The idea is that, when developing a site, there will be a number of simple custom behaviors or workflow steps that you need to configure. Most of the time there is a module to achieve individual requirements, but the risk is that you can end up with a lot of extra code of dubious performance or quality akin to the Open Buffet Syndrome.

Paper website designs provide an interesting point of difference in a digitally designed world.

I'm really stoked to announce Em Space's new Drupal training services in Australia. The developer course is priced and ready to go.
https://secure.emspace.com.au/drupal-training/dev

(Australia you say? Even if you are not Australian, are you a Drupal celebrity who'd like to visit us? Even if you are the Rob Schneider of Drupal celebrities... I'm looking for good-natured Drupal folk who want to come on a working holiday.)

So anyway, what was I saying about our training ...