Skip to content

The Drupal Experience

AKA, my time with the blue droplet.  I recently built a website for a client.  I initially recommended wordpress, as I often do but the client suggested the website would grow into an application.  You can certainly do webapps with wordpress, but it seemed worthwhile to look at alternatives.  Drupal 6 seemed to fit the bill:

  • flexible
  • lots of documentation (always important in any evaluation)
  • great community
  • tons of additional functionality (called plugins)
  • customizable UI
  • multiple languages supported

So, the site is launching soon and I thought I’d jot down my thoughts.  Keep in mind that I’m very much a drupal newbie.

The good:

  • I was astonished at the plethora of modules.  In fact, just about everything we needed to do functionally was done; it was a matter of getting the right modules installed and configured.  I don’t think I wrote a single line of code, though I did do plenty of code reading.
  • The look and feel were very customizable.  I ended up using a large number of blocks (isolated chunks of content that you can control and place).  The ‘clean’ theme was pretty easy to customize via CSS.  The Web Developer add on for Firefox was invaluable for this process–just hitting ‘control-shift-C’ and mousing over a component let me know what selector to use.
  • WYSIWYG support was pretty good, including image uploading (as a separate module), control of which of the TinyMCE buttons to display, and a dropdown to surround text with custom css class names.  I ended up using the HTML Purifier to scrub input from admin users.
  • The webform module allows non technical users to create complicated forms quite easily.  I didn’t really push this module, but it appears to have support for multi page wizards and other complex stuff.  But just using it for validation of required fields saved a lot of effort.
  • Drupal6 has a robust upgrade mechanism.  At least, it sure seems like it–I have upgraded modules and the core functionality a few times and haven’t had any issues.

My issues:

  • We started off on a medium strength server, and were not caching much, and performance was a big issue.  There are a number of resources out there, and some research is worth your while.  Drupal is a big, complicated system, and like all big complicated systems, tuning is a continual process.  Luckily, there’s a fair bit of built in caching that can be enabled with a checkbox.
  • Deploying from one server to another is an issue.  I talked to a friend who does a lot of Drupal development and he mentioned it was a real thorn in the side of drupal.  There’s just not that much available supporting the ability to move code from staging to production and content the other way.  To be fair, this is an issue for most CMSes, and there are some project (deploy is one of them) attacking this issue.  I don’t know of any open source CMSes that solve this problem entirely.
  • The SEO components seemed pretty good, but I was surprised that they weren’t bundled with the base Drupal installation.  You have to install a module to enable meta tags.  And another one for page titles.  Page titles!  (I looked at but was quickly overwhelmed by installation profiles, which might obviate some of the module installation.  There didn’t seem to be much support for Drupal 6 profiles.)
  • The complexity of Drupal, which allows it to do so much, means that there’s a lot to learn.  It can be a bit overwhelming at times.

The long and short of it:
If you’re looking to build a web application (not just a site), have some php expertise and some time to get up to speed, and need a lot of functionality, Drupal is worth looking at.

[tags]cms, php cms, drupal, blue droplets keep falling on my head[/tags]

Data.gov–freely accessible data in standard formats from the USA federal government

Have you ever wondered where the world’s copper smelters are?  Or pondered reservoir storage data for the Colorado river?  Had questions about the residential energy use of US households?

Now you can find the answers to these questions, using data.gov, the stated purpose of which is “to increase public access to high value, machine readable datasets generated by the Executive Branch of the Federal Government.”  I’ve been writing for a while about the publishing power of the internet, but data.gov takes this to a whole new level.

It’s definitely a starting point, not an end, as there are only 47 raw datasets that you can access.  They cover a wide range of data and agencies, and were apparently chosen to kick things off because they “already enjoy a high degree of consensus around definitions, are in formats that are readily usable, include the availability of metadata, and provide support for machine-to-machine data transfer.”  The four main formats for data provided by data.gov are XML, CSV, KML and ESRI.  (There are also a number of widgets, and tools you can use, including the census factfinder.)

More datasets can be requested, and I’m hoping that they will be rolled out soon.  What a playground! Go take a look!

Update, 4:55: Here’s a great article on the whole process and problem.
[tags]data.gov,public data[/tags]

Boulder Facebook Developer Garage, part II

I attended the first Boulder Facebook Developer Garage, and it was a hoot (are people under 60 even allowed to use that word in that context?).  The second one is coming up in next week–I got a message from Kevin Cawley, who is playing some role in organizing this shindig.  All the details are here: Boulder Facebook Developer Garage, part II.

