A method for obtaining transient Bragg gratings in optical waveguides and several different applications of the transient Bragg gratings obtained using this method are presented. The basic mechanisms for obtaining the transient gratings in the waveguides are refractive index change due to Kerr nonlinearity, free carrier generation, and gratings formed by linear or non-linear absorption of thermal energy. The exemplary applications include an ultra-fast fiber laser source at any central wavelength, a fast spectral switch/modulator, transient pulse stretchers based on transient chirped gratings, Q-switching based on transient gratings, and time reversal of ultra-short pulses and low power sub-nanosecond pulse generations.