Blog

Metal Toad on Twitter Metal Toad on Facebook

You should follow us on twitter or subscribe to our RSS feed if you want to stay on top of all the latest.

mike's picture

Quick & Dirty WordPress Plugin Benchmarking in Debug Bar

At tonight's PDX WordPress Dev meetup (thanks for the pizza Digital Trends) Daniel Bachhuber had some questions about benchmarking a plugin. Benchmarking WordPress itself is easy, but it's harder to isolate a specific plugin, much less a few calls to preg_match_all() within it. The questioned SEO Auto Linker plugin does this on every page load, so any running time adds latency on every page. Speculation from the meetup is that a PHP regex operating on post content, a blob, and looping through hundreds of links could be pretty slow. Too much caffeine today meant I had to give it a try. Read More…

joaquin's picture

Gender Diversity in Tech Requires Applicant Diversity

I would love our company to show more gender diversity, but where are the female applicants? From what I've read women make up 17% of the Drupal community - though there is some question as to how many of those women are actual developers. Even in speaking with women in the Drupal community, it often seems that the women working in Drupal tend more to be in marketing positions than in highly-technical jobs. Read More…

kronda's picture

Quick Tip: Dive Into Drupal Objects with Search Krumo

If you've done any signifigant development with Drupal, you're probably (deeply) familiar with a little function called dpm(). I think it stands for Drupal Print Message. If you aren't familiar, dpm() is available through the Devel module and it's a great tool to dive into any Drupal code you might be working with. You can examine available variables, the node object, etc. It even prints out in a nice compact bundle in the 'Messages' area. Read More…

dylan's picture

Using Amazon Cloudfront with Drupal

We like to use our own site to experiment with different technologies. CDN's are nothing new, and Metal Toad has projects running on competing systems including Akamai and Level 3. Still, I think Amazon Cloudfront is an interesting offering and I wanted to give it a spin. Here's my review of the service after setting it up with Drupal: Read More…

aaron's picture

Quick and handy iPad version-detection plugin for PhoneGap

We were recently using PhoneGap on an iPad specific JavaScript app (HTML5 in PhoneGap with Drupal data backend FTW!) and ran into a problem with the first gen iPad's RAM capability. For this specific project we just needed to disable some functionality for iPad 1 users, so I (with some objective C help from Chris) cobbled together a quick iPad version detection plug-in. Read More…

5 comments.

bernd's picture

The Myth of the Specialized Programmer

Ever heard of it? Apparently there is this mystical creature who is a master of his trade, knows all the tricks in the book and is generally just untouchable. He is the only one that can really solve the programming issues or even come up with any form of useful code in this particular programming language. Hmm... so if I learned to program Java that automatically disqualifies me from successfully programming in C? Or PHP? Or Visual Basic? Read More…

0 comments. Filed under programming.

kronda's picture

Quick Tip: Clean Up Your Drupal Modules Folder

Let's say you inherit a Drupal site and the modules folder looks like this: And being an organized dev, you'd rather it look like this: So you create a 'contrib', 'custom' and maybe a 'features' folder for good measure and move everything around. Then your site blows up and starts giving you errors all over the place. What happened? You pulled a shell game on your site, moving modules around and not telling it where to look. Read More…

joaquin's picture

How to Jumpstart Your Programming Career

If you've felt yourself stagnating as a programmer recently, I have a cure for you. That's right, a ticket out of the back room or cubicle you've been stuck in for the past few years, into an exciting world that is changing daily. The secret is joining an open source community. This is a step-by-step path to making more money AND having more fun at the same time. It may not always be easy, but doing something worthwhile almost never is. Here's how: Read More…

chris's picture

Drupal 6 Tutorial: Creating a YouTube Video Gallery

Creating a gallery of your YouTube videos that you can filter by various tags is a trivial task in Drupal 6. Here's an overview of the steps you need to take to add a video gallery to your Drupal 6 site: Create a video content type Populate it with proper fields Create a view to display these video Create a few template files to help display your videos in a nice fashion Make a small module to handle the JavaScript to create the YouTube player Check out a demo of this sweet gallery on the infocus website! Let's get to the nitty gritty of setting up this gallery. Read More…

10 comments.

Pages