Leaflet Zip Code Map Part 1

This is the first part of a two part series about how to set up leaflet maps to show zipcode areas with some extra data coming along for the ride allowing us to color the zip code areas based on demographics or any other reporting data. I did this using an ASP.NET MVC site and Web API with a Sql Server database. A database is required for this approach but there’s nothing stopping you from reimplementing this in your backend architecture of choice.… Read more »

Bucking the Naming Trend

Posted on

There are only two hard things in Computer Science: cache invalidation and naming things. – Phil Karlton I’m sure many of you have heard this quote before but I want to explore one reason why it’s so true: consistency. Programmers are creatures of habit, ritual and maybe sacrifice sometimes too. It’s impossible for a good programmer to see a list of variables/tables/functions/whatevers like this: calculate_death_star_trajectory close_exhaust_port get_cup_of_tea and then add to the list… Read more »


Posted on

Inifiniscroll is great. When used properly of course. Google images is the poster child for this and it works so great because they basically have infinite images. The pattern breaks down when it’s forced into places where you have less than infinite content. Much less than infinite content. I’ve seen a few examples around the web where content is just continuously loaded even if it’s not new content. Take for example the ghost theme repository:… Read more »