[tags]facebook garage,boulder,pizza and nerds go together like peanut butter and jelly[/tags]

Where does the cloud live?

The network is becoming more and more essential to my every day life.  Sun was right!  But I haven’t put much thought into what the cloud actually is.  Luckily, First Monday has a paper about that very topic.

“Where is the Cloud: geography, economics, environment and jurisdiction in cloud computing” gives a nice overview of aspects of cloud computing that I have not spent much time thinking about. It isn’t too in depth, but gives a nice overview of cloud computing from a non technical perspective and a good look at how the pleasant abstraction of cloud computing actually intersects with the real world.

In addition, there are lots of interesting factoids in the paper, including “Collectively, the data centers in the U.S. consume electricity on level with a sizeable city — equal to the energy consumption of Las Vegas”, “Google has submitted a patent for water–based data centers that would use energy generated by the ocean to power and to cool the servers, with the ships housing these data centers positioned in international waters”, “The Canadian government has a policy forbidding public–sector IT projects from using U.S.–based hosting services to avoid U.S. laws like the USA PATRIOT Act” and “in January 2008, Amazon Web Services was storing 14 billion units of data, varying in size from a couple of bytes to five gigabytes, and handling 30,000 requests to its database per second”.

[tags]cloud computing,first monday[/tags]

FreshBooks Review: An Invoicing System for Freelancers

Last November, I started using FreshBooks (full disclosure: if you click on that link, sign up and end up paying them money, I get some money), which is online invoicing software… Wait, let’s back up a minute.

When I started contracting and consulting (oh yes, they’re different), I originally was doing all my invoices in Word docs (actually, OpenOffice Writer), and it seemed natural to track my time there as well. Don’t repeat yourself, right?

After a while, it was tedious to have to open up each invoice every time I switched the client I was working for, so I started using an OpenOffice Calc spreadsheet. On the left hand column were dates, and on the top row were projects/tasks (“work order 13”, “troubleshooting database performance issues”). I ended up having a second row, which was client identifier.

This worked well for a while. When invoicing time came around, I would take the hours and task data from the spreadsheet and put it in the custom invoice. I’d export the custom invoice as a PDF, and put it in a directory. When the client paid, I’d move the invoice to a ‘paid’ directory. This differentiation let me send gentle reminders to clients who hadn’t paid yet.

I realized early on that this wasn’t the most efficient system. Several times, I did research on invoicing systems. I looked around SourceForge and FreshMeat, but the invoicing systems I found there were aimed at invoicing for products, not hours. I had a friend who’d used GnuCash but it seemed to be so much more than I needed.

So, each time, I went back to my old friends, the spreadsheet and the word document.

Mid last year, I was slammed with work. This made me realize, again, how inefficient my invoicing system was. I thought, ‘hey, I’ll outsource it’. A friend had a good person doing some administrative work for him. I hired her to do my invoicing, once a month. I talked her through my system, and she got it. I double checked her first invoice, and it was great. The price was reasonable, I could still use my familiar system, I was happy.

Then this lady decided to raise her prices fifty percent, in a rather high handed and arbitrary manner. Now, I was not a big client. Frankly, I can understand how 1-3 hours of work a month was not very attractive (though I did throw her some research work at least once). However, I was slightly offended at the price increase, and decided to take my work elsewhere. This shows the power of the initial price, because if she’d quoted the hourly fee at the higher rate originally, I would not have blinked.

I tried to find someone else to do the job. I found a relative, who could do the job, but required a fair amount of hand holding. The relative kept talking about the automated accounting systems she had used in the past, so I undertook my search again.

This led me to last October. I looked around for web based invoicing system that would work with me the way I wanted to work:

  • mostly time and materials billing
  • some fixed bid, including for clients that I do t&m for
  • varying hourly rates
  • ~10 clients
  • pdf invoices I could email
  • web based
  • time tracking including
  • professional looking invoices generated

I narrowed it down to three contenders (this was as of October, 2008; there may be more now):

I took one look at QuickBooks Online, saw that it was IE only, and discarded that option (I may run Windows, but I want to support the open web).

