Javascript Friendly Date and Time

I recently had a requirement in javascript to translate a date and time into something more friendly, so that for example 10th January 2014 10:45 becomes “Yesterday 10:45″, or 12:15 today becomes “2 hours ago”. After scanning the various solutions I could find, I came up with the following: < 5 minutes: now < 1…

Another book: ASP.NET jQuery Cookbook

I’ve been reviewing another book! This one covers many aspects of using jQuery within ASP.NET in a WebForms based environment. If you are new to the combination of jQuery and WebForms (aspx) then I thoroughly recommend this as a great introduction. It includes the following: Tips and tricks for interfacing the jQuery library with ASP.NET…

ASP.NET MVC 2 Cookbook

Over the past year or so, I have had the pleasure to technically review this book, chapter by chapter and revision by revision.  The final result is an extremely useful collection of ‘recipes’ that will add extra functionality in most MVC applications and help you to understand some of the key concepts. For more details,…

Principles of Agile Development

Since taking down the old Clicktricity website, I have had a number of requests to re-publish the agile principles. Agile Development Core Values The two most important core values of Agile Development are Communication and Simplicity. Communication It is recognised that poor communication in software teams is one of the root causes of failures within…

Clicktricity 5D Methodology

Since taking down the old Clicktricity website, I have had a number of requests to re-publish my 5D development methodology and the agile principals. Clicktricity 5D Clicktricity 5D is an agile application development methodology that drives delivery of cost-effective, repeatable, quality solutions in an adaptable framework that suits software development and application implementations for both…

Populating common view model attributes

In many ASP.Net MVC based applications, we often find ourselves needing to include the same information in every page.  Such information typically includes details of the current user, maybe environmental values and running totals like the number of items in a shopping basket. In order to ensure these values are always available in views, base…