Obviously, this is a long exposure that was taken while James was driving around at night. For this particular series of photographs, James attached his camera to the car with a mount made by Arri. The name Arri might not be familiar to many still photographers, but they have been a huge manufacturer of motion picture film equipment since the beginning of the 20th century. In fact, the ArriFlex is to the motion picture industry, as the name Leica is to still photography.
But, back to James... It may sound crazy to trust your camera to a bunch of suction cups, but this technique is common with very expensive video and movie film cameras. You can see more of James' work on his personal website, as well as his Flickr! homepage.
Also, don't confuse James' website ("nightphographer.co.uk") with Canadian photographer Larrie Thomson's website ("nightphotographer.com"). They're two different people, on different sides of the Atlantic Ocean.