Text this: Nanophotonic Devices for Linear and Nonlinear Optical Signal Processing