This paper reviews recent work on the design, experimental implementation, and application of two fundamental all-optical analog signal processing functionalities, namely, photonic temporal differentiation and photonic temporal integration, using customized grating devices directly written in optical fibers.