Nonlinear Photonic Engineering: Physics and Applications