I spent significant time investigating both Cashboard and FreshBooks. I liked the Cashboard interface better, but there was a huge stumbling block. Some of my clients have both fixed bid and t&m work, during the same month. I don’t ever want an invoice to show how much time it took to do a fixed bid project–that’s my business and not the client’s concern (that’s why it is fixed bid). Cashboard had no way of putting both a fixed bid project and t&m work (which must show hours spent) on the same invoice. I even asked Cashboard support about this, and got this answer back: “At the preset(sic) time there is no way you can show time for some projects on an invoice, and hide it for others.” Updated, 4/30/2009, 20:25: Apparently I was wrong, Cashboard can do both types of line items on the invoice; see discussion below.  Now I’m not sure exactly the source of my choice of FreshBooks over Cashboard.

FreshBooks lets you do exactly that, so I signed up for their free account (full disclosure: if you click on that link, sign up and end up paying them money, I get some money). And I’ve been using it since last November. After I decided to use it, I upgraded to get more client accounts.

In general, I’ve been happy with FreshBooks. It is always an adjustment to change your business processes and/or software but I’ve been happy with a lot of what FreshBooks has to offer.

First, though, the gripes and caveats:

FreshBooks is not a full accounting package (and they don’t pretend to be one). I still don’t have one–other than the accountant who does my taxes. This means that I don’t have a precise view of my business’s health all the time. I do find out my profit and loss numbers once a year (tax time), and I find that is enough for me. The business’s expenses and income just aren’t that complicated. I had about 30 deposits into the business checking account, and about 50 checks written against it (and a number of EFTs and fees as well).

The web interface is cumbersome and non-intuitive at times. It can be learned, but the crazy urls and heavy use of javascript are occasionally issues for me. For example, editing time that you already have entered, especially changing the day the time was entered for, took me a while to figure out. I also have to re-login to my account every day, even if the browser window has been open for the entire time.

There is no free widget/desktop app for Windows XP users to use for FreshBooks time tracking (you can always use notepad). There is one you can pay a modest fee for. I think it’d be cool to write an AIR FreshBooks time tracking app–maybe sometime…

What I like about FreshBooks:

This last quarter I qualified for the report card, which is free quarterly data comparing your invoicing statistics with others in your industry. Statistics include number of invoices, amount invoiced, % revenue from new clients, and average time to collect payment. This data is great, and I don’t know how I’d find it otherwise. (As an aside, one of my other project ideas is to have a local Boulder/Denver survey of rates for web software development. I’d pay for that–would you?)

I like the reporting available, including which hours have been invoiced and which haven’t (though I have issue with a fixed bid project that I’ve invoiced, but can’t seem to mark invoiced). If you had more than one employee, this reporting would rapidly increase in value.

The cost is reasonable–I have a Shuttle Bus plan, which is 14 dollars a month. (My bank does charge me a bit extra, because FreshBooks is a Canadian company).

They have a great blog.

FreshBooks has an API, which lets you develop any number of widgets (including the time tracker mentioned above) and/or access your data from other programs.

I want to emphasize that the FreshBooks invoicing software is no one-size-fits-all solution. I am running a one person software/consulting business with a fairly stable set of clients and minimal expenses. FreshBooks has many features I don’t use (postal mail invoices, basecamp integration, expense tracking, estimates).

The biggest component that I don’t use is client login. Freshbooks makes it easy to create client accounts. Clients can then login and view documents, see outstanding invoices, contest them, and even pay them with online payment systems. This seems nice, but doesn’t fit with my client expectations. I may try this with new clients, but I hate to ask someone who is paying me money to login to yet another system, just to make things easier for me. Besides, I like to thank my clients in a personal email around the first of the month (along with sending them my invoice)–it never hurts to thank your clients.

So far, FreshBooks has been a great choice for me. If you’re in the Excel/Word invoicing world, or have an invoicing system you’re looking to dump, check it out.

[tags]invoicing,business process, freshbooks[/tags]

Boulder New Media Breakfast Notes: A Presentation by John Jantsch

I went to the second Boulder New Media Breakfast last week (this will be a monthly event, but this particular talk was delayed by a week due to weather).  It was interesting–a 15 minute networking session over bagels and coffee, then an hour presentation.  The catch is that it started at 7:45 in the morning–so you still had a full day left when you were done.

It was an interesting presentation and crowd and I think I’ll attend in the future.  It was a much smaller crowd (30-40 people) and  far more focused on marketing than the typical group I attend (New Tech, BJUG, CU Colloquia [which incidentally is having an interesting talk on “leveraging social networks in information systems” on Apr 7]).  I talked to a couple of people who were PR folks interested in technology, which isn’t my typical networking group.  I also talked to a fellow named Joe, who often asks hard questions, but always wears the great hat, at the Boulder Denver New Tech meetup.  I also got a chance to talk to Dave Taylor (of elm and Ask Dave Taylor fame [who answered a tough question well enough it got emailed around to me])–it was interesting to talk to him about his move from software developer to strategic business consultant.

