Skip directly to content

Error message

  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1818 of /homepages/0/d190592849/htdocs/spiffboy/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1818 of /homepages/0/d190592849/htdocs/spiffboy/includes/database/query.inc).

drupal

VIM + snipMate and Drupal

on Sat, 09/24/2011 - 16:27

I just happened across a very cool little tool the other day for developing code.

Leaving sh*t around for others to clean up

on Sat, 08/06/2011 - 07:34

Somedays I walk through my house and it looks as though a bomb has gone off, or a tornado has hit. There are shoes on the floor as though someone left them in mid-step, jackets thrown all over the place, backpacks and papers here and there. In the morning there are cereal bowls left at the table, but nobody around to eat the cereal soaking up the milk that’s left there.

Drush site aliases

on Wed, 05/25/2011 - 10:28

You may already know that Drush is a great tool for maintaining your Drupal install or project. We are going to make things a bit easier through the use of aliasing. Aliasing allows us to go from
drush --uri="mydrupalsite.com" --root="/var/www/mds" status
to something simple like
drush @mds status

Drush one liner

on Fri, 04/08/2011 - 06:46

I've been playing around with node.js a bit lately and ran across their package manager. Sure it's not as powerful as drush but it's got a really nice and simple install and it got me thinking of the steps required to install drush. Sure there aren't many (Download Drush. Make sure it gets to the right dir. Make sure you add the link or aliases so you can call it easily) and you can even use git to do it.

Drupal.org issue queue and how to use it.

on Tue, 03/22/2011 - 23:14

At the DBUG meetup tonight we spoke about the issue queue on Drupal.org and how to use it. jyee and sreynen walked everyone through a theoretical case where a contributer and a user interact through the issues queue in order to resolve an issue. Though it was fun to watch as they went back and forth posting an issue to posting a patch to finally closing the issue there were some key things to keep in mind regarding the issue queue.

Drupal wants to be fast. or What Aaron learned today

on Mon, 03/07/2011 - 16:41

Today I took a class on Drupal Performance and Scalability and learned the following.

Drupal is slow

Out of the box it is. If you are running a Drupal site out of the box with no configuration changes and no caching set, your users are suffering. Sure you don't have to feel the pain because you aren't going to your own site everyday, but eventually you are going to feel the pain because your users are leaving your site and not returning.

When to node_load and when to access the db directly in Drupal

on Wed, 01/05/2011 - 23:45

node_load() in Drupal 6 is very efficient in that when you load a node it will keep the fully loaded node in a static array. This means, for example if you load nid 23 and need information from that node in a different place, you can simply call node_load(23) and it will return the previously loaded node. There is no charge to you.