Christopher Pryce

Web Developer

RSS Feed

Main menu

Skip to content
  • subscribe
Web Development

What is an API?

by Christopher Pryce • August 26, 2016 • 0 Comments

And Why Should I Care? In its simplest terms, and API allows one program to include the functionality from another program without importing the code from the second program. Let’s Consult an Expert Q: Hey Siri! What is an API?…

Read more →

JavaScript, Node.js, Web Development

More on TDD

by Christopher Pryce • November 29, 2014 • 0 Comments

Tutorial 2: Linked List This is the second tutorial in a series dealing with Test Driven Development (TDD) in JavaScript using Mocha and Chai. In this tutorial, we will expand on the use of Chai and the concept of Test-Driven…

Read more →

JavaScript, Node.js, Web Development

Test Driven Development in JavaScript with Mocha and Chai

by Christopher Pryce • November 28, 2014 • 0 Comments

What is this TDD We Keep Hearing About? A test-first software development process. TDD is characterized by a Red-Green-Refactor workflow. Red: a developer writes an initially failing automated test case that defines a new function or a new feature. Green:…

Read more →

JavaScript, Web Development

Testing a Widget

by Christopher Pryce • April 1, 2013 • 0 Comments

Read more →

JavaScript, Web Development

AMD JSONP Loader Module

by Christopher Pryce • March 21, 2013 • 0 Comments

Needed an AMD module for JSONP loading of scripts. The criteria, it had to be safe-ish, had to use promises conform to CommonJS Promises/A, specifically support Q, and work — gasp — without jQuery. I started with this article from…

Read more →

JavaScript, Web Development

Duff’s Device in JavaScript

by Christopher Pryce • September 26, 2012 • 0 Comments

We’re going to be discussing efficient JavaScript in some upcoming training sessions, and I wanted to get this code snippet out for discussion. Commonly, developers will process an array of values, calling some pre-defined function with this idion: var i=values.length;…

Read more →

Page 1 of 4
1 2 3 4 »

Recent Posts

  • What is an API?
  • More on TDD
  • Test Driven Development in JavaScript with Mocha and Chai
  • Testing a Widget
  • AMD JSONP Loader Module

Archives

  • August 2016 (1)
  • November 2014 (2)
  • April 2013 (1)
  • March 2013 (1)
  • September 2012 (1)
  • April 2012 (2)
  • March 2012 (1)
  • February 2012 (5)
  • January 2012 (6)
  • December 2011 (1)

Categories

  • Node.js (2)
  • Web Development (21)
    • HTML 5 (4)
    • JavaScript (13)
    • JavaScript Style (1)

Copyright © 2023 Christopher Pryce. All Rights Reserved. The Magazine Basic Theme by bavotasan.com.