In near-field optics and optical tunnelling theory, photon wave mechanics, i.e. the first-quantized theory of photons, allows us to address the spatial field localization problem in a flexible manner which links smoothly to classical electromagnetics