After the networking, we all sat down for a presentation on reputation management by John Jantsch.  The following are my scrawled notes from that presentation (any sentences that start with I are my thoughts).

Notes:

Lots of people use the internet to do research for products and services.  36% of people think more positively of companies with a blog.  I don’t know how many people think less positively of such companies.

As a company, says John, you need to have a policy on digital conversations.  Such conversations with customers will happen, so you need a policy, and HR is the right department to produce one.  He discussed three types of conversation: person to person (like Dell customer service reps answering questions on forums), thought leaders (like a blog from a industry heavy weight who happens to be employed by IBM) and company communication (like an official blog from the USPS).

John also mentioned that it may make sense to, in the same way that sales folks sign non compete agreements, to have  customer service reps that interact through social media sign such agreements.  After all, if someone is the face of the company, and then they switch jobs, do they (and their new company) have a right to all the followers on twitter that were acquired through the original company’s hours?  Who owns the facebook profile?  I never have liked non competes, but the idea follows logically from the personalization of customer service on company time.

Another concept that is important is transparency.  Given the proliferation of digital communication, transparency into a company is here–now the question is, how can you influence it.  The best way to influence it is to host your conversations as much as possible.  In addition, be proactive in responding to issues (ie, customer complaints).

As a company, you need to have coherence in your branding across your internet presence.  Just as the website used to be ignored 10 years ago, facebook profiles are now often ignored and grow up from the ranks.  This leads to lack of message and branding consistency.

Now John moved on to cover some tools that are useful.  Most of the tools are free, but he did mention a few paid services.  The following are free alert services that help you search for keywords in various areas of the internet:

He referred to twitter as a “stream of sewage” and stated that tools to filter that stream were needed.  (As an aside, this video commentary on the twittersphere is hilarious.)   Twitter has a location specific search options (in advanced search) that you should definitely leverage for competitive analysis.

John also talked about making sure that your online presence is high quality.  This is not only done by making sure your website/blog/facebook profile/twitterstream/etc/etc are updated regularly and with good content, but also by taking advantage of tools that aggregators like search engines provide.  For example, if you have a local business that appears in Google’s local search, you can add update the entry using the local business center.  This lets you claim the listing, add pictures and verify other information.  Other search engines have analogous processes, and it is well worth your time to try to stand out.  I don’t quite know what will happen when everyone does this updating–the value of accurate content will remain, but having a picture won’t be enough to stand out.

Then we went into a question and answer period.  One person asked for examples of good corporate users of twitter. John gave these examples: Dell, radian6.

Another person asked about the personal/business divide: if you’re running a small business, do you want to provide info in your twitter stream (or other digital media) that identifies you as a person (“I like to tele ski”) or just have it focus on business issues.  John answered that the line is still blurry and being defined.  I personally try to keep my blog focused on business, but I think it depends on what you’re selling.  If I were selling socks, tales of adventures in my socks would be appropriate.  Since I’m selling software services, you probably don’t want to hear about the killer desert hike I went on last year.

End notes

I really enjoyed the breakfast and encourage anyone with an interest in digital media to try it out.  The next presentation (at the end of April) will be a presentation by Terry Morreale on personal digital security (I believe).

[tags]boulder new media breakfast,twitter,duct tape marketing,it’s at 7:45??[/tags]

How to turn off red/green/blue lines in Sketchup drawings

This frustrated me to no end, so I’m posting it here.

If you’re using Google Sketchup to sketch a model, and you want to export it to a two dimensional file (e.g, a PNG), without the green, red and blue axis lines, you can do so by following these steps.

  • open your model
  • choose the window menu option
  • choose the styles menu
  • choose edit
  • change the ‘color’ drop down (at the bottom of the popup) from ‘by axis’ to ‘all same’.

This works for Google Sketchup 6.4.112.
[tags]google sketchup, basics[/tags]

Popups in GWT and IE8

Just starting to test some GWT applications against IE8.  (Using IE Collection, which is very useful.  It includes standalone versions of IE from IE1 to IE8.  Very useful, even if the version of IE8 doesn’t include the developer tools.)

The only issue I’ve seen so far is that popups don’t work correctly.  Some appear, but not where they are supposed to.  Others, particularly with the lightbox we’re using (from the GWT-Widget project), just don’t appear at all.

For the latter, you get the very helpful message:

Line: 2618
Char : 324
Error: Not implemented
Code: 0
File: url to your GWT cache.js file.

(This is with GWT 1.5.3.)  After compiling the GWT with “-style DETAILED”, I looked at the precise line causing the error message.

It was in this method:

function com_google_gwt_user_client_ui_impl_PopupImplIE6_$onShow__Lcom_google_gwt_user_client_ui_impl_PopupImplIE6_2Lcom_google_gwt_user_client_Element_2(popup){
var frame = $doc.createElement($intern_1350);
frame.src = $intern_1351;
frame.scrolling = $intern_1352;
frame.frameBorder = 0;
popup.__frame = frame;
frame.__popup = popup;
var style = frame.style;
style.position = $intern_1314;
style.filter = $intern_1353;
style.visibility = popup.style.visibility;
style.border = 0;
style.padding = 0;
style.margin = 0;
style.left = popup.offsetLeft;
style.top = popup.offsetTop;
style.width = popup.offsetWidth;
style.height = popup.offsetHeight;
style.zIndex = popup.style.zIndex;
/*
style.setExpression($intern_110, $intern_1354);
style.setExpression($intern_111, $intern_1355);
style.setExpression($intern_91, $intern_1356);
style.setExpression($intern_93, $intern_1357);
style.setExpression($intern_1358, $intern_1359);
*/
popup.parentElement.insertBefore(frame, popup);
}
You can see where I commented out the style.setExpression calls, which seemed to fix the issue (the $intern strings are css property names like 'left').  Obviously not very sustainable. The other fix available right now is to add this meta tag to the HEAD section of your HTML documents:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

For more information on this, follow the GWT issue tracker bug 3329.

Speeding up Thunderbird Search with IMAP

I like the Thunderbird email client a lot (Thunderbird2).  I used to use and love pine, though, so perhaps you should take any accolades with a grain of salt.

I use Thunderbird with IMAP so that I don’t have to worry about backing up my email locally, and so that I can always ssh in and view new mail if I’m on a different computer (‘less’ is my mail client then!).

It has a lot of plugins, but the only one I really used was lightning, the calender/task management plugin.  And then I got a Palm, and haven’t been able to find any way to hook the calendar on the palm up to lightning (there is support for syncing contacts).

Anyway, one thing that got me really riled me up was the slow search.  This post illuminated the facts for me; it wasn’t Thunderbird that was slow, it was my IMAP server.  I upgraded my IMAP server to dovecot 1.1.7, that being what my hosting provider supported.  Dovecot has a nice full text search installed by default.  Or at least I thought it was nice.  It couldn’t be worse than no full text indexing at all, I figured.

However, my hosting provider didn’t provide that plugin–whoops!  I downloaded the same version of dovecot, ran ‘configure; make; make dist’ and copied over all the fts *.a *.so and *.la files for both fts and fts_squat to the plugin directory.  Then I enabled the fts plugin in the dovecot.conf file, including changes recommended for fts_squat, and restarted dovecot.  My full text searches (in Thunderbird quick search) for folders with 6000 messages, went from 4.5 seconds to 1 second.  Quite the success.

I then wanted to figure out some way to search for multiple areas in the quick search box.  I already found that you can use the pipe symbol as an or operator but that only applies to a given type of search (for subject, or body, etc).  What I was looking for was a way to search for ‘from sue’ ‘to anton’ and ‘body contains spaghetti’, all in one search.

I searched and searched, looking at the IMAP rfc and trying many different variations.  I looked at plugins.  I looked through the config editor.  I tried the Thunderbird tips page.  No luck.

Then I read a post that talked about the two ways to search.  Quick search (the box in the upper right hand corner of the email client) and normal old search, the one you get to by typing ‘control-shift-f.

This does exactly what I want!  But it’s cumbersome.  It’d be great to take a page from Yahoo Mail and implement their search shortcuts in the quick search bar: ‘from: ‘ for from, etc.  It’s a killer feature for me.

Anyone know of a plugin that does this?  This page has some keyboard shortcuts, but that’s not really what I’m looking for.  And I didn’t see anything in the Thunderbird bug list, though this bug seems like it might be heading down that path.

Anyway, those are my recent adventures in email.