Blog Archive

Posts by David Murphy

  1. How to Add a Custom Action to the Grid When Using bootstrapTable

    David Murphy

    Say you’re a web applications developer. Say you have a requirement for a grid. Say you’ve decided, like so many others, that you are not an idiot and have therefore chosen to use the “bootstrapTable” package instead of committing slow painful suicide by trying to code it all yourself. Good move! But there are of…

    Read more »
  2. Using MVC to Avoid Magic Numbers in Your JavaScript

    David Murphy

    Hard-coding “magic numbers” in your code has always been a problem for several reasons: they’re not meaningful, they’re difficult to search for reliably, and the chance of using the wrong value is unacceptably high. The first improvement was preprocessor macros in C:

    Read more »