Bragg grating technology