To me, usability methods seem like sandpaper. If you are making a chair, the sandpaper can make it smoother. If you are making a table, the sandpaper can also make it smoother. But no amount of sanding can turn a table into a chair. Yet I see thousands of well-intentioned people diligently sanding away at their tables with usability methods, trying to make chairs.

7 reasons why TypeScript helps you kick ass

TypeScript lets you write JavaScript the way you really want to. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. Any browser. Any host. Any OS. Open Source.

You can now count me as one of the many JavaScript developers who thinks TypeScript is kick-ass. Now, I don’t want to say that I’m old-school, but if you measure by Internet time, I’m pretty old. That means I grew up shoving JavaScript into onclick attributes years before jQuery was even a thing. It also means that lately, I’ve been feeling a lot like a toddler who just got tossed in the twelve-foot end of a swimming pool and told to swim. I’ve been paddling my ass off to keep up with the all the newfangled ways that front-end development is done. Seems like there’s been a whole-scale revolution darn-near overnight – what with all the Node.js, CSS preprocessors, task runners like Gulp and all. But recently, I took a deep dive into TypeScript and I gotta say – it’s a breath of fresh air. I feel like someone just threw me a floaty.

TypeScript adds to everything that JavaScript can already do while giving you a whole new set of features that can really improve the way you work. I’ll explain why in a second, but before you go crying about yet another technology to learn, let me ease your mind. You see, TypeScript is a superset of JavaScript, which means it literally sits right on top JavaScript and, as a result you can take any existing JavaScript code and shove it in a TypeScript file (a file with a .ts extension). Assuming you weren’t drunk when you wrote the code, it’ll work. Once you get the tools in place to compile TypeScript into JavaScript, you can start writing the kind of JavaScript you’re already familiar with in TypeScript files. Then, at your own leisure, you can start learning some of the benefits of TypeScript and start sweetening your code as you go.

I’ll introduce you to seven of the key benefits now so you can know why you might go with TypeScript and where it might lead you.

Host your own Google web fonts


The quick and easy way to host a Google Web Font is to link to Google’s hosted stylesheet for the font like this:

<link href=',latin-ext' rel='stylesheet' type='text/css'>

But if you want to host the font yourself, it’s a bit trickier. You can’t just download the fonts specified in the stylesheet because Google dynamically generates the stylesheet for your client browser. To ensure the right font type for the right browser, you’ll want to download all of the types available for the given font.

This link to the google-webfonts-helper provides “a hazzle-free way to self-host Google Fonts”. Check it out!

Linked Data – a thing worth doing

Perhaps more important than the standards and technologies behind linked data is the very idea of linked data itself – the fundamental concept. As Tim Berners-Lee put it,

“The Semantic Web isn’t just about putting data on the web. It is about making links, so that a person or machine can explore the web of data. With linked data, when you have some of it, you can find other, related, data.”


IBM Cloud Webinars

If you’re interested in IBM cloud offerings, a good source of information are the IBM Cloud Webinars. Register to attend an upcoming webinar or pick a recorded webinar from the archive. Topics include:

  • Getting Started on IBM Bluemix
  • Docker Containers
  • Web Applications
  • Internet of Things
  • Big Data & Analytics
  • Watson on Bluemix
  • API Management
  • and more…

New Web Developer Toolkit for IBM Digital Experience

With the new Web Developer Toolkit for IBM Digital Experience you can automatically download all the components and presentation templates in a WCM library where you can access them quickly and easily in your favorite editor. You can also push updated files back onto the server with the click of a button or even watch for changes and have them pushed back to the server automatically. The tool also offer features for syncing theme and script portlet files.

We tried the tool today on a couple of WCM libraries and seems to work pretty great.

Web Developer Toolkit for IBM Digital Experience

The following slide deck provides more information:

Web Developer Toolkit for IBM DX Overview Slides

You can download it from GitHub here:

Download Web Developer Toolkit for IBM Digital Experience.

This toolkit is available as unsupported open source. IBM expects to enhance and expand this toolkit over the next months with additional features. You can use the Digital Experience Forum for any questions about the toolkit, and you can use the GitHub project “Issues” area to report any problems you encounter.

Better error messages from Gulp using gulp-util

Gulp is a streaming build system that can help automate and enhance your workflow. For example, at Base22, in one of our composite tasks, we use Gulp to create a directory structure, compile Less into standard CSS, copy static dependencies, minify JavaScript, compress images, run a simple HTTP server, and then watch for subsequent changes to files while we’re working. Gulp is easy to install, easy to learn, easy to configure, and I love it. But when it happens to bomb on a problem, it doesn’t always log information that you can actually make sense of. Luckily, there’s a Gulp plugin that can help you coax more troubleshooting info out of these errors.

The Awesome Power of the Link in Linked Data

Hyperlinks are dumb. Literally dumb. They link one document to another – one little piece of text to another, but they don’t know how. They don’t know why. They don’t know diddly squat. The only real sense that search engines can make of their incoherent connections is that one page is more popular than another, probably, maybe. They’re dumb, first of all, because while they can relate two pieces of media on the Web, they don’t describe the nature of that relationship. At least – not in any way that computers can understand, which means therefore that we humans have to sort through the mess and – aint nobody got time for that. Second, they’re dumb because the only thing they know how to connect is media. They can link a page to a page or a page to a file, but they can’t link any real-world thing to any other real-world thing. They tell us all about the structure of websites, sure, but they don’t tell us anything meaningful about the real world. The link in Linked Data, however, changes all of that.

Blog post wish list

I wanted to start a page for managing the never-ending list of topics I wish I had the time to study and write about – things I might actually tackle someday. So, here it is (for starters anyway).

Candidate Topics

What about you? Is there something on the list you’d vote for? Something not on the list that you think I should add? What’s piqued your interest lately that you haven’t yet found the time to get your head around?

Leave your thoughts in a comment on this page. I’ll edit and prioritize the list according to feedback.