Author Archives: Jennifer Phillips Campbell

About Jennifer Phillips Campbell

Software Developer and Medieval Historian

Google Maps API Key Issue

Last weekend I was perplexed to find that Google Maps had apparently broken, but only when running my site locally – the production site seemed unaffected. The map would load and then after a couple of seconds it would be … Continue reading

Posted in JavaScript | Leave a comment

Notes on deploying a MongoDB-backed Express app to Heroku

Reference: Getting Started with Node.js on Heroku Preparing your application for deployment Use the configured port Reference: Gotchas for Node JS apps on Heroku Make sure it listens on the port defined in process.env.PORT. If it’s set to listen on … Continue reading

Posted in Node.js, Version Control | Leave a comment

Syntax Highlighting For Code Examples in Web Pages

The google-code-prettify project makes it possible to apply syntax highlighting to code examples in web pages. These notes are based on the Getting Started guide and README. Include the run_prettify.js script in your page. Put your code example inside one … Continue reading

Posted in Uncategorized | Leave a comment

Windows Command Line Reminders

dir /s/b *.mp3 – recursively list files with the specified extension > foo.txt – redirect output to specified file chdir – get full path to current directory %~nxf – gives filename.extension (How to get filename only without path in windows … Continue reading

Posted in Uncategorized | Leave a comment

A Couple of Useful CSS Transforms

Using Rotation to Create Vertical Headers You can use rotate(-90deg) (or DXImageTransform.Microsoft.BasicImage(rotation=3) for IE) to rotate a element to make it vertical. Sideways Headers Text Rotation Note: for browser support for transforms please see CSS3 Transforms. For information on applying … Continue reading

Posted in Web Design | Leave a comment

FoWA London 2014 Notes: Zach Holman on Move Fast and Break Nothing

Notes from Zach Holman, Move Fast and Break Nothing, 1 October 2014 Speaker Slides Not breaking things Mark Zuckerberg has moved away from ‘move fast and break things’ Moving fast = better product because you see what works and it … Continue reading

Posted in Future of Web Apps | Leave a comment

FoWA London 2014 Notes: Rob Dudley on Front-End Automation Tools

Notes from Rob Dudley, Rocket-Powered Ramp Up with Front-end Automation Tools, 1 October 2014 Speaker Slides Pre-requisites: node.js and npm Bower Front-end package manager (getting contained consistent copies – technically app store is a package manager) Has search command, also … Continue reading

Posted in Future of Web Apps | Leave a comment

FoWA London 2014 Notes: James Turner on How to Build Front-End Web Apps that Scale

Notes from James, How to Build Front-end Web Apps that Scale, 1 October 2014 What’s a large-scale JS app? Quote from Addy Osmani, Patterns for Large-Scale JavaScript Application Architecture Large amounts of code Complexity e.g. GMail – Large SPA, complex … Continue reading

Posted in Future of Web Apps | Leave a comment

FoWA London 2014 Notes: Camille Baldock on Telling Stories with APIs

Notes from Camille Baldock, Telling Stories with APIs, 1 October 2014 Speaker Slides Kindle API is based on book – book, chapters, pages (nested resources) “What is the user need?” User need 1: child reading cares about events and characters … Continue reading

Posted in Uncategorized | Leave a comment

FoWA London 2014 Notes: Kirsten Hunter on Irresistible APIs

Notes from Kirsten Hunter, Designing Irresistible APIs, 30 September 2014 Speaker Slides API should be a first-class product; without API you get code duplication. Etsy did API first. Why have an API Mobile/market penetration – good reason to have API, … Continue reading

Posted in Future of Web Apps | Leave a comment