Jul
23
Drupal module mashups with Views and CCK
Wed, 07/22/2009 - 21:41 | 3 comments
With modules like CCK and Views developers rapidly create solutions with little custom module development. What if you need to deploy the same configuration of content types and views on multiple sites? The following example takes the power of the Views and CCK to create a sort of mashup module packaging your views and content type. I find this helpful time saver when having to repeat the same configuration on multiple sites.
Jul
13
Undocumented hook: hook_search_page() missing from Drupal API
Mon, 07/13/2009 - 20:20 | Add new comment
While developing a module for search I was looking for a way to override the output of search results before they were displayed out on the page. I flipped through the pages of the book Pro Drupal Development and read about hook_search_page().
Jun
29
Optimizing Drupal search results using robots.txt
Mon, 06/29/2009 - 20:17 | Add new comment
You may have a website packed with great information although if search engine spiders can't crawl your site, your results may show up lower in the results listings, or not at all. A properly configured robots.txt is one key that can help make sure your site is properly crawled and help boost your search engine ranking. Some module configurations can cause the crawling of improper results, duplication, or endless looping.
Jun
20
Ugliest websites ever
Fri, 06/19/2009 - 21:05 | Add new comment
Heres a listing of the top 20 ugliest websites still living on the Internet. I can't believe that these sites were never removed or redesigned. Number 19 claims to be a web design company. Go figure. There are probably more, but I got a kick out of this listing.
Jun
18
Drupal performance and scalability
Thu, 06/18/2009 - 19:50 | Add new comment
I've been doing some research and testing with Drupal measuring performance and scalability. Drupal has built in CSS and JavaScript aggregation (now in D6) to minimize the number of http requests, and caching via the database. In some cases with a high amount of traffic caching with the database is not enough. Modules like Cache Router allow the site caching to be handled by an engine other than the database to increase performance for larger amounts of traffic.
Jun
17
Website load testing with JMeter
Tue, 06/16/2009 - 21:27 | Add new comment
I needed a tool to load test a website I was working on that I knew was going to have a large amount of traffic. In the past I used Apache Benchmark, but I needed a little bit more extensive load testing plan. I found JMeter to be great solution that is quite powerful and extensible, although it has somewhat of a learning curve. I followed the basic directions in the JMeter documentation and created a basic load test for X number of simultaneous connections.
Oct
1
Deploying Drupal 6 programaticly with an installation profile
Wed, 10/01/2008 - 00:00 | 4 comments
I needed a programatic way to deploy and install Drupal sites using an installation profile. I found that I could use an automated installation profile to create new sites with basic customization rather quickly. I wanted to take this one step further to automate the installation process programatically. Drupal 5 makes creating automated install profiles straitforeward.
Sep
28
Customizing Drupal 5 and 6 forms
Sun, 09/28/2008 - 00:00 | Add new comment
I was looking for a way to customize the Drupal node edit pages for specific content types and I found this article from Lullabot. It gives a great overview of the different ways to customize or override the core Drupal form fields. I used this to modify an node edit page to create a simplified version of the form for less technical users so they would not feel overwhelmed with the many customizable options that Drupal provides for a node.
Sep
9
Drupal CLI tools
Tue, 09/09/2008 - 00:00 | Add new comment
I was excited more effort going into Drupal command line tools. In the past I’ve had to develop my own tools for deployment and updating Drupal on the command line. Drupal currently has limited tools for the command line in versions 5 and 6. I’m not sure about 7, hopefully it will be better. This Acquia blog post offers a collection of scripts to help deploy and maintain Drupal sites as well as some other features. Thanks Acquia!
Jun
11
Engineering Expo - Electric Motorcycle Photos
Wed, 06/11/2008 - 00:00 | Add new comment
I posted some photos of the electric motorcycle. We removed the engine from a 1987 Honda motorcycle and replaced it with 16 - 12 volt batteries and a 10 HP brushless electric motor.