Text this: Spintronic effects and devices in nonlinear optics