Is OpenSocial a big F-U to Microsoft?

There's a huge amount of news today about Google's new OpenSocial platform API.  It turns out that everyone but Facebook has already announced that they're on this bandwagon.  So what?

Does anyone remember the big news about Facebook just before this whirlwind hit??  Remember Microsoft paying out buku-buku bucks for a percentage stake in Facebook?  Remember that??  Facebook valued at $15B??

I'm really surprised that nobody's asked this yet, but do you still think Google would've rolled out OpenSocial if they'd won that bidding war instead of Microsoft?

Pause for effect.

Ok, so realistically, there's probably still a decent chance Google would've introduced this platform at some point, but I'd bet that Facebook would have been on board.

What's going to happen here?  If OpenSocial shows any signs of momentum at all, Facebook is gonna be on the thing eventually.  But -- Facebook loses its big shot at world domination.  After all, a couple weeks ago, people were talking about Facebook knocking Google off the top of the hill, and they were almost serious.

That's gone now.

You know what else is gone?  Facebook's $15B valuation.  Poof!

Ballmer's got to be three shades of purple in the face right now.

It's a big-stakes chess match out there, and this was a money move.

Wizard UI Dysfunction

Wizard_02aThe first time I ever saw a Wizard dialog used in a software product, I thought it was a pretty good idea.  If memory serves, this was right around the introduction of Windows 95, and Paula Abdul was still a singer.  Software designers were still coming to grips with the graphical user interface, and let's face it - the toolbox wasn't too extensive at this point.  You could build any interface you wanted as long as it was gray and consisted of text boxes, radio buttons and check boxes.

Users were also still learning Windows, so as forms grew in size and complexity, their eyes began to glaze over.  The wizard appeared in this barren land, and it offered hope.  Bite-sized chunks of user interface, punctuated by "Next" buttons (perhaps inspired by the rash of "to be continued..." TV episodes that also seemed popular at this time).  The best wizards also featured colorful graphics to decorate the panels - all very slick.

Wizards, of course, became a victim of their own success.  They multiplied until they reached critical mass.  Wizards were everywhere -- especially, it seemed, where they weren't really needed.

Time and technology, of course, continued to march inevitably forward.  Our tools improved.  Our toolboxes grew new UI widgets.  Al Gore invented the Internet

Slowly, designers moved on to embrace these new tools and take up the banner of Usability.  Alan Cooper taught us about affordances.  Wizards were so Windows 95.

 

Appropriate Wizard Use

So has the Wizard been forevermore wiped from our pallet?

No - in fact, there are still places where a Wizard UI makes sense.  They're still quite common for setup or configuration changes where you may want to go back to where you started if you screw up along the way.  They're also used for editing business objects where a "valid" state requires a lot of data entry, and you don't permit "invalid" data to be saved.  I'll talk more about this case later.

  What factors tell you you've got a candidate for a Wizards?

  • Complex operations.  Your app needs to collect a lot of information.  Maybe the data from one field affects the options available for another field.
  • Transactional operations.  There are distinct sections or steps in an operation, but they all should occur together in order for the operation to be considered complete.
  • Ordered operations.  It matters which things are entered first, second, and so on - again, perhaps because the answers on page one affect options on page three.  Generally, wizards let you go backward to edit prior answers, but they won't let you skip forward.

