Problem Solving with HTML5 Audio

Several years ago I worked on a project to take recordings made of William Faulkner while he was the Writer-in-Residence at the University of Virginia in 1957 and 1958. The project, Faulkner at Virginia, transcribed the audio and then keyed the main components of the audio to the text using TEI. In order to provide…. Continue reading “Problem Solving with HTML5 Audio”.

Restarting Marionette applications

[Cross-posted from dclure.org] Over the course of the last couple months, I’ve been using Derick Bailey’s superb Marionette framework for Backbone.js to build the new version of Neatline. Marionette sits somewhere in the hazy zone between a library and a framework – it’s really a collection of architectural components for large front-end applications that can…. Continue reading “Restarting Marionette applications”.

SVG-to-WKT: Converting vector graphics into spatial coordinates

[Cross-posted with dclure.org] Last week, I wrote about the some of the new functionality in Neatline that makes it possible to take SVG documents created in vector-editing programs like Adobe Illustrator and drag them out as spatial geometry on the map. Under the hood, this involves converting the raw SVG markup – which encodes geometry…. Continue reading “SVG-to-WKT: Converting vector graphics into spatial coordinates”.

Data visualizations: Learning d3.js

[cross-posted at katinarogers.com] The SCI study on humanities graduate programs and career preparation is humming along, and while survey responses come in, I’ve been working on determining how best to translate the data into meaningful graphics. After a lot of experimenting, I think the winner is d3.js. Short for for Data-Driven Documents, D3 is Michael…. Continue reading “Data visualizations: Learning d3.js”.

The Last Days of Development: Jasmine, Devise, and Visualization Tweaks!

We’re getting close to deploying, so we’re making all the necessary tweaks to having Prism ready to go! For this past week, that meant writing Jasmine tests, creating error messages for Devise, and tweaking the functionality of the visualization page. Jasmine is a BDD framework for testing javascript.  It basically does for javascript what RSpec does…. Continue reading “The Last Days of Development: Jasmine, Devise, and Visualization Tweaks!”.

Teaching CoffeeScript

As the Prism project has progressed, one of the technologies we kept pushing off teaching was JavaScript. We knew this is one of the core languages that they would need to learn to actually work with the browser, but kept trying to determine the best way to actually introduce JavaScript in a way that would…. Continue reading “Teaching CoffeeScript”.

Generating HTML fixtures using Zend, Omeka, PHPUnit, and Jasmine

One of the reasons that testing JavaScript can be so pesky (and perhaps one of the reasons that so little JavaScript is tested…) is the fact that you have to maintain a library of HTML “fixtures” for the tests to run on. What’s a fixture? Basically, just a little chunk of markup that provides a…. Continue reading “Generating HTML fixtures using Zend, Omeka, PHPUnit, and Jasmine”.

DH Dev Picks

Part of mission here at the Scholars’ Lab is provide guidance for folks working on digital projects. As such, I do my best to keep up with trends in software development. For a while I’ve just been adding these to my delicious account to make it a bit easier to find references later. However, recent…. Continue reading “DH Dev Picks”.

Archives