Revisiting the Bragg reflector to illustrate modern developments in optics