Generally, at least one of two of these should be true before you use a wizard.  The wizard features some UI elements and characteristics that uniquely satisfy these needs:

  • Segmented UI.  Complexity is managed by separating a big ol' hunk of data entry into bite-sized panels.
  • Contextual "Next", "Back", "Cancel", and "Finish" buttons.  These buttons appear only where they make sense ("Finish" won't appear until all required information is gathered, for instance). 
  • "Cancel" and "Finish" make the wizard transactional.  The whole wizard either succeeds, leaving you in a "good" state, or it rolls back to where you were prior to starting the wizard.  There's no such thing as bailing out in the middle with half your data set up.

 

Wizard Misuse

So, where do wizards not work?

The biggest problem I've seen with wizards are using them as a general data entry strategy.  I'm trying to unravel a UI right now that had been designed to feature very prominent use of wizards.  Add and edit screens, for instance, were designed as multi-page wizards -- and this was done for all of the objects in the system.

How does this violate the usability principles above?  In most of these cases, there's a lot of data to enter, but the relationships really aren't very complex.  There's no order; in fact, the wizard allows the user to skip to whatever step she wants.  News flash: this isn't a wizard anymore; it's a funny-looking tab control.

To make matters worse, this UI is on web application, which forces the web app to incur a ton of extra overhead to accommodate the transactional expectation of the wizard.  In one case, the UI even calls for a nested wizard, where you start one wizard from the middle of another one.

This would be awkward in a Windows app, where you've got real modal dialogs, and the rest of the rich UI tools needed to make this work technically.

In a web app, though, you've got the competing expectations that when you move from page to page, your work is saved; yet, when you hit "cancel" on the last wizard step, you're supposed to roll back your changes.  What a nightmare!

 

Wizards for "Must-be-valid" objects

Earlier, I pointed out that one of the places where wizards are commonly used was to make sure that a complex object has been properly entered and validated before saving it.

If this is really a legitimate requirement, then a wizard control might be a good choice for you.  I believe in most cases, however, you're really doing your users a disservice by "protecting" them this way.

I've seen these dialogs really frustrate users who get 3/4 through setting something up, only to find that they're missing a piece of information.  They then have to abandon their work to go figure out how to get past that hurdle.  In most cases, the system is much more usable if it allows the user to save whatever they've typed, and simply tracks the fact that this object isn't valid in its current state.  Let the user come back and fix the broken bits later.

 

What are your wizard nightmares?

M8 Hosting: Tech Support Deficient

I've been implementing SugarCRM in a hosted environment, and in contrast to my earlier post about great open-source customer service, this is a case where customer service is dragging down a product that would otherwise be quite good.

In fairness, I'll start with the good news.  Setup happened really quickly, with SugarCRM already loaded and running.  Mail worked, and I was able to set up ZuckerReports, which I'd been worried about, since I'd had trouble with that on a local test system.  Speed seems great, too.  There's no indication that the servers are taxed, no matter what time of day I check.

So what more could I want?

The problem is subtle, but really nagging.  The permission and ownership settings are all fouled up.

I'll try to describe the problem without dwelling too deeply into Unix / Linux tech-speak.  Linux files are owned by a combination of a user and a group, expressed as "user:group".  Permissions for these files are expressed in terms of who can do what, depending on whether you're (1) the owner of the file, (2) a member of the group that owns the file, or (3) anybody else.

Processes run as users in Linux, so I can log in to a Linux machine had have a set of permissions as "me", but when I do something via a web page hosted on that machine or an ftp session with that machine, I'm working through the web or ftp service, and I'm subject to the permissions granted to that service's user.  This is one of the ways Linux keeps itself secure (you may be able to compromise one account, but you wont be able run amok).

So here's where the trouble starts.

First problem: The web server is a different user than the user we are when we log in via ftp.  Different groups, too.  So when I ftp something up to the web site, it gets saved into the web file area, but the directories and files belong to "me", not the web server.  This isn't a problem unless it's a directory or file that SugarCRM wants to be able to change itself, and there are a surprisingly large number of those.

SugarCRM exacerbates the problem by (frequently) politely swallowing error messages, so what you see is a system that's happily puttering along while things frustratingly fail to save / update.

Next problem: Some SugarCRM customizations need to modify files on the server.  SugarCRM has a (generally) really nice feature called the "Studio" that lets you accomplish many customizations via meta-data and custom files right on the SugarCRM server, in near-real-time.  This makes short work of simple jobs like adding a field to a screen or customizing lists or drop down values.

When you make these changes, however, the web server has to be able to save them, and in some cases, this requires the web server to add one or more directories in order to maintain its structure.  Sadly, this also isn't working on our host.

I can frequently tell when I'm dealing with one of these problems, because they're goofy (something that should obviously be working just as obviously isn't) and because the exact same thing works on my test system.

Here are the two most recent cases where this setup has bitten me:

  • I needed to modify the Leads listview to include another column. Normally, this is a five-minute fix in SugarCRM's studio, so I went in and customized the listview to include the extra field.  I saved the view and went to test it, and no change had taken place. I went back into the Studio and found that my changes had reverted.  I did the same customizations on a local test system, and they worked just fine. I noted the most recently-modified files and saw that custommodulesLeadsmetadatalistviewdefs.php had been changed.  Back to M8 - I used file explorer to look at the directory structure on the production server, and found there was no "metadata" folder beneath "Leads". When Studio tried to create that directory so it could store the newly-customized file, the web server process had been unable to make the directory. If the directory had been created, I don't know if the web server would have been able to create a new file there, but I wouldn't be surprised if that failed, too.  I was able to get the changes to show up only by manually creating the folder and then uploading the file I modified on my test system.
  • I tried installing Ken Brill's advanced search module.  Now, I know that Ken knows how to package modules, and this one went in without a hitch on two separate test systems, but when I installed on the production system, I got an error complaining about permissions.  The workaround in this case was to CHMOD 777 for a couple of big chunks of the directory tree, and then set permissions back to "normal" after installation.

Now, I've begged and pleaded with M8 to get shell access so I could chown these files and directories properly, and they finally granted this to me, but my login didn't have permission to chown to the proper user and group so the web server would be happy again, so I'm still stuck!

This is driving me nuts, and I can't seem to get M8 to understand the problem.

Has anyone else experienced this with M8 or other providers? I'm afraid if this doesn't get resolved soon, I'm going to have to look for a new home for this site.  Needless to say, if anyone knows a good SugarCRM host, I'd be interested in that, as well.

Scott Adams for President

I subscribe to Scott Adams' blog feed, and his posts are usually amusing to some degree or another.  What may surprise you, though, is how often there's a nugget or two in one of his blog posts that can actually make you stop and think.  Today's post, for instance, was intriguing in much the same way that an unidentified odor is intriguing.  Like the odor, I'll be thinking about this for a while.

Scott thinks he can solve all of our problems.  I think he might be right.  (sniff...)

Here's the plan: Scott turns our national problems into a reality show.  Panels compete to solve the problems, judges zilch the William Hung solutions, and we vote on the rest.

Crazy?  Crazy like a fox, if you ask me.

Software people should be able to appreciate the opacity problem with today's legislative system.  Wayyyy too much stuff is happening in smoke-filled rooms to have any hope of a good outcome.  Like open-source software, I think there's goodness to be had in opening the legislative process.  Let's go ahead and look into the sausage factory.  And no, I'm not talking about CNBC.

It's pretty easy to lash out against something like this on the principle that it just can't possibly be right.  You might not be able to put your finger on the problem right away, but it just can't be right.  After all, the panels aren't elected, the judges aren't elected, and how would you police voter fraud?

But here's where the stink wafts into the room again.

Despite these flaws, I think I'd trust this system more than I'd trust Congressmen making backroom deals with lobbyists, while political contributions are rewarded with pork barrel spending and all sorts of palms are getting greased, none of which belong to me.

At this point, you might be oddly excited that Adams has found a better form of government, or you might be despondent over the fact that our government is so deeply fractured that a whacked idea like this can even elicit a moment's consideration.

Me?  I've got to go find a can of Lysol or something.  This smell is making me nuts.

Apple Bashing

macguy_jailMy, how the mighty have fallen from grace.

Not long ago, Apple (especially the Mighty Mr. Jobs) could do no wrong at all.  They were the cool geeks, leading the world out of the dark canyons of Wintel captivity.  But slowly, ever so slowly, chinks have appeared in their iArmor.

You've probably seen the latest - Apple is fighting like hell to punish the free spirits who've dared to unlock their iPhones.  One update after another is pumped out by Apple, preventing people from loading their own MP3s as ringtones, and now bricking the unlocked phones.

But now, reports are starting to come in that some people who haven't tampered with their phones are having problems with these updates, too.  This is going to really hurt Apple.

These are some of the same people who stood in lines for hours and hours just to buy one of these new phones.  Why?  Because Apple wasn't just another phone company, and they weren't going to treat their customers like regular phone customers.  No, these people were special.  They were the iFaithful.

Sorry, folks.  Apple's chasing those bad, bad iUnlockers with such vigor that they're running over their best customers.  That's going to leave a mark.

In case you're keeping score at home, kids, here are some of the lowlights Apple's hit over the last few months:

Let me know if I missed any.

So I really think someone should jump on this and make a new "Mac Guy" vs. "Motorola Guy" or "Sprint Guy" or something like that where the Mac Guy is stuck in jail, or Steve Jobs comes out with a hammer and pummels his phone or something.  Let's see who's got the moxie to take the first shot - I can't wait!

How can you “feel” platform quality?

parkedcars1 You can tell the difference between a Kia and a Mercedes with your eyes closed, can't you?  It's more than the look of the car; it's a host of little experiences that tell you how the car was built, and that someone really sweated the small stuff.

You can feel quality when you reach for a knob - it's in the right place, even though you've never thought about what the right place is.  You can feel it when you twist the knob or flip a switch - you can tell that knob is going to be working just fine the umpteen-thousandth time you reach for it.

Doors are a good place to look for quality.  I owned an Acura a couple years ago, and it had a little electrically-actuated finger that grabbed the door when it reached the door frame and pulled it in tight to latch.  I hardly ever noticed it until I got rid of the car, but then I really missed it.  Other high-quality cars pride themselves on a solid, muted "chunk" that could just as easily come from a bank vault.

Software has quality, too.

You may not be aware of the dozens of subconscious signals that transmit software quality to you, but they're there, too.  The first thing that people think about when "software quality" comes up is coding quality - how many bugs are there?

You've probably seen the jokes that talk about using the horn, turn signal, and gear shift to restart the car when it breaks - that's a reference to coding quality.  We don't want our cars to leave us stranded by the side of the road, and we don't want our software to puke its guts out all over our screen every time we look at it sideways.

Coding quality gets a lot of attention from QA departments who want to automate them away, and from development departments who want to unit-test them away.  Coding quality improves when teams work together, and when individuals learn the craft of software development (hint: pick up a copy of Steve McConnell's Code Complete).

But coding quality isn't the end of software quality.

Design quality is perceptible in the layouts of screens and the ease with which new users find themselves around for the first time.  It's like the bank vault car doors.

What is platform quality?

Platforms show their usability in all these ways, but there are other aspects of platform quality that are more subtle.  I've been working pretty extensively with two different platforms over the last several months, and I am struck every day with the difference in "feel" I get from these two platforms.drupal_logo_sm

Drupal is a Content Management System (CMS).  It's the software that powers  this blog, and I've also deployed it into a couple other environments.  I have worked with other LAMP-based CMS systems (PHP-Nuke, PostNuke), and I have no problem putting Drupal on a pedestal above those other platforms.  Drupal does enough things so very, very well that I've begun to think of it as a general-purpose web platform rather than just a CMS.

I like it a *lot*.

SugarCRM_logo SugarCRM is a Customer Relationship Management System (CRM / CRMS).  It's a Salesforce.com competitor, and it's available in open source (Community) and two paid versions (Pro and Enterprise).  Even though I'm going to pick on some aspects of SugarCRM, I have to begin by saying that I really admire what they've done.  The value to be had here by customers relative to the commercial alternatives is impressive.

But where Drupal inspires confidence to look for new places to use it, SugarCRM makes me want to stay in its comfort zone.  I'm pretty sure SugarCRM is going to do well at the things it does natively, but extending it hurts.  Salesforce.com is actively working to transform their CRM platform into a general-purpose web platform, but SugarCRM isn't ready for that yet.

Even though these are two completely different applications, they are similar in the sense that in most implementations, the "stock" product isn't quite right for the job.  That's clearly true for Drupal, where you are very likely to customize the UI and add modules to get the right mix of functionality for your site.

SugarCRM is more likely to have most of what you need out of the box, which is a testament not only to the complex nature of the CRM space, but also to the high level of functionality in the box.  It's probably also fair to point out that the business processes and data relationships in CRM are more complex than for CMS, but for now, I'm going to ask to have my cake and eat it, too.

I'm going to compare these two platforms in a number of areas, pointing out the ways that each of them build up or tear down my confidence in the platform, and where applicable, showing where an idea from one would work really well in the other.

(stay tuned for more on this in future posts)

Rendezvous with Rama bot built

Ok, did anyone else ever read Arthur C. Clarke's sci-fi novel, Rendezvous with Rama?  The connection here is a little thin, but I had a distinctive flashback when I saw it.  In Clarke's story, astronauts land on a visiting spaceship, initially thought to be dead, but which later turned out to be the home of all sorts of robots. 

Everything on Rama reflects a theme of "three", including one type of robot that Clarke describes in great detail.  This spider-robot is said to look like a three-legged daddy longlegs, and the way it moved sounded pretty far-fetched, at least until I saw this robot from Virginia Tech.  I'm sure this won't turn out to be the most practical form of locomotion, but it's a wonderful example of thinking outside the box.  (read more about it on Engadget)

GroundWork Open Source network management

In my earlier post about Open Source Customer Service, I mentioned GroundWork Open Source.  I found these guys while searching for a Nagios VMWare appliance image.  GroundWork has taken Nagios and wrapped it and extended it to add functionality and to make setup and administration a ton easier.

If you're worried about how to get started with GroundWork, their download area has options to install it yourself, boot an ISO "Live" image, or run it as a VMWare or Virtual PC VM image.  You should be able to find at least two good ways to get up and running in a hurry.  Documentation is good, and as a bonus, I received a number of emails with sincere offers to help if I needed anything.  I didn't feel like I was being ambushed by used-car salesmen, though (you've probably experienced that from some vendors).

Like other mixed-source vendors (ex: SugarCRM), GroundWork has a free Open Source option as well as paid options.  I worked with the Open Source product, which has been plenty-powerful for me.  Paid products add features and support.  GroundWork just announced GroundWork Connect, a support portal for paid customers.

I haven't been able to spend the time required to really explore all facets of this framework, and despite the excellent documentation and support, it'll take time to really get the most out of a system like this.  Although you can view a network monitoring solution as an application, it really bears a lot of resemblance to a programming environment in the way you organize your work, collect bits of logic into modules, and coordinate the operation of those modules.

At the simplest level, this system will tell you what machines are up and which are down, but there are lots of systems that will tell you that much.  Things start getting interesting when you begin to factor in which applications reside on which machines, which machines depend on which other machines, which applications depend on which other applications, and so on.  There are some really powerful possibilities here for someone who takes advantage of them.

Personally, I'd like to look at incorporating some response-time / QOS metrics in at least one scenario.  I have a feeling that using GroundWork to collect some real information would allow me to produce some pretty compelling pictures about what's happening to application-level quality under different loads.

The only thing I've seen so far that you may want to look into before diving in is hardware requirements.  Depending on the size of your organization and the amount of sampling you're going to do, hardware requirements can start to creep into the range of a "real nice machine" -- a powerful CPU and multi-Gig RAM setup is described for large-scale monitoring.  I expect that most organizations will get by with lots less horsepower, but check this out when you evaluate.

Hopefully, I'll be able to share some more input on GroundWork after I put a few more miles behind me.  I've seen a lot to like so far.

Apatar data migration framework

As I mentioned in my last post, I've run across a couple of open source projects that have really jumped out of the pack with their attention to customer service.  This first of these is Apatar.  I found these guys as I was searching for a way to get data from a Salesforce.com system migrated to SugarCRM

Anyone who's ever done data migration for a project knows how quickly this task can suck the life out of a schedule.  Apatar's product looked to be just what I needed: an open data migration framework with end-point plug-ins for all sorts of systems, including my "from" and "to" systems, so I gave it a try. 

apatar_sm

Their product is a Java-based canvas that hosts migration steps, where the steps perform any number of functions, including mapping between two data sources.  Using the pre-built connectors for SalesForce and Sugar (both using these products' SOAP interfaces), I was able to wire up a test migration harness very quickly.

I really liked the fact that I'd be able to construct a migration job that I could run again and again, and I loved the availability of all the plug-ins.  The company is a mixed-model organization - Apatar is available in open source and "Enterprise" variants.  As with other companies in this model (SugarCRM comes to mind), it is important to gauge the vitality of the open source community if you're interested in that variant.  In Apatar's case, they've got a really nice developer portal (good), but the featured content is anywhere from a couple weeks to several months old (not great).  If you're interested in Apatar, I would definitely suggest testing the response time and accuracy of the community support before betting the farm on it.

It turns out I wasn't able to use Apatar for my project -- partly due to problems in my infrastructure.  The production SalesForce system I was migrating from didn't have the SOAP API enabled, which really eliminated Apatar as a migration tool.  I tried using Apatar to read a CSV file and upload to Sugar, but I ran into problems there, as well.  To be fair to Apatar, I've used the Sugar SOAP API separately, and it is pretty touchy.  When it encounters a problem, it throws exceptions first and asks questions later. 

Error handling is one area where Apatar could use some improvement, though.  Instead of just aborting the whole job or logging the fact that x-thousand records had errors, it would be nice if Apatar would log the problem in a form that lets me go back and examine the input and output rows.  After all, if more than 5-10% of my records are failing, there's probably something in my mapping I'm going to have to fix, and that's going to be a whole lot easier if I can see what was coming in and what was going out.  For bonus points, give me an interactive debugger to let me look at the data values.

Early in my evaluation, I got an email from Apatar asking if I needed any help, and another asking for my feedback.  When I got to the point where I was able to give some constructive comments, I got in touch with them and exchanged emails with one of their techs.  There was really nothing to be done about my #1 problem (no access to SalesForce's SOAP API), but I offered my feedback about error handling, and it was well-received.

I'll definitely keep Apatar on my radar to see if they continue to grow and improve.  They've got the potential to be a great tool to have in the chest.

Open Source Customer Service

A while back, I replied to a post on a Joel-on-Software forum about how to compete with an open source competitor.  In my reply, I suggested that the author look at usability and customer service, as these are often two weak links in open source projects.

Since then, I'm happy to say that I've come across a couple of organizations that have proven me wrong.  Both of these organizations "get" what it means to be a software product.  They understand that there's a lot of work to be done once the software is written.  The thing that really caught my attention about both of these organizations, though, is that they both reached out and contacted me personally to see if I needed help.

What a breath of fresh air.

How many times have you had a software vendor contact you in this way - regardless of the price of the software?  This little touch does a lot to reassure the person on the other end that there's help available if they need it.  It's an easy way to start a relationship off on the right foot.

Watch for a couple of mini-reviews about Apatar and GroundWork Open Source - both are great examples of proactive customer service.