Nov
10
2015
This is Part 4 is my series on using Gulp with Visual Studio. So far we've covered setting up Visual Studio for use with Gulp, processing SASS, and getting the files ready for deployment.
Part 1: Setting up Gulp with Visual Studio
Part 2: Getting SASSy
Part 3: Deployment: minification and concatenation
Part 4: Code quality: tests and linting
Part 5: Thoughts on Gulp
In...
May
27
2015
A while ago (at NDC London) I attented a two day course on Angular by the great K. Scott Allen, who spoke about using the ngMessages directive to provide re-usable validation on forms.
While ngMessages is good, there is no way of providing detail on validation failures. For example, if a text input has to be at least 5...
May
27
2015
I’ve just spent a fun hour wondering why two seemingly identical queries were returning different data. It turned out to be an issue with DATETIME in SQL Server.
SQL interprets a DATETIME of the format “yyyymmdd” differently to “yyyy/mm/dd” or “yyyy-mm-dd”. The former is "unseperated" while the latter is "seperated", and the "seperated" format depends on the current language and...