Pātuhitia tēnei: Theoretical Foundations and Application of Photonic Crystals