Unobtrusive Client Validation in ASP.NET MVC using AngularJS

June 28, 2016 by Christoff Truter

When Microsoft released ASP.NET MVC 3 around October 2010, they introduced a feature called "unobtrusive client validation" into their codebase using jQuery. In this post we’re going to focus on making unobtrusive validation work without jQuery using Angular

C#   JavaScript   ASP.NET   Angular   MVC  

How to survive on R753 a month

June 14, 2016 by Christoff Truter

Minister of Social Development, Bathabile Dlamini recently stated that South Africans should be able to live on R753 (about $50 at the current rand dollar exchange rate) per month. Now surely our esteemed minister cannot be wrong?

South Africa  

PHP Syntax Changes 5.3.x - 7.0.x

June 8, 2016 by Christoff Truter

Originally I was planning to do a little write-up about the latest syntax introduced into PHP 7.0.x, but then I noticed quite a significant number of syntax changes leading up to this version, many of which I was unaware of since I last used PHP in version 5.3.x.

PHP  

Strongly Typed PHP - Revisited

May 22, 2016 by Christoff Truter

Almost a decade ago I wrote a post about strongly typed PHP, in which I proposed a very crude workaround, essentially faking strong typing using magic methods. The post was met with a lot of mixed reactions, but received quite a lot of visitors over the years (definitely some interest in the subject).

PHP  

MVC (Model-View-Controller)

May 17, 2016 by Christoff Truter - 1 Comment

Originally titled Thing-Model-View-Editor and a few months later recoined as Models-Views-Controllers by its creator Trygve Reenskaug around 1978/1979 applied to the SmallTalk, it its hardly a new pattern, but evolved (perhaps more accurately was raped and bastardized in the opinion of some), quite a bit over the decades.

Architecture   MVC