Rob Bell

A Beginner’s Guide to Big O Notation

Big O notation is used in Computer Science to describe the performance or complexity of an algorithm. Big O specifically describes the worst-case scenario, and can be used to describe the execution time required or the space used (e.g. in memory or on disk) by an algorithm. Continue reading…

Server-Side ValidationGroup Switching

Often when validating a page in ASP.NET there’s the need to switch between ValidationGroups. A good example is a shopping cart where the user can choose to have products delivered to the account address or enter an alternative address, all within one page submission. If the user chooses to use an alternative address we need to validate that the required fields for the new address have been completed; if they decide to use their existing address then we need to validate that instead. Continue reading…

Bookmarks

Bookmarks is a quick and simple web bookmarking application developed in PHP. Bookmarks are organised by tags, and there is a simple search facility which searches on both tags and bookmark titles. Continue reading…

Rob-O-Tronic

Rob-O-Tronic is an isometric puzzle game written in C++. It was built using the Simple DirectMedia Layer (SDL) graphics library and developed as part of the dissertation for my degree. Continue reading…

Handling clicks outside a specified area in jQuery

Recently I’ve needed to handle clicks in jQuery which occur anywhere inside a page but outside a specified area. I’ve been working on a drop down list control which contains a list of checkboxes. The list of checkboxes is shown and hidden by clicking the preceding h4 title, mimicing the functionality of an ordinary drop down list. I wanted to extend this functionality to hide the list when the user clicked anywhere outside the containing div. Continue reading…