Recent Posts

  • Using Java's Reflection API to Invoke Private Methods
  • How to properly Unit Test your code without changing the design
  • Feb. 9, 2015, 3:10 p.m.
  • In order to properly create software we need to write Unit Tests. Most of the time this is pretty straight forward, however, occasionally our software contains private methods that need to be tested. You may try to get around this by just testing the public methods that call these private me...

  • Continue reading
  • Finding the Simplest Possible Solution
  • Never stop thinking to write the cleanest possible code
  • Nov. 26, 2014, 6 a.m.
  • When tasked with creating a new feature we normally instantly start thinking of possible ways to implement it. Generally, we can quickly come up with some sort of an idea that we believe will suffice, and begin to implement our feature. We get right to work and our ideas start coming to life...

  • Continue reading
  • Dynamically bindable click events
  • Using JQuery to bind events to elements that do not exist on page load
  • Nov. 9, 2014, 12:39 p.m.
  • When building a dynamically AJAX driven web app it is occasionally necessary to bind an event, such as a click, to an element that does not exist in the DOM on page load. Imagine that an AJAX call is made for a newly added object and a button is added to the HTML:

  • Migration and Consolidation
  • Moving legacy PHP sites from Bluehost to WebFaction
  • July 17, 2014, 6:34 a.m.
  • When I originally created stggolf I had only known how to write HTML and CSS for about 3 months, and I only knew of one hosting provider: Bluehost. Bluehost was perfectly fine and suited my needs well, but I have since moved from PHP to Django/Python as my pref...

  • Continue reading

Categories