Creating components with Drupal

When you make a few Drupal sites, you will eventually find that you want to be able to take a feature that you created on one site and move it across to another site. After all, why re-invent the wheel!

My procedure for doing this has changed over time, using the features module was the way with Drupal 6 and Drupal 7, but with Drupal 8, we have better configuration management, and modules to help make things easier.

Features is again one of the modules that can be used, but I prefer a lighter approach, though its perhaps a little more work.

Speed up loading Drupal database into mysql

I've developed a little script over the years that dumps production databases, and loads them locally on demand, and its been very handy.

However, it was taking ages to load a database on a Virtualbox ubuntu environment I use for debugging with Zend.

A quick look into it, and I found that i'd put

--skip-extended-insert

on the mysqldump command sometime in the past.

I changed that to

--add-locks --extended-insert

and the loading has gone from over 12 hours (I was asleep, not waiting for it ;-) down to 30 minutes.

New CCK module to accept signatures on *Pad devices

With all the new *Pad style devices coming out now, I wanted to be able to get signoff by customers on the spot using a signature for quotes, jobs etc in our drupal based ERP system.

This module facilitates that by allowing creation of a CCK field which accepts input via mouse, finger, stylus or anything that can draw on the screen.

You can grab the cck module here:

http://drupal.org/project/signhere

or try it out for yourself here: