Shared State

Jeff McGee's Blog of Messages Worth Passing


  • Sharing Models Between Node and the Browser

    Posted on Fri 03 May 2013 in General

    Imagine you're building a web app in Django, and you want the user to enter a number between 1 and 100 on a web form. Where do you put the code to check that the number is between 1 and 100? If you want a slick user interface, you have …

  • Picking MVC Frameworks in Javascript

    Posted on Thu 02 May 2013 in General

    Lately, I've been looking into using Javascript for both client and server-side web development. Starting a project in Node.js today feels a lot like reading a Choose-Your-Own-Adventure book—every few minutes you have to choose between a few options, and it's not obvious which one is the optimal. Javascript …

  • The History of One Line in Underscore.js

    Posted on Sat 23 March 2013 in General

    Programmers often read through code one function at a time or trace through a program following the path of execution. Today, I'm going to look at a program in a different way: I'm going to look at how one line changed over time. The line I'm going to look at …

  • Using Git and Unittesting in a CS Course

    Posted on Sat 15 December 2012 in General

    I was the TA for Texas A&M's Information Retrieval class in 2012. We took some interesting directions with the homework assignments, so I'd like to spend some time talking about the experience for the benefit of other educators. The professor, Dr. Caverlee wanted to change the existing set of …

my photo

Jeff McGee — builder, problem solver, teacher, and general nerd.

jeffamcgee AT gmail