Java, Programming, PHP, SQL, HTML
Popular Java Method Invocation Names
Submitted by James on Mon, 07/04/2011 - 15:19- James's blog
- Add new comment
- Read more
- 700 reads
Simple PHP Shopping Cart Tutorial
This is a very simple shopping cart that stores the product ids in an associative array. The keys are the product id and the values are the quantity of that particular product.
To store information between pages we can use the $_SESSION superglobal variable, by using an element of the array like this: $_SESSION['cart'] - this is where our cart will be stored.
- 25 comments
- Read more
- 48194 reads
Wrestling with Drupal Breadcrumbs
Submitted by James on Thu, 07/15/2010 - 00:45Since I first installed Drupal I've had issues with the menu system and breadcrumb trails. Out of the box they don't do what I'd expect them to do.
For those who don't know what a breadcrumb trail is: look above this post - it's the links that show you the path from the home page to the current page (it should say "Home > Blog > Wrestling with Drupal Breadcrumbs"). They allow you to move back to the parent pages of the current page easily.
- James's blog
- 2 comments
- Read more
- 2490 reads
Static Source Code Analysis Tools and their Application to the Detection of Plagiarism in Java Programs
This project develops a system for detecting plagiarism in sets of student assignments written in Java. Plagiarism is viewed as a form of code obfuscation where students deliberately perform semantics preserving transformations of an original working version to pass it of as their own. In order to detect such obfuscations we assume we have a set of programs in which we attempt to find transformations that have been applied. We investigate tools for static analysis and transformation of Java programs to build a system for plagiarism detection.
- Add new comment
- 1941 reads
Artificial Ants: Simulating Ant Behaviour and Investigating Applications In Computing
Ants are excellent route finders, with the ability to find the shortest path between their nest and a food source, by using pheromone trail clues to organize themselves collectively. By applying behaviour observed in ant colonies to the field of computing, these ant-based techniques can provide a base for network routing algorithms, as well as algorithms to solve graph problems such as the travelling salesman problem.
- Add new comment
- Read more
- 3201 reads
Data Mining with PHP
I took a data mining course during my third year - here's an implementation of the (k-)nearest neighbour algorithm in PHP.
- Add new comment
- 2314 reads
LZW Algorithm in PHP
During my third year at Goldsmiths I studied data compression. Here's my implementation of LZW in PHP.
- Add new comment
- 1992